kopete/libkopete
managedconnectionaccount.cpp
Go to the documentation of this file.
30 QObject::connect( ConnectionManager::self(), SIGNAL(statusChanged(QString,NetworkStatus::EnumStatus)),
43 // need to adapt libkopete so we know the hostname in this class and whether the connection was user initiated
45 NetworkStatus::EnumRequestResult response = ConnectionManager::self()->requestConnection( Kopete::UI::Global::mainWidget(), QString(), true );
56 void ManagedConnectionAccount::slotConnectionStatusChanged( const QString & host, NetworkStatus::EnumStatus status )
60 if ( m_waitingForConnection && ( status == NetworkStatus::Online || status == NetworkStatus::NoNetworks ) )
void connectWithPassword(const QString &password)
Begin the connection process, by checking if the connection is available with the ConnectionManager...
Definition: managedconnectionaccount.cpp:34
NetworkStatus::EnumStatus status(const QString &host)
Definition: connectionmanager.cpp:103
Definition: networkstatuscommon.h:10
Definition: networkstatuscommon.h:9
virtual void performConnectWithPassword(const QString &password)=0
Connect to the server, once the network is available.
Definition: networkstatuscommon.h:9
An account requiring a password to connect.
Definition: kopetepasswordedaccount.h:36
bool isConnected() const
Indicate whether the account is connected at all.
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
ManagedConnectionAccount(Protocol *parent, const QString &acctId)
ManagedConnectionAccount constructor.
Definition: managedconnectionaccount.cpp:27
Definition: networkstatuscommon.h:9
Password & password()
Returns a reference to the password object stored in this account.
Definition: kopetepasswordedaccount.cpp:44
NetworkStatus::EnumRequestResult requestConnection(QWidget *mainWidget, const QString &host, bool userInitiated)
Definition: connectionmanager.cpp:116
virtual void slotConnectionStatusChanged(const QString &host, NetworkStatus::EnumStatus status)
Handle a change in the network connection Called by the ConnectionManager when the network comes up o...
Definition: managedconnectionaccount.cpp:56
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.