Nepomuk-Core
KTp::RoomsModel Class Reference
#include <rooms-model.h>
Inheritance diagram for KTp::RoomsModel:
Public Types | |
enum | Column { PasswordColumn = 0, MembersColumn, NameColumn, DescriptionColumn } |
enum | Roles { HandleNameRole = Qt::UserRole } |
Public Member Functions | |
RoomsModel (QObject *parent=0) | |
void | addRooms (const Tp::RoomInfoList newRoomList) |
void | clearRoomInfoList () |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
Detailed Description
Definition at line 30 of file rooms-model.h.
Member Enumeration Documentation
Definition at line 36 of file rooms-model.h.
Definition at line 43 of file rooms-model.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 25 of file rooms-model.cpp.
Member Function Documentation
void KTp::RoomsModel::addRooms | ( | const Tp::RoomInfoList | newRoomList | ) |
Add new rooms to the list.
- Parameters
-
newRoomList The list with the new rooms to add.
Definition at line 131 of file rooms-model.cpp.
void KTp::RoomsModel::clearRoomInfoList | ( | ) |
Clear the room list.
Definition at line 140 of file rooms-model.cpp.
|
virtual |
Definition at line 38 of file rooms-model.cpp.
|
virtual |
Definition at line 47 of file rooms-model.cpp.
|
virtual |
Definition at line 103 of file rooms-model.cpp.
|
virtual |
Definition at line 29 of file rooms-model.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.