Nepomuk-Core
Go to the documentation of this file.
23 #include <QtCore/QAbstractListModel>
24 #include <TelepathyQt/Types>
44 HandleNameRole = Qt::UserRole
48 virtual int rowCount(
const QModelIndex &parent = QModelIndex())
const;
49 virtual int columnCount(
const QModelIndex &parent = QModelIndex())
const;
50 virtual QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const;
51 virtual QVariant headerData(
int section, Qt::Orientation orientation,
int role)
const;
58 void addRooms(
const Tp::RoomInfoList newRoomList);
63 void clearRoomInfoList();
66 Tp::RoomInfoList m_roomInfoList;
77 AccountIdentifierColumn
81 HandleNameRole = Qt::UserRole,
86 virtual int rowCount(
const QModelIndex &parent = QModelIndex())
const;
87 virtual int columnCount(
const QModelIndex &parent = QModelIndex())
const;
88 virtual QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const;
95 void addRooms(
const QList<QVariantMap> newRoomList);
102 void addRoom(
const QVariantMap &room);
109 void removeRoom(
const QVariantMap &room);
118 bool containsRoom(
const QString &handle,
const QString &account)
const;
127 int countForAccount(
const QString &account)
const;
130 QList<QVariantMap> m_favoriteRoomsList;
135 #endif // ROOMS_MODEL_H
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.