diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-01-08 16:49:31 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-01-08 16:49:31 +0100 |
commit | 14299bca34712251a215a7d20feecab44426632b (patch) | |
tree | c5786687daf755bb488ca9dbaa156ca45eefe8a5 /src/urlbar/bookmarkwidget.cpp | |
parent | Restore Tab Windows when Restoring the Session (diff) | |
download | rekonq-14299bca34712251a215a7d20feecab44426632b.tar.xz |
Revert "Rekonq Migration to Nepomuk2"
This reverts commit 6d2519d373350b5e904fb421d688a665dd42c0c1.
This let rekonq compile again. Nepomuk2 will be added back
when KDE 4.10 will be released.
Diffstat (limited to 'src/urlbar/bookmarkwidget.cpp')
-rw-r--r-- | src/urlbar/bookmarkwidget.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/urlbar/bookmarkwidget.cpp b/src/urlbar/bookmarkwidget.cpp index a0e5cd44..e266a071 100644 --- a/src/urlbar/bookmarkwidget.cpp +++ b/src/urlbar/bookmarkwidget.cpp @@ -153,8 +153,8 @@ BookmarkWidget::BookmarkWidget(const KBookmark &bookmark, QWidget *parent) m_tagLine->setPlaceholderText(i18n("add tags(comma separated)")); - QList<Nepomuk2::Tag> tagList = Nepomuk2::Tag::allTags(); - Q_FOREACH(const Nepomuk2::Tag &t, tagList) + QList<Nepomuk::Tag> tagList = Nepomuk::Tag::allTags(); + Q_FOREACH(const Nepomuk::Tag &t, tagList) { m_tList.append(t.label()); } @@ -287,9 +287,9 @@ void BookmarkWidget::removeBookmark() #ifdef HAVE_NEPOMUK -void BookmarkWidget::addTags(QList<Nepomuk2::Tag> tagList) +void BookmarkWidget::addTags(QList<Nepomuk::Tag> tagList) { - Q_FOREACH(const Nepomuk2::Tag & tag, tagList) + Q_FOREACH(const Nepomuk::Tag & tag, tagList) { if (!m_nfoResource.tags().contains(tag)) { @@ -297,7 +297,7 @@ void BookmarkWidget::addTags(QList<Nepomuk2::Tag> tagList) } } - Q_FOREACH(Nepomuk2::Tag tag, m_nfoResource.tags()) + Q_FOREACH(Nepomuk::Tag tag, m_nfoResource.tags()) { if (!tagList.contains(tag)) { @@ -308,7 +308,7 @@ void BookmarkWidget::addTags(QList<Nepomuk2::Tag> tagList) void BookmarkWidget::parseTags() { - QList<Nepomuk2::Tag> tagList; + QList<Nepomuk::Tag> tagList; if (m_tagLine->text().contains(',')) { QString text = m_tagLine->text(); @@ -334,7 +334,7 @@ void BookmarkWidget::loadTags() QString list; if (!m_nfoResource.tags().isEmpty()) { - Q_FOREACH(const Nepomuk2::Tag & tag, m_nfoResource.tags()) + Q_FOREACH(const Nepomuk::Tag & tag, m_nfoResource.tags()) { list.append(tag.genericLabel()); list.append(","); @@ -358,7 +358,7 @@ void BookmarkWidget::addCommentSlot() void BookmarkWidget::linkToResourceSlot() { - QPointer<Nepomuk2::ResourceLinkDialog> r = new Nepomuk2::ResourceLinkDialog(m_nfoResource); + QPointer<Nepomuk::ResourceLinkDialog> r = new Nepomuk::ResourceLinkDialog(m_nfoResource); r->exec(); r->deleteLater(); |