diff options
author | Phaneendra Hegde <pnh.pes@gmail.com> | 2012-05-27 09:49:35 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-05-27 23:34:32 +0200 |
commit | c4e2c2524615d781e1884123169dfdd928be09d4 (patch) | |
tree | 0e6e47f69ec9884ce60c9539217c2bf471a529db /src/urlbar/bookmarkwidget.h | |
parent | Add application icon ( Windows & OS X ). (diff) | |
download | rekonq-c4e2c2524615d781e1884123169dfdd928be09d4.tar.xz |
Fancy bookmarking on rekonq :)
- Fancy bookmarking's resource link dialog added to bookmark context menu
- UI improvements in bookmarks dialog
- WARNING: Nepomuk/soprano dependencies added
NB: Merged and squashed by adjam ;)
Diffstat (limited to 'src/urlbar/bookmarkwidget.h')
-rw-r--r-- | src/urlbar/bookmarkwidget.h | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/src/urlbar/bookmarkwidget.h b/src/urlbar/bookmarkwidget.h index c2985759..01f672e9 100644 --- a/src/urlbar/bookmarkwidget.h +++ b/src/urlbar/bookmarkwidget.h @@ -29,7 +29,13 @@ #define BOOKMARKWIDGET_H // Qt Includes -#include <QMenu> +#include <QtGui/QMenu> +#include <QtGui/QGridLayout> +#include <QtGui/QPlainTextEdit> + +#include <Nepomuk/Resource> +#include <Nepomuk/Tag> +#include <Nepomuk/Vocabulary/NFO> // Forward Declarations class KBookmark; @@ -46,20 +52,34 @@ public: virtual ~BookmarkWidget(); void showAt(const QPoint &pos); + void addTags(QList<Nepomuk::Tag>); + void parseTags(); + void loadTags(); Q_SIGNALS: void updateIcon(); + private Q_SLOTS: void accept(); void removeBookmark(); + void setRatingSlot( int rate ); + void addCommentSlot(); + void linkToResourceSlot(); + //void tagListSlot(); private: KBookmark *m_bookmark; KLineEdit *m_name; KComboBox *m_folder; + KLineEdit *m_tagLine; + QPlainTextEdit *m_commentEdit; + //QGridLayout* m_tagList; + Nepomuk::Resource m_nfoResource; + QStringList m_tList; + void setupFolderComboBox(); }; -#endif // BOOKMARKWIDGET_H +#endif |