Bug 96287 - saved flagged feeds enhancement
Summary: saved flagged feeds enhancement
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 97576 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-04 13:45 UTC by Sharon Kimble
Modified: 2005-01-21 13:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sharon Kimble 2005-01-04 13:45:31 UTC
Version:           1.0beta8 (using KDE KDE 3.3.2)
Installed from:    RedHat RPMs
OS:                Linux

It would be nice to just be able to display the items that are flagged without all the cruft of being surrounded by the unflagged entries, thereby distracting you from what you're really interested in.

Perhaps this could be acomplished by just adding 'Flagged' to the drop-down of 'All Articles, New & Unread, New, Unread' ?
Comment 1 Frank Osterfeld 2005-01-21 08:25:51 UTC
*** Bug 97576 has been marked as a duplicate of this bug. ***
Comment 2 Frank Osterfeld 2005-01-21 13:03:09 UTC
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
         };