Konsole
#include <CopyInputDialog.h>
Public Member Functions | |
CheckableSessionModel (QObject *parent) | |
int | checkColumn () const |
QSet< Session * > | checkedSessions () const |
virtual QVariant | data (const QModelIndex &index, int role) const |
virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
void | setCheckable (Session *session, bool checkable) |
void | setCheckColumn (int column) |
void | setCheckedSessions (const QSet< Session * > sessions) |
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role) |
Public Member Functions inherited from Konsole::SessionListModel | |
SessionListModel (QObject *parent=0) | |
virtual int | columnCount (const QModelIndex &parent) const |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
virtual QModelIndex | index (int row, int column, const QModelIndex &parent) const |
virtual QModelIndex | parent (const QModelIndex &index) const |
virtual int | rowCount (const QModelIndex &parent) const |
void | setSessions (const QList< Session * > &sessions) |
Protected Member Functions | |
virtual void | sessionRemoved (Session *) |
Detailed Description
A list of sessions with a checkbox next to each one which allows the user to select a subset of the available sessions to perform some action on them.
Definition at line 95 of file CopyInputDialog.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 120 of file CopyInputDialog.cpp.
Member Function Documentation
|
inline |
Definition at line 130 of file CopyInputDialog.h.
QSet< Session * > CheckableSessionModel::checkedSessions | ( | ) | const |
Returns the set of checked sessions.
Definition at line 176 of file CopyInputDialog.cpp.
|
virtual |
Reimplemented from Konsole::SessionListModel.
Definition at line 139 of file CopyInputDialog.cpp.
|
virtual |
Definition at line 130 of file CopyInputDialog.cpp.
|
protectedvirtual |
Reimplemented from Konsole::SessionListModel.
Definition at line 189 of file CopyInputDialog.cpp.
void CheckableSessionModel::setCheckable | ( | Session * | session, |
bool | checkable | ||
) |
Sets whether a session can be checked or un-checked.
Non-checkable items have the Qt::ItemIsEnabled flag unset.
Definition at line 180 of file CopyInputDialog.cpp.
void CheckableSessionModel::setCheckColumn | ( | int | column | ) |
Definition at line 125 of file CopyInputDialog.cpp.
void CheckableSessionModel::setCheckedSessions | ( | const QSet< Session * > | sessions | ) |
Sets the list of sessions which are currently checked.
Definition at line 171 of file CopyInputDialog.cpp.
|
virtual |
Definition at line 152 of file CopyInputDialog.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.