kopete/libkopete
kopeteidentity.cpp
Go to the documentation of this file.
46 configGroup = new KConfigGroup(KGlobal::config(), QString::fromLatin1( "Identity_%1" ).arg( id ));
120 Kopete::OnlineStatus status = OnlineStatusManager::self()->onlineStatus(account->protocol() , katgor);
171 tt += i18nc( "Account tooltip information: <nobr>ICON <b>PROTOCOL:</b> NAME (<i>STATUS</i>)</nobr><br />",
173 a->protocol()->displayName(), a->accountLabel(), QString(QUrl::toPercentEncoding( a->protocol()->pluginId() )),
282 QString cfgGrpKey = QString::fromLatin1("prop_%1_%2").arg(QString::fromLatin1(oldValue.typeName()), key );
Definition: kopeteonlinestatus.h:68
void toolTipChanged(Kopete::Identity *)
bool excludeConnect() const
This identity should be connected when connect all is called?
Definition: kopeteidentity.cpp:107
QString label() const
The label is used to identify the identity in the UI.
Definition: kopeteidentity.cpp:96
void propertyChanged(Kopete::PropertyContainer *container, const QString &key, const QVariant &oldValue, const QVariant &newValue)
Kopete::StatusMessage statusMessage() const
Get the current status message of the identity.
Definition: kopeteidentity.cpp:147
QString displayName() const
Returns the display name of this plugin.
Definition: kopeteplugin.cpp:52
Refers to protocols where state cannot be determined.
Definition: kopeteonlinestatus.h:90
const Kopete::Property & property(const QString &key) const
Get the value of a property with key "key".
Definition: kopetepropertycontainer.cpp:111
OnlineStatus onlineStatus(Protocol *protocol, Categories category) const
return the status of the protocol which is in the category category
Definition: kopeteonlinestatusmanager.cpp:89
KConfigGroup * configGroup() const
Returns the KConfigGroup that should be used to read/write settings of this identity.
Definition: kopeteidentity.cpp:229
OnlineStatus onlineStatus() const
Get the online status of the contact.
Definition: kopetecontact.cpp:133
void setStatusMessage(const Kopete::StatusMessage &statusMessage)
Sets the status message for this identity Sets the status message for each account in this identity...
Definition: kopeteidentity.cpp:126
void removeAccount(const Kopete::Account *account)
Removes an account from the identity.
Definition: kopeteidentity.cpp:216
virtual void setOnlineStatus(const Kopete::OnlineStatus &status, const Kopete::StatusMessage &reason=Kopete::StatusMessage(), const OnlineStatusOptions &options=None)=0
Reimplement this function to set the online status.
void identityDestroyed(const Kopete::Identity *identity)
bool hasProperty(const QString &key) const
Check for existence of a certain property stored using "key".
Definition: kopetepropertycontainer.cpp:106
void deserializeProperties(const QMap< QString, QString > &serializedData)
Deserialize the contacts persistent properties.
Definition: kopetepropertycontainer.cpp:63
Definition: kopetecontact.h:58
void identityChanged(Kopete::Identity *identity)
void serializeProperties(QMap< QString, QString > &serializedData) const
Serialize the persistent properties for storage in the contact list.
Definition: kopetepropertycontainer.cpp:46
QList< Account * > accounts() const
Returns the accounts assigned to this identity.
Definition: kopeteidentity.cpp:189
Identity(const QString &label)
The main constructor for Kopete Identities.
Definition: kopeteidentity.cpp:64
OnlineStatus::StatusType onlineStatus() const
Get the online status of the identity.
Definition: kopeteidentity.cpp:142
QString id() const
The id is a unique internal handle and should not be exposed in the UI.
Definition: kopeteidentity.cpp:91
void onlineStatusChanged(Kopete::Identity *)
static OnlineStatusManager * self()
Definition: kopeteonlinestatusmanager.cpp:49
Definition: kopeteidentity.h:41
void addAccount(Kopete::Account *account)
Adds an account to the identity.
Definition: kopeteidentity.cpp:194
void setOnlineStatus(uint category, const Kopete::StatusMessage &statusMessage)
Sets the online status for this identity Sets the online status for each account in this identity...
Definition: kopeteidentity.cpp:113
void slotSaveProperty(Kopete::PropertyContainer *container, const QString &key, const QVariant &oldValue, const QVariant &newValue)
Definition: kopeteidentity.cpp:276
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.