kopete/libkopete
clientiface.h
Go to the documentation of this file.00001 #ifndef KDED_NETWORKSTATUS_CLIENTIFACE_H 00002 #define KDED_NETWORKSTATUS_CLIENTIFACE_H 00003 00004 #include "networkstatuscommon.h" 00005 00006 #include <dcopobject.h> 00007 00008 class ClientIface : virtual public DCOPObject 00009 { 00010 K_DCOP 00011 k_dcop: 00013 virtual QStringList networks() = 0; 00019 virtual int status( const QString & host = QString() ) = 0; 00026 virtual int request( const QString & host, bool userInitiated ) = 0; 00031 virtual void relinquish( const QString & host ) = 0; 00037 virtual bool reportFailure( const QString & host ) = 0; 00041 k_dcop_signals: 00047 void statusChange( QString host, int status ); 00053 void shutdownRequested( QString host ); 00054 }; 00055 00056 #endif
KDE 4.2 API Reference