kitchensync Library API Documentation

socket.h

00001 #ifndef VR3_SOCKET_H 00002 #define VR3_SOCKET_H 00003 00004 #include <qobject.h> 00005 00006 #include <syncee.h> 00007 #include <synceelist.h> 00008 00009 #include <stderror.h> 00010 #include <stdprogress.h> 00011 00012 namespace KSync { 00013 class AgendaSocket : public QObject { 00014 Q_OBJECT 00015 public: 00016 AgendaSocket( QObject* obj ); 00017 ~AgendaSocket(); 00018 00020 void setIP( const QString& ip ); 00021 00023 void setMetaName( const QString& name ); 00024 QString metaName()const; 00025 00026 void startUP(); 00027 void hangUP(); 00028 00030 bool isConnected()const; 00031 00033 void startSync(); 00034 00035 void write( SynceeList ); 00036 /* signals for the bridge */ 00037 signals: 00038 void sync(SynceeList); 00039 void error(const Error& ); 00040 void prog( const Progress& ); 00041 00042 private: 00043 bool m_isConnected :1 ; 00044 QString m_ip; 00045 QString m_meta; 00046 }; 00047 } 00048 00049 00050 #endif
KDE Logo
This file is part of the documentation for kitchensync Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Aug 27 12:50:50 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003