• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Konsole

Konsole::CheckableSessionModel

Konsole::CheckableSessionModel Class Reference

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. More...

#include <CopyInputDialog.h>

Inheritance diagram for Konsole::CheckableSessionModel:

Inheritance graph
[legend]

List of all members.


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)

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 89 of file CopyInputDialog.h.


Constructor & Destructor Documentation

CheckableSessionModel::CheckableSessionModel ( QObject *  parent  ) 

Definition at line 115 of file CopyInputDialog.cpp.


Member Function Documentation

int Konsole::CheckableSessionModel::checkColumn (  )  const [inline]

Definition at line 123 of file CopyInputDialog.h.

QSet< Session * > CheckableSessionModel::checkedSessions (  )  const

Returns the set of checked sessions.

Definition at line 173 of file CopyInputDialog.cpp.

QVariant CheckableSessionModel::data ( const QModelIndex &  index,
int  role 
) const [virtual]

Reimplemented from Konsole::SessionListModel.

Definition at line 134 of file CopyInputDialog.cpp.

Qt::ItemFlags CheckableSessionModel::flags ( const QModelIndex &  index  )  const [virtual]

Definition at line 125 of file CopyInputDialog.cpp.

void CheckableSessionModel::sessionRemoved ( Session *  session  )  [protected, virtual]

Reimplemented from Konsole::SessionListModel.

Definition at line 186 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 177 of file CopyInputDialog.cpp.

void CheckableSessionModel::setCheckColumn ( int  column  ) 

Definition at line 120 of file CopyInputDialog.cpp.

void CheckableSessionModel::setCheckedSessions ( const QSet< Session * >  sessions  ) 

Sets the list of sessions which are currently checked.

Definition at line 168 of file CopyInputDialog.cpp.

bool CheckableSessionModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role 
) [virtual]

Definition at line 148 of file CopyInputDialog.cpp.


The documentation for this class was generated from the following files:
  • CopyInputDialog.h
  • CopyInputDialog.cpp

Konsole

Skip menu "Konsole"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • Konsole
  • Libraries
  •   libkonq
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal