kopete/libkopete
kopeteonlinestatus.cpp
Go to the documentation of this file.
55 QIcon i(OnlineStatusManager::self()->cacheLookupByObject( status, icon, iconSize, color, idle ));
128 OnlineStatus::OnlineStatus( StatusType status, unsigned weight, Protocol *protocol, unsigned internalStatus,
129 const QStringList &overlayIcons, const QString &description, const QString &caption, OnlineStatusManager::Categories categories , OnlineStatusManager::Options options )
344 return OnlineStatusManager::self()->cacheLookupByObject( *this, d->protocolIcon() , size, QColor() );
QStringList overlayIcons() const
Return the list of overlay icons.
Definition: kopeteonlinestatus.cpp:257
Definition: kopeteonlinestatus.h:68
static struct @1 statusNames[]
This is required by some plugins, when a status need to be stored on the disk, to avoid problems...
QString caption() const
Return the text for the action in the menu.
Definition: kopeteonlinestatus.cpp:272
QString mimeSourceFor(const Contact *contact, int size=16) const
Return the mime source for a status icon generated for the given Contact.
Definition: kopeteonlinestatus.cpp:306
Refers to protocols where state cannot be determined.
Definition: kopeteonlinestatus.h:90
Protocol * protocol() const
Return the protocol this applies to.
Definition: kopeteonlinestatus.cpp:267
State where you really cannot be contacted.
Definition: kopeteonlinestatus.h:98
State where you are online but none of your contacts can see that you're online.
Definition: kopeteonlinestatus.h:110
Account * account() const
Get the account that this contact belongs to.
Definition: kopetecontact.cpp:498
bool isDefinitelyOnline() const
Definition: kopeteonlinestatus.cpp:287
static QString statusTypeToString(OnlineStatus::StatusType status)
returns a QString from a StatusType
Definition: kopeteonlinestatus.cpp:360
QIcon iconFor(const Contact *contact) const
Return a status icon generated for the given Contact.
Definition: kopeteonlinestatus.cpp:294
Means that you have other things to do and don't want to get involved in messaging ('Busy' or 'Do not...
Definition: kopeteonlinestatus.h:123
bool operator==(const OnlineStatus &other) const
Comparison operator.
Definition: kopeteonlinestatus.cpp:198
bool operator!=(const OnlineStatus &other) const
Comparison operator.
Definition: kopeteonlinestatus.cpp:210
QString pluginIcon() const
Get the name of the icon for this plugin.
Definition: kopeteplugin.cpp:57
Definition: kopetecontact.h:58
Refers to a true online state, i.e.
Definition: kopeteonlinestatus.h:129
bool operator>(const OnlineStatus &other) const
Comparison operator.
Definition: kopeteonlinestatus.cpp:216
bool operator<(const OnlineStatus &other) const
Comparison operator.
Definition: kopeteonlinestatus.cpp:224
OnlineStatus & operator=(const OnlineStatus &other)
Assignment operator.
Definition: kopeteonlinestatus.cpp:232
QString customIcon() const
return the icon base This is the custom account icon set with setIcon.
Definition: kopeteaccount.cpp:731
OnlineStatusManager::Options options() const
Return the options of this online status.
Definition: kopeteonlinestatus.cpp:282
void registerOnlineStatus(const OnlineStatus &status)
You need to register each status an account can be.
Definition: kopeteonlinestatusmanager.cpp:84
Refers to a state where you can be technically reached, but for one reason or another it is often not...
Definition: kopeteonlinestatus.h:117
static OnlineStatus::StatusType statusStringToType(const QString &string)
returns a StatusType from a QString
Definition: kopeteonlinestatus.cpp:371
static OnlineStatusManager * self()
Definition: kopeteonlinestatusmanager.cpp:49
virtual unsigned long int idleTime() const
Get the time (in seconds) this contact has been idle It will return the time set in setIdleTime() wit...
Definition: kopetecontact.cpp:555
KDE_DEPRECATED QPixmap protocolIcon() const
Returns the status icon for the protocol.
Definition: kopeteonlinestatus.cpp:347
OnlineStatusManager::Categories categories() const
Return the categories this online status is in.
Definition: kopeteonlinestatus.cpp:277
State where the user is not available on the network yet but trying to get onto.
Definition: kopeteonlinestatus.h:104
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.