kopete/libkopete
connectionmanager.cpp
Go to the documentation of this file.
39 ConnectionManager::ConnectionManager( QObject * parent, const char * name ) : DCOPObject( "ConnectionManager" ),QObject( parent )
46 connectDCOPSignal( "kded", "networkstatus", "statusChange(QString,int)", "slotStatusChanged(QString,int)", false );
66 NetworkStatus::EnumStatus daemonStatus = (NetworkStatus::EnumStatus)d->m_stub->status( QString() );
116 NetworkStatus::EnumRequestResult ConnectionManager::requestConnection( QWidget * mainWidget, const QString & host, bool userInitiated )
120 // if offline and the user has previously indicated they didn't want any new connections, suppress it
157 i18n( "A network connection was disconnected. The application is now in offline mode. Do you want the application to resume network operations when the network is available again?" );
160 i18n("This application is currently in offline mode. Do you want to connect in order to carry out this operation?"),
bool askToConnect(QWidget *mainWidget)
Definition: connectionmanager.cpp:155
void statusChanged(const QString &host, NetworkStatus::EnumStatus status)
NetworkStatus::EnumStatus status(const QString &host)
Definition: connectionmanager.cpp:103
Definition: connectionmanager.h:28
Definition: networkstatuscommon.h:9
Definition: connectionmanager.h:34
Definition: connectionmanager.h:34
void relinquishConnection(const QString &host)
Definition: connectionmanager.cpp:139
Definition: networkstatuscommon.h:9
void slotStatusChanged(QString host, int status)
Definition: connectionmanager.cpp:144
Definition: connectionmanager.h:34
KOPETE_EXPORT QWidget * mainWidget()
Returns the main widget - this is the widget that message boxes and KNotify stuff should use as a par...
Definition: kopeteuiglobal.cpp:37
Definition: networkstatuscommon.h:9
virtual ~ConnectionManager()
Definition: connectionmanager.cpp:98
NetworkStatus::EnumRequestResult requestConnection(QWidget *mainWidget, const QString &host, bool userInitiated)
Definition: connectionmanager.cpp:116
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:50 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:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.