summaryrefslogtreecommitdiffstats
path: root/wizards/servertype.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /wizards/servertype.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'wizards/servertype.h')
-rw-r--r--wizards/servertype.h26
1 files changed, 13 insertions, 13 deletions
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 <kconfigpropagator.h>
#include <klibloader.h>
-#include <qobject.h>
+#include <tqobject.h>
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<ConnectionInfo> ConnectionInfoList;
+ typedef TQValueList<ConnectionInfo> 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; }
};