kopete/kopete
kopetedbusinterface.cpp
Go to the documentation of this file.
467 QList<Kopete::MessageEvent*> pendingMessages = KopeteViewManager::viewManager()->pendingMessages(subContact);
void disconnect(const QString &protocolName, const QString &accountId)
Disconnect a given account in the given protocol.
Definition: kopetedbusinterface.cpp:418
QStringList listContact(const QList< Kopete::MetaContact * > &contactList)
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
bool registerObject(const QString &path, QObject *object, QFlags< QDBusConnection::RegisterOption > options)
void resume()
Sets the online status of all accounts to the status they had when suspend was called.
Definition: kopetedbusinterface.cpp:264
QDBusConnection sessionBus()
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
virtual bool event(QEvent *e)
Definition: kopeteitembase.h:57
Definition: kopeteitembase.h:57
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 setObjectName(const QString &name)
bool isEmpty() const
void setIdentityAvatar(const QString &avatarUrl, const QString &identityId=QString())
Set the avatar for the given identity.
Definition: kopetedbusinterface.cpp:159
QString toLower() const
bool contains(QChar ch, Qt::CaseSensitivity cs) const
QString labelForIdentity(const QString &id) const
Get UI labels for identities.
Definition: kopetedbusinterface.cpp:220
Kopete::MetaContact * findContact(const QString &nameOrId)
Tries to locate a meta contact using first the protocol:account:contact triplet, if that fails the me...
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
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Kopete::OnlineStatusManager::Categories status2Value(const QString &status)
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.