akregator
Go to the documentation of this file.
25 #ifndef AKREGATOR_ARTICLELISTVIEW_H
26 #define AKREGATOR_ARTICLELISTVIEW_H
32 #include <QSortFilterProxyModel>
35 #include <boost/shared_ptr.hpp>
40 class QContextMenuEvent;
43 template <
class T>
class QList;
48 class FilterColumnsProxyModel;
63 bool filterAcceptsRow(
int source_row,
const QModelIndex& source_parent )
const;
73 QVariant data(
const QModelIndex& index,
int role=Qt::DisplayRole )
const;
75 void setFilters(
const std::vector<boost::shared_ptr<const Akregator::Filters::AbstractMatcher> >& );
80 bool filterAcceptsRow(
int source_row,
const QModelIndex& source_parent )
const;
83 std::vector<boost::shared_ptr<const Akregator::Filters::AbstractMatcher> > m_matchers;
103 QItemSelectionModel* articleSelectionModel()
const;
106 const QAbstractItemView* itemView()
const;
109 QAbstractItemView* itemView();
112 QPoint scrollBarPositions()
const;
115 void setScrollBarPositions(
const QPoint& p );
118 void setFilters(
const std::vector<boost::shared_ptr<const Akregator::Filters::AbstractMatcher> >& );
121 void forceFilterUpdate();
123 void setIsAggregation(
bool isAggregation );
128 void mousePressEvent( QMouseEvent *ev );
131 void signalMouseButtonPressed(
int,
const KUrl );
137 void slotPreviousArticle();
139 void slotNextArticle();
141 void slotPreviousUnreadArticle();
143 void slotNextUnreadArticle();
147 void userActionTakingPlace();
150 void restoreHeaderState();
151 void saveHeaderSettings();
152 void loadHeaderSettings();
155 void paintEvent( QPaintEvent* e );
158 void contextMenuEvent( QContextMenuEvent* event );
160 void selectIndex(
const QModelIndex& index );
166 void showHeaderMenu(
const QPoint& pos );
167 void startResizingTitleColumn();
168 void finishResizingTitleColumn();
172 enum ColumnMode { GroupMode, FeedMode };
173 ColumnMode m_columnMode;
174 QPointer<SortColorizeProxyModel> m_proxy;
175 std::vector<boost::shared_ptr<const Filters::AbstractMatcher> > m_matchers;
176 QByteArray m_feedHeaderState;
177 QByteArray m_groupHeaderState;
183 #endif // AKREGATOR_ARTICLELISTVIEW_H
#define AKREGATORPART_EXPORT
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:14 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.