24 #ifndef AKREGATORARTICLELISTVIEW_H
25 #define AKREGATORARTICLELISTVIEW_H
27 #include <tdelistview.h>
31 template < class T> class TQValueList;
43 class ArticleListView : public TDEListView
48 ArticleListView(TQWidget *parent = 0, const char *name = 0);
49 virtual ~ArticleListView();
52 Article currentArticle() const;
55 TQValueList<Article> selectedArticles() const;
57 enum Columns { itemTitle, feedTitle, pubDate };
62 void slotShowNode(TreeNode* node);
73 void slotPreviousArticle();
76 void slotNextArticle();
79 void slotPreviousUnreadArticle();
82 void slotNextUnreadArticle();
85 void signalArticleChosen( const Article& article);
86 void signalDoubleClicked( const Article&, const TQPoint&, int);
88 void signalMouseButtonPressed( int, const Article&, const TQPoint &, int);
92 virtual void keyPressEvent(TQKeyEvent* e);
96 virtual void applyFilters();
101 int visibleArticles();
105 void paintInfoBox( const TQString &message);
107 virtual void viewportPaintEvent(TQPaintEvent *e);
109 void connectToNode(TreeNode* node);
110 void disconnectFromNode(TreeNode* node);
112 virtual TQDragObject *dragObject();
116 void slotArticlesAdded(TreeNode* node, const TQValueList<Article>& list);
117 void slotArticlesUpdated(TreeNode* node, const TQValueList<Article>& list);
118 void slotArticlesRemoved(TreeNode* node, const TQValueList<Article>& list);
120 virtual void slotCurrentChanged(TQListViewItem* item);
121 virtual void slotSelectionChanged();
122 virtual void slotDoubleClicked(TQListViewItem* item, const TQPoint& p, int i);
123 virtual void slotContextMenu(TDEListView* list, TQListViewItem* item, const TQPoint& p);
124 virtual void slotMouseButtonPressed( int, TQListViewItem *, const TQPoint &, int);
128 class ArticleListViewPrivate;
129 ArticleListViewPrivate* d;
131 friend class ColumnLayoutVisitor;
132 class ColumnLayoutVisitor;
a powerful matcher supporting multiple criterions, which can be combined via logical OR or AND
|