Nepomuk-Core
#include <conversations-model.h>
Public Member Functions |
| ConversationsModel (QObject *parent) |
virtual | ~ConversationsModel () |
bool | bypassApproval () const |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
void | handleChannels (const Tp::MethodInvocationContextPtr<> &context, const Tp::AccountPtr &account, const Tp::ConnectionPtr &connection, const QList< Tp::ChannelPtr > &channels, const QList< Tp::ChannelRequestPtr > &channelRequests, const QDateTime &userActionTime, const HandlerInfo &handlerInfo) |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
int | totalUnreadCount () const |
Detailed Description
Definition at line 30 of file conversations-model.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
ConversationsModel::ConversationsModel |
( |
QObject * |
parent | ) |
|
|
explicit |
ConversationsModel::~ConversationsModel |
( |
| ) |
|
|
virtual |
Member Function Documentation
bool ConversationsModel::bypassApproval |
( |
| ) |
const |
QVariant ConversationsModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
virtual |
void ConversationsModel::handleChannels |
( |
const Tp::MethodInvocationContextPtr<> & |
context, |
|
|
const Tp::AccountPtr & |
account, |
|
|
const Tp::ConnectionPtr & |
connection, |
|
|
const QList< Tp::ChannelPtr > & |
channels, |
|
|
const QList< Tp::ChannelRequestPtr > & |
channelRequests, |
|
|
const QDateTime & |
userActionTime, |
|
|
const HandlerInfo & |
handlerInfo |
|
) |
| |
int ConversationsModel::nextActiveConversation |
( |
int |
first | ) |
|
|
slot |
int ConversationsModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
void ConversationsModel::startChat |
( |
const Tp::AccountPtr & |
account, |
|
|
const KTp::ContactPtr & |
contact |
|
) |
| |
|
slot |
int ConversationsModel::totalUnreadCount |
( |
| ) |
const |
- Returns
- the sum of all unread messages among all conversations
void ConversationsModel::totalUnreadCountChanged |
( |
| ) |
|
|
signal |
Property Documentation
int ConversationsModel::totalUnreadCount |
|
read |
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
KDE's Doxygen guidelines are available online.