33 #ifndef kmservertest_h
34 #define kmservertest_h
38 #include <tqstringlist.h>
47 class KMServerTest : public TQObject
53 KMServerTest( const TQString & protocol, const TQString & host, int port );
54 virtual ~KMServerTest();
57 void capabilities( const TQStringList & capaNormal,
58 const TQStringList & capaSSL );
59 void capabilities( const TQStringList & capaNormal,
60 const TQStringList & capaSSL,
61 const TQString & authNone, const TQString & authSSL,
62 const TQString & authTLS );
65 void slotData(TDEIO::Job *job, const TQString &data);
66 void slotResult(TDEIO::Job *job);
67 void slotMetaData( const TDEIO::MetaData & );
68 void slotSlaveResult(TDEIO::Slave *aSlave, int error,
69 const TQString &errorText = TQString());
72 TDEIO::MetaData slaveConfig() const;
73 void startOffSlave( int port=0 );
76 const TQString mProtocol;
79 TQStringList mListNormal;
80 TQStringList mListSSL;
84 TDEIO::SimpleJob *mJob;
86 int mConnectionErrorCount;
|