Nepomuk-Core
Go to the documentation of this file.
21 #ifndef JOINCHATROOMDIALOG_H
22 #define JOINCHATROOMDIALOG_H
24 #include <TelepathyQt/AccountManager>
31 class JoinChatRoomDialog;
35 class FavoriteRoomsModel;
49 Tp::AccountPtr selectedAccount()
const;
50 QString selectedChatRoom()
const;
53 void onTextChanged(QString newText);
54 void onAccountSelectionChanged(
int newIndex);
56 void removeFavorite();
58 void removeRecentRoom();
59 void clearRecentRooms();
62 void onRoomListChannelReadyForHandling(Tp::PendingOperation *operation);
63 void onRoomListChannelReady(Tp::PendingOperation *operation);
64 void onRoomListChannelClosed(Tp::PendingOperation *operation);
65 void onListing(
bool isListing);
66 void onGotRooms(Tp::RoomInfoList roomInfoList);
67 void onFavoriteRoomClicked(
const QModelIndex &index);
68 void onRecentRoomClicked();
69 void onRoomClicked(
const QModelIndex &index);
72 void sendNotificationToUser(
const QString& errorMsg);
73 void loadFavoriteRooms();
75 QList<Tp::AccountPtr> m_accounts;
77 Tp::PendingChannel *m_pendingRoomListChannel;
78 Tp::ChannelPtr m_roomListChannel;
79 Tp::Client::ChannelTypeRoomListInterface *m_iface;
83 KConfigGroup m_favoriteRoomsGroup;
84 KConfigGroup m_recentRoomsGroup;
85 QHash <QString, QStringList> m_recentRooms;
86 KCompletion *m_recentComp;
91 #endif // JOINCHATROOMDIALOG_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.