1 // vim: set ts=4 sts=4 sw=4 et:
2 /* This file is part of the KDE project
3 Copyright (C) 2000 David Faure <faure@kde.org>
4 Copyright (C) 2002-2003 Alexander Kellett <lypanov@kde.org>
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License as
8 published by the Free Software Foundation; either version 2 of
9 the License, or (at your option) version 3.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>
20 #ifndef __bookmarkinfo_h
21 #define __bookmarkinfo_h
23 #include <kbookmark.h>
24 #include <QtGui/QWidget>
26 class BookmarkListView
;
33 class BookmarkInfoWidget
: public QWidget
{
36 explicit BookmarkInfoWidget(BookmarkListView
* lv
, QWidget
* = 0);
38 KBookmark
bookmark() { return m_bk
; }
39 void updateStatus(); //FIXME where was this called?
42 void slotTextChangedURL(const QString
&);
43 void slotTextChangedTitle(const QString
&);
44 void slotTextChangedComment(const QString
&);
54 void showBookmark(const KBookmark
&bk
);
55 EditCommand
* titlecmd
, * urlcmd
, * commentcmd
;
57 KLineEdit
*m_title_le
, *m_url_le
,
59 KLineEdit
*m_visitdate_le
, *m_credate_le
,
62 BookmarkListView
* mBookmarkListView
;