From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: 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 --- kexi/core/kexiprojectconnectiondata.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kexi/core/kexiprojectconnectiondata.h') diff --git a/kexi/core/kexiprojectconnectiondata.h b/kexi/core/kexiprojectconnectiondata.h index 04ff40ff..4430907d 100644 --- a/kexi/core/kexiprojectconnectiondata.h +++ b/kexi/core/kexiprojectconnectiondata.h @@ -22,8 +22,8 @@ #include -class QDomElement; -class QDomDocument; +class TQDomElement; +class TQDomDocument; class KoStore; /** * This class aims to provide @@ -39,30 +39,30 @@ class KEXICORE_EXPORT KexiProjectConnectionData:public KexiDB::ConnectionData KexiProjectConnectionData(); - KexiProjectConnectionData(const QString& driverName, const QString& databaseName, const QString &hostName, unsigned short int port, - const QString& userName, const QString &password, const QString& fileName); + KexiProjectConnectionData(const TQString& driverName, const TQString& databaseName, const TQString &hostName, unsigned short int port, + const TQString& userName, const TQString &password, const TQString& fileName); /** * connect to a embedded database */ - KexiProjectConnectionData(const QString &driverName, const QString &fileName=QString::null); + KexiProjectConnectionData(const TQString &driverName, const TQString &fileName=TQString()); ~KexiProjectConnectionData(); - static const QString &generateTmpName(); + static const TQString &generateTmpName(); - static KexiProjectConnectionData* loadInfo(QDomElement &e); - void writeInfo(QDomDocument &doc); + static KexiProjectConnectionData* loadInfo(TQDomElement &e); + void writeInfo(TQDomDocument &doc); - void setDriverName(const QString &driverName); - void setDatabaseName(const QString &databaseName); + void setDriverName(const TQString &driverName); + void setDatabaseName(const TQString &databaseName); - QString driverName() const; - QString databaseName() const; + TQString driverName() const; + TQString databaseName() const; private: - QString m_driverName; - QString m_databaseName; + TQString m_driverName; + TQString m_databaseName; }; -- cgit v1.2.1