Logo Search packages:      
Sourcecode: zanshin version File versions  Download package

Public Types | Public Member Functions | Protected Member Functions | Private Attributes

ActionListModel Class Reference

List of all members.

Public Types

enum  Mode {
  StandardMode = 0, ProjectMode, ContextMode, NoProjectMode,
  NoContextMode
}

Public Member Functions

 ActionListModel (QObject *parent=0)
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
virtual Qt::ItemFlags flags (const QModelIndex &index) const
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
bool isInFocus (const QModelIndex &index) const
Akonadi::Item itemForIndex (const QModelIndex &index) const
Mode mode () const
void setMode (Mode mode)
void setSourceFocusIndex (const QModelIndex &sourceIndex)
QModelIndex sourceFocusIndex () const

Protected Member Functions

virtual bool filterAcceptsColumn (int sourceColumn, const QModelIndex &sourceParent) const
virtual bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const
virtual bool lessThan (const QModelIndex &left, const QModelIndex &right) const

Private Attributes

Mode m_mode
QPersistentModelIndex m_sourceFocusIndex

Detailed Description

Definition at line 34 of file actionlistmodel.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index