kopete/kopete
kopetedbusinterface.h
Go to the documentation of this file.
160 void setIdentityOnlineStatus(const QString &status, const QString &message, const QString &identityId = QString());
202 bool addContact( const QString &protocolName, const QString &accountId, const QString &contactId, const QString &displayName, const QString &groupName = QString() );
void disconnect(const QString &protocolName, const QString &accountId)
Disconnect a given account in the given protocol.
Definition: kopetedbusinterface.cpp:418
void openChat(const QString &contactId)
Open a chat window for the given contact.
Definition: kopetedbusinterface.cpp:301
bool isConnected(const QString &protocolName, const QString &accountId)
Get information if we are connected to a given account in the given protocol.
Definition: kopetedbusinterface.cpp:387
bool addContact(const QString &protocolName, const QString &accountId, const QString &contactId, const QString &displayName, const QString &groupName=QString())
Adds a contact with the specified params.
Definition: kopetedbusinterface.cpp:333
void resume()
Sets the online status of all accounts to the status they had when suspend was called.
Definition: kopetedbusinterface.cpp:264
void setIdentityNickName(const QString &nickName, const QString &identityId=QString())
Set the nickname for the given identity.
Definition: kopetedbusinterface.cpp:138
QStringList contactsByFilter(const QString &filter) const
Get a filered list of contacts based on the filter.
Definition: kopetedbusinterface.cpp:80
void suspend()
Saves the online status of all accounts and disconnects them.
Definition: kopetedbusinterface.cpp:259
QStringList identities() const
Get a list of all identities' ID.
Definition: kopetedbusinterface.cpp:208
void setIdentityOnlineStatus(const QString &status, const QString &message, const QString &identityId=QString())
Set the online status for the given identity.
Definition: kopetedbusinterface.cpp:188
void setIdentityAvatar(const QString &avatarUrl, const QString &identityId=QString())
Set the avatar for the given identity.
Definition: kopetedbusinterface.cpp:159
QString labelForIdentity(const QString &id) const
Get UI labels for identities.
Definition: kopetedbusinterface.cpp:220
void setOnlineStatus(const QString &status, const QString &message=QString())
Change the online status for all accounts.
Definition: kopetedbusinterface.cpp:269
void setStatusMessage(const QString &message)
Change the status message for all accounts.
Definition: kopetedbusinterface.cpp:276
QVariantMap contactProperties(const QString &contactId)
Look up details for a specific contact.
Definition: kopetedbusinterface.cpp:435
QStringList accounts() const
Get a list of all account's ID.
Definition: kopetedbusinterface.cpp:234
void connect(const QString &protocolName, const QString &accountId)
Connect a given account in the given protocol.
Definition: kopetedbusinterface.cpp:401
QStringList protocols() const
Get a list of all protocol names.
Definition: kopetedbusinterface.cpp:65
void sendFile(const QString &contactId, const QString &fileUrl)
Send a file to the given contact.
Definition: kopetedbusinterface.cpp:373
QString getDisplayName(const QString &contactId)
Retrieve the Display Name from the given contact ID.
Definition: kopetedbusinterface.cpp:315
bool isContactOnline(const QString &contactId)
Get the Online Status of the contact.
Definition: kopetedbusinterface.cpp:324
QObject * parent() const
Tracks changes of all metacontacts and reports them via signals.
Definition: kopetedbusinterface_p.h:62
void sendMessage(const QString &contactId, const QString &message)
Send a message to the given contact.
Definition: kopetedbusinterface.cpp:281
void contactChanged(QString contactId)
Contact properties have changed: displayName, avatar, pending messages...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:08 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:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.