Summary: | saved flagged feeds enhancement | ||
---|---|---|---|
Product: | [Applications] akregator | Reporter: | Sharon Kimble <sharonm63> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | scottmmorris |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | RedHat Enterprise Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Sharon Kimble
2005-01-04 13:45:31 UTC
*** Bug 97576 has been marked as a duplicate of this bug. *** CVS commit by osterfeld: add "keep flag set" entry to the search filter combobox. FEATURE: 96287 M +7 -0 akregator_view.cpp 1.214 M +2 -0 articlefilter.cpp 1.11 M +1 -1 articlefilter.h 1.6 --- kdepim/akregator/src/akregator_view.cpp #1.213:1.214 @@ -173,4 +173,5 @@ View::View( Part *part, QWidget *parent, m_searchCombo->insertItem(i18n("New")); m_searchCombo->insertItem(i18n("Unread")); + m_searchCombo->insertItem(i18n("Keep Flag Set")); QToolTip::add( clearButton, i18n( "Clear filter" ) ); @@ -1343,4 +1344,10 @@ void View::updateSearch(const QString &s break; } + case 4: // Keep flag set + { + Criterion crit( Criterion::KeepFlag, Criterion::Equals, true); + statusCriteria << crit; + break; + } default: break; --- kdepim/akregator/src/articlefilter.cpp #1.10:1.11 @@ -48,4 +48,6 @@ bool Criterion::satisfiedBy( const MyArt concreteSubject = QVariant(article.status()); break; + case KeepFlag: + concreteSubject = QVariant(article.keep()); default: break; --- kdepim/akregator/src/articlefilter.h #1.5:1.6 @@ -27,5 +27,5 @@ class Criterion enum Subject { - Title, Description, Link, Status + Title, Description, Link, Status, KeepFlag }; |