kopete/libkopete
Kopete::ChatSessionMembersListModel Class Reference
#include <chatsessionmemberslistmodel.h>
Inheritance diagram for Kopete::ChatSessionMembersListModel:

Detailed Description
Definition at line 31 of file chatsessionmemberslistmodel.h.
Public Slots | |
| void | setChatSession (Kopete::ChatSession *session) |
Public Member Functions | |
| ChatSessionMembersListModel (QObject *parent=0) | |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| QVariant | data (const QModelIndex &index, int role) const |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| Kopete::ChatSession * | session () |
| Kopete::Contact * | contactAt (const QModelIndex &index) const |
Constructor & Destructor Documentation
| Kopete::ChatSessionMembersListModel::ChatSessionMembersListModel | ( | QObject * | parent = 0 |
) | [explicit] |
Definition at line 25 of file chatsessionmemberslistmodel.cpp.
Member Function Documentation
| int Kopete::ChatSessionMembersListModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const |
Definition at line 72 of file chatsessionmemberslistmodel.cpp.
| QVariant Kopete::ChatSessionMembersListModel::data | ( | const QModelIndex & | index, | |
| int | role | |||
| ) | const |
Definition at line 81 of file chatsessionmemberslistmodel.cpp.
| QVariant Kopete::ChatSessionMembersListModel::headerData | ( | int | section, | |
| Qt::Orientation | orientation, | |||
| int | role = Qt::DisplayRole | |||
| ) | const |
Definition at line 107 of file chatsessionmemberslistmodel.cpp.
| Kopete::ChatSession* Kopete::ChatSessionMembersListModel::session | ( | ) | [inline] |
Definition at line 41 of file chatsessionmemberslistmodel.h.
| Kopete::Contact * Kopete::ChatSessionMembersListModel::contactAt | ( | const QModelIndex & | index | ) | const |
Definition at line 53 of file chatsessionmemberslistmodel.cpp.
| void Kopete::ChatSessionMembersListModel::setChatSession | ( | Kopete::ChatSession * | session | ) | [slot] |
Called when the ChatSession change for this list (eg.
when the tab in the KopeteChatWindow is changing)
Definition at line 31 of file chatsessionmemberslistmodel.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference