diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/plugins/scripting/kexidb/kexidbconnectiondata.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/plugins/scripting/kexidb/kexidbconnectiondata.h')
-rw-r--r-- | kexi/plugins/scripting/kexidb/kexidbconnectiondata.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/kexi/plugins/scripting/kexidb/kexidbconnectiondata.h b/kexi/plugins/scripting/kexidb/kexidbconnectiondata.h index aaddffbd..b82c7b6e 100644 --- a/kexi/plugins/scripting/kexidb/kexidbconnectiondata.h +++ b/kexi/plugins/scripting/kexidb/kexidbconnectiondata.h @@ -20,7 +20,7 @@ #ifndef KROSS_KEXIDB_KEXIDBCONNECTIONDATA_H #define KROSS_KEXIDB_KEXIDBCONNECTIONDATA_H -#include <qstring.h> +#include <tqstring.h> #include <api/object.h> #include <api/variant.h> @@ -44,46 +44,46 @@ namespace Kross { namespace KexiDB { virtual ~KexiDBConnectionData(); operator ::KexiDB::ConnectionData& () { return *m_data; } operator ::KexiDB::ConnectionData* () { return m_data; } - virtual const QString getClassName() const; + virtual const TQString getClassName() const; ::KexiDB::ConnectionData* data() { return m_data; } private: /** Return the connection name. */ - const QString caption() const; + const TQString caption() const; /** Set the connection name. */ - void setCaption(const QString& name); + void setCaption(const TQString& name); /** Return the description. */ - const QString description() const; + const TQString description() const; /** Set the description. */ - void setDescription(const QString& desc); + void setDescription(const TQString& desc); /** Return drivername. */ - const QString driverName() const; + const TQString driverName() const; /** Set the drivername. */ - void setDriverName(const QString& driver); + void setDriverName(const TQString& driver); /** Return true if a local socket file is used else false. */ bool localSocketFileUsed() const; /** Set if the local socket file should be used. */ void setLocalSocketFileUsed(bool used); /** Return the local socket filename. */ - const QString localSocketFileName() const; + const TQString localSocketFileName() const; /** Set the local socket filename. */ - void setLocalSocketFileName(const QString& socketfilename); + void setLocalSocketFileName(const TQString& socketfilename); // For serverbased drivers /** Return the database name. */ - const QString databaseName() const; + const TQString databaseName() const; /** Set the database name. */ - void setDatabaseName(const QString& dbname); + void setDatabaseName(const TQString& dbname); /** Return the hostname. */ - const QString hostName() const; + const TQString hostName() const; /** Set the hostname. */ - void setHostName(const QString& hostname); + void setHostName(const TQString& hostname); /** Return the port number. */ int port() const; @@ -91,33 +91,33 @@ namespace Kross { namespace KexiDB { void setPort(int p); /** Return the password. */ - const QString password() const; + const TQString password() const; /** Set the password. */ - void setPassword(const QString& passwd); + void setPassword(const TQString& passwd); /** Return the username. */ - const QString userName() const; + const TQString userName() const; /** Set the username. */ - void setUserName(const QString& username); + void setUserName(const TQString& username); // For filebased drivers /** Return the filename. */ - const QString fileName() const; + const TQString fileName() const; /** Set the filename. */ - void setFileName(const QString& filename); + void setFileName(const TQString& filename); /** Return the database path. */ - const QString dbPath() const; + const TQString dbPath() const; /** Return the database filename. */ - const QString dbFileName() const; + const TQString dbFileName() const; /** Return a user-friendly string representation. */ - const QString serverInfoString() const; + const TQString serverInfoString() const; private: ::KexiDB::ConnectionData* m_data; - QString m_dbname; + TQString m_dbname; }; }} |