From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- wizards/servertype.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'wizards/servertype.h') diff --git a/wizards/servertype.h b/wizards/servertype.h index 7062191db..245036664 100644 --- a/wizards/servertype.h +++ b/wizards/servertype.h @@ -25,7 +25,7 @@ #include #include -#include +#include class ServerType : public QObject { @@ -36,12 +36,12 @@ class ServerType : public QObject /** The unique identifier */ - QString uid; + TQString uid; /** The user visible name */ - QString name; + TQString name; /** Whether the connection is active or passive @@ -53,9 +53,9 @@ class ServerType : public QObject This map contains the uids and the user visible names of a server type. */ - typedef QValueList ConnectionInfoList; + typedef TQValueList ConnectionInfoList; - ServerType( QObject *parent, const char *name ):QObject(parent, name) {} + ServerType( TQObject *parent, const char *name ):TQObject(parent, name) {} virtual ~ServerType() {} /** @@ -75,7 +75,7 @@ class ServerType : public QObject @param uid The uid of the resource. */ - virtual void editConnection( const QString& uid ) = 0; + virtual void editConnection( const TQString& uid ) = 0; /** This method is called whenever the user wants to remove an existing @@ -83,7 +83,7 @@ class ServerType : public QObject @param uid The uid of the resource. */ - virtual void deleteConnection( const QString& uid ) = 0; + virtual void deleteConnection( const TQString& uid ) = 0; /** This method is called whenever the user marks an existing @@ -92,7 +92,7 @@ class ServerType : public QObject @param uid The uid of the resource. @param active Whether the connection shall be set active or not. */ - virtual void activateConnection( const QString& uid, bool active ) = 0; + virtual void activateConnection( const TQString& uid, bool active ) = 0; virtual KConfigPropagator::Change::List changes() = 0; }; @@ -104,21 +104,21 @@ class ServerType : public QObject class ServerTypeFactory : public KLibFactory { public: - virtual ServerType *serverType( QObject *parent, const char *name = 0 ) = 0; + virtual ServerType *serverType( TQObject *parent, const char *name = 0 ) = 0; /** Returns the identifier. */ - virtual QString identifier() const = 0; + virtual TQString identifier() const = 0; /** Returns the i18n'ed name. */ - virtual QString title() const = 0; + virtual TQString title() const = 0; protected: - virtual QObject* createObject( QObject*, const char*, - const char*, const QStringList & ) + virtual TQObject* createObject( TQObject*, const char*, + const char*, const TQStringList & ) { return 0; } }; -- cgit v1.2.1