akregator
subscriptionlistview.cpp
Go to the documentation of this file.
73 while ( prev.isValid() && ( prev.data( SubscriptionListModel::IsAggregationRole ).toBool() || prev.sibling( prev.row(), SubscriptionListModel::UnreadCountColumn ).data().toInt() == 0 ) )
120 while ( next.isValid() && ( next.data( SubscriptionListModel::IsAggregationRole ).toBool() || next.sibling( next.row(), SubscriptionListModel::UnreadCountColumn ).data().toInt() == 0 ) )
137 connect( header(), SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(showHeaderMenu(QPoint)) );
222 m_headerState = QByteArray::fromBase64( conf.readEntry( "SubscriptionListHeaders" ).toLatin1() );
343 QModelIndex prev = current.row() > 0 ? current.sibling( current.row() - 1, current.column() ) : current.parent();
void customContextMenuRequested(const QPoint &pos)
static QModelIndex nextFeedIndex(const QModelIndex &idx)
Definition: subscriptionlistview.cpp:109
virtual int rowCount(const QModelIndex &parent) const =0
void setModel(QAbstractItemModel *model)
Definition: subscriptionlistview.cpp:147
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const =0
void setAlternatingRowColors(bool enable)
void setCurrentIndex(const QModelIndex &index)
void setSelectionMode(QAbstractItemView::SelectionMode mode)
T pop()
void slotNextFeed()
Definition: subscriptionlistview.cpp:254
void slotPrevUnreadFeed()
Definition: subscriptionlistview.cpp:267
void setFocusPolicy(Qt::FocusPolicy policy)
void setChecked(bool)
QVariant data() const
void push(const T &t)
void slotItemEnd()
Definition: subscriptionlistview.cpp:301
void setDragDropMode(DragDropMode behavior)
void slotPrevFeed()
Definition: subscriptionlistview.cpp:239
static QModelIndex nextUnreadFeedIndex(const QModelIndex &idx)
Definition: subscriptionlistview.cpp:117
void setUniformRowHeights(bool uniform)
void slotItemRight()
Definition: subscriptionlistview.cpp:323
static QModelIndex nextIndex(const QModelIndex &idx)
Definition: subscriptionlistview.cpp:89
~SubscriptionListView()
Definition: subscriptionlistview.cpp:142
bool isValid() const
int toInt(bool *ok) const
static QModelIndex prevIndex(const QModelIndex &idx)
Definition: subscriptionlistview.cpp:43
void setItemDelegate(QAbstractItemDelegate *delegate)
void slotNextUnreadFeed()
Definition: subscriptionlistview.cpp:280
int row() const
SubscriptionListView(QWidget *parent=0)
Definition: subscriptionlistview.cpp:125
QModelIndex parent() const
static QModelIndex lastLeaveChild(const QAbstractItemModel *const model)
Definition: subscriptionlistview.cpp:78
void ensureNodeVisible(TreeNode *node)
Definition: subscriptionlistview.cpp:362
void setAcceptDrops(bool on)
void setData(const QVariant &userData)
void setContextMenuPolicy(Qt::ContextMenuPolicy policy)
void setCheckable(bool)
QModelIndex child(int row, int column) const
void startNodeRenaming(TreeNode *node)
Definition: subscriptionlistview.cpp:366
static QModelIndex prevFeedIndex(const QModelIndex &idx, bool allowPassed=false)
Definition: subscriptionlistview.cpp:62
void slotItemBegin()
Definition: subscriptionlistview.cpp:293
const QAbstractItemModel * model() const
static QModelIndex prevUnreadFeedIndex(const QModelIndex &idx, bool allowPassed=false)
Definition: subscriptionlistview.cpp:70
void slotItemUp()
Definition: subscriptionlistview.cpp:337
QVariant data(int role) const
void userActionTakingPlace()
QByteArray fromBase64(const QByteArray &base64)
virtual bool hasChildren(const QModelIndex &parent) const
bool isEmpty() const
void slotItemDown()
Definition: subscriptionlistview.cpp:350
QModelIndex sibling(int row, int column) const
virtual void setModel(QAbstractItemModel *model)
int column() const
bool toBool() const
QHeaderView * header() const
QAbstractItemModel * model() const
QModelIndex currentIndex() const
void setRootIsDecorated(bool show)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Abstract base class for all kind of elements in the feed tree, like feeds and feed groups (and search...
Definition: treenode.h:58
void slotItemLeft()
Definition: subscriptionlistview.cpp:309
void setDropIndicatorShown(bool enable)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.