kopete/kopete
kopeteapplication.cpp
Go to the documentation of this file.
134 // we have to load the address book early, because calling this enters the Qt event loop when there are remote resources.
135 // The plugin manager is written with the assumption that Kopete will not reenter the event loop during plugin load,
136 // otherwise lots of things break as plugins are loaded, then contacts are added to incompletely initialised MCLVIs
243 Kopete::OnlineStatusManager::Category initStatus = Kopete::OnlineStatusManager::self()->initialStatus();
254 QList <Kopete::Status::StatusItem *> statusList = Kopete::StatusManager::self()->getRootGroup()->childList();
259 for ( QList <Kopete::Status::StatusItem *>::ConstIterator it = statusList.constBegin(); it != statusList.constEnd(); ++it ) {
262 message = (static_cast <Kopete::Status::Status*> (*it))->message(); //if it is not group, it status
273 Kopete::AccountManager::self()->setOnlineStatus(initStatus, Kopete::StatusMessage(title, message), Kopete::AccountManager::ConnectIfOffline);
276 Kopete::StatusManager::self()->setGlobalStatus(setStatus, Kopete::StatusMessage(title, message));
282 Kopete::AccountManager::self()->setOnlineStatus(initStatus, QString(), Kopete::AccountManager::ConnectIfOffline);
294 for ( QStringList::ConstIterator i = connectArgs.constBegin(); i != connectArgs.constEnd(); ++i )
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
void append(const T &value)
bool isEmpty() const
iterator end()
typedef ConstIterator
void quitKopete()
Quit Kopete, closing all the windows, which causes application shutdown This method marks Kopete as '...
Definition: kopeteapplication.cpp:364
Definition: addaccountwizard.h:43
Definition: kopetewindow.h:48
const_iterator constEnd() const
const_iterator constBegin() const
virtual void commitData(QSessionManager &sm)
Definition: kopeteapplication.cpp:390
iterator begin()
singleShot
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.