kopete/libkopete
chatsessionmemberslistmodel.cpp
Go to the documentation of this file.
24 inline bool lessThan(const Kopete::Contact *c1, int weight1, const Kopete::Contact *c2, int weight2){
127 connect( session, SIGNAL(onlineStatusChanged(Kopete::Contact*,Kopete::OnlineStatus,Kopete::OnlineStatus)),
196 QVariant ChatSessionMembersListModel::headerData(int section, Qt::Orientation orientation, int role) const
221 kDebug( 14010 ) << "Trying to remove contact '" << contact->displayName() << "' which isn't in members list model!!!";
230 void ChatSessionMembersListModel::slotContactStatusChanged( Kopete::Contact *contact, const Kopete::OnlineStatus &status )
void clear()
Definition: kopeteonlinestatus.h:68
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
Definition: chatsessionmemberslistmodel.cpp:196
int rowCount(const QModelIndex &parent=QModelIndex()) const
Definition: chatsessionmemberslistmodel.cpp:163
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
Definition: kopetechatsession.h:74
int size() const
void reset()
bool isValid() const
void append(const T &value)
Kopete::Contact * contactAt(const QModelIndex &index) const
Definition: chatsessionmemberslistmodel.cpp:146
Kopete::ChatSession * session()
Definition: chatsessionmemberslistmodel.cpp:110
void endInsertRows()
ChatSessionMembersListModel(QObject *parent=0)
Definition: chatsessionmemberslistmodel.cpp:99
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
void beginRemoveRows(const QModelIndex &parent, int first, int last)
QVariant data(const QModelIndex &index, int role) const
Definition: chatsessionmemberslistmodel.cpp:172
int row() const
QFuture< void > map(Sequence &sequence, MapFunction function)
Definition: kopetecontact.h:58
void setChatSession(Kopete::ChatSession *session)
Called when the ChatSession change for this list (eg.
Definition: chatsessionmemberslistmodel.cpp:114
void beginInsertRows(const QModelIndex &parent, int first, int last)
~ChatSessionMembersListModel()
Definition: chatsessionmemberslistmodel.cpp:106
iterator insert(const Key &key, const T &value)
void endRemoveRows()
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
bool lessThan(const Kopete::Contact *c1, int weight1, const Kopete::Contact *c2, int weight2)
Definition: chatsessionmemberslistmodel.cpp:24
int compare(const QString &other) const
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.