summaryrefslogtreecommitdiffstats
path: root/kresources/groupwise/soap/groupwiseserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/groupwise/soap/groupwiseserver.h')
-rw-r--r--kresources/groupwise/soap/groupwiseserver.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/kresources/groupwise/soap/groupwiseserver.h b/kresources/groupwise/soap/groupwiseserver.h
index 8197ba5cd..8117ebb2b 100644
--- a/kresources/groupwise/soap/groupwiseserver.h
+++ b/kresources/groupwise/soap/groupwiseserver.h
@@ -23,12 +23,12 @@
#include <kio/job.h>
#include <kio/jobclasses.h>
-#include <qapplication.h>
-#include <qmap.h>
-#include <qobject.h>
-#include <qstring.h>
-#include <qthread.h>
-#include <qvaluelist.h>
+#include <tqapplication.h>
+#include <tqmap.h>
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqthread.h>
+#include <tqvaluelist.h>
#include <string>
@@ -69,13 +69,13 @@ enum ErrorCode { NoError, RefreshNeeded };
class AddressBook
{
public:
- typedef QValueList<AddressBook> List;
+ typedef TQValueList<AddressBook> List;
AddressBook() : isPersonal( false ), isFrequentContacts( false ), isSystemAddressBook( false ) {}
- QString id;
- QString name;
- QString description;
+ TQString id;
+ TQString name;
+ TQString description;
bool isPersonal;
bool isFrequentContacts;
bool isSystemAddressBook;
@@ -98,12 +98,12 @@ class GroupwiseServer : public QObject
public:
bool checkResponse( int result, ngwt__Status *status );
enum RetractCause { DueToResend, Other };
- GroupwiseServer( const QString &url, const QString &user,
- const QString &password, QObject *parent );
+ GroupwiseServer( const TQString &url, const TQString &user,
+ const TQString &password, TQObject *parent );
~GroupwiseServer();
int error() const { return mError; }
- QString errorText() const { return mErrorText; }
+ TQString errorText() const { return mErrorText; }
bool login();
bool logout();
@@ -149,22 +149,22 @@ class GroupwiseServer : public QObject
GroupWise::AddressBook::List addressBookList();
- bool readAddressBooksSynchronous( const QStringList &addrBookIds );
- bool updateAddressBooks( const QStringList &addrBookIds,
+ bool readAddressBooksSynchronous( const TQStringList &addrBookIds );
+ bool updateAddressBooks( const TQStringList &addrBookIds,
const unsigned long startSequenceNumber, const unsigned long lastPORebuildTime );
- bool insertAddressee( const QString &addrBookId, KABC::Addressee& );
+ bool insertAddressee( const TQString &addrBookId, KABC::Addressee& );
bool changeAddressee( const KABC::Addressee& );
bool removeAddressee( const KABC::Addressee& );
- bool readFreeBusy( const QString &email, const QDate &start,
- const QDate &end, KCal::FreeBusy * );
+ bool readFreeBusy( const TQString &email, const TQDate &start,
+ const TQDate &end, KCal::FreeBusy * );
bool dumpData();
void dumpFolderList();
// bool getDelta();
- GroupWise::DeltaInfo getDeltaInfo( const QStringList & addressBookIds );
+ GroupWise::DeltaInfo getDeltaInfo( const TQStringList & addressBookIds );
bool getCategoryList();
@@ -176,20 +176,20 @@ class GroupwiseServer : public QObject
void emitReadAddressBookTotalSize( int );
void emitReadAddressBookProcessedSize( int );
- void emitErrorMessage( const QString &, bool );
+ void emitErrorMessage( const TQString &, bool );
void emitGotAddressees( const KABC::Addressee::List );
bool readUserSettings( ngwt__Settings *&settings );
- bool modifyUserSettings( QMap<QString, QString> & );
+ bool modifyUserSettings( TQMap<TQString, TQString> & );
- QString userEmail() const { return mUserEmail; }
- QString userName() const { return mUserName; }
- QString userUuid() const { return mUserUuid; }
+ TQString userEmail() const { return mUserEmail; }
+ TQString userName() const { return mUserName; }
+ TQString userUuid() const { return mUserUuid; }
signals:
void readAddressBookTotalSize( int );
void readAddressBookProcessedSize( int );
- void errorMessage( const QString &, bool );
+ void errorMessage( const TQString &, bool );
void gotAddressees( const KABC::Addressee::List );
protected:
@@ -205,29 +205,29 @@ class GroupwiseServer : public QObject
/**
* Given a partial record ID, query the server for the full version from the calendar folder
*/
- std::string getFullIDFor( const QString & );
+ std::string getFullIDFor( const TQString & );
/**
* Check if an incidence involves other people
*/
bool iAmTheOrganizer( KCal::Incidence * );
- void log( const QString &prefix, const char *s, size_t n );
+ void log( const TQString &prefix, const char *s, size_t n );
protected slots:
void slotSslError();
private:
- QString mUrl;
- QString mUser;
- QString mPassword;
+ TQString mUrl;
+ TQString mUser;
+ TQString mPassword;
bool mSSL;
std::string mSession;
- QString mUserName;
- QString mUserEmail;
- QString mUserUuid;
+ TQString mUserName;
+ TQString mUserEmail;
+ TQString mUserUuid;
std::string mCalendarFolder;
std::string mCheckListFolder;
@@ -238,9 +238,9 @@ class GroupwiseServer : public QObject
KExtendedSocket *m_sock;
int mError;
- QString mErrorText;
+ TQString mErrorText;
- QString mLogFile;
+ TQString mLogFile;
};
#endif