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/kexidb/drivermanager_p.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/kexidb/drivermanager_p.h')
-rw-r--r-- | kexi/kexidb/drivermanager_p.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/kexi/kexidb/drivermanager_p.h b/kexi/kexidb/drivermanager_p.h index ce92dd03..85388270 100644 --- a/kexi/kexidb/drivermanager_p.h +++ b/kexi/kexidb/drivermanager_p.h @@ -22,24 +22,25 @@ #include <kexidb/object.h> -#include <qobject.h> -#include <qasciidict.h> +#include <tqobject.h> +#include <tqasciidict.h> namespace KexiDB { /*! Internal class of driver manager. */ -class KEXI_DB_EXPORT DriverManagerInternal : public QObject, public KexiDB::Object +class KEXI_DB_EXPORT DriverManagerInternal : public TQObject, public KexiDB::Object { Q_OBJECT + TQ_OBJECT public: ~DriverManagerInternal(); /*! Tries to load db driver \a name. \return db driver, or 0 if error (then error message is also set) */ - KexiDB::Driver* driver(const QString& name); + KexiDB::Driver* driver(const TQString& name); - KexiDB::Driver::Info driverInfo(const QString &name); + KexiDB::Driver::Info driverInfo(const TQString &name); static DriverManagerInternal *self(); @@ -55,9 +56,9 @@ class KEXI_DB_EXPORT DriverManagerInternal : public QObject, public KexiDB::Obje void aboutDelete( Driver* drv ); protected slots: - /*! Used to destroy all drivers on QApplication quit, so even if there are + /*! Used to destroy all drivers on TQApplication quit, so even if there are DriverManager's static instances that are destroyed on program - "static destruction", drivers are not kept after QApplication death. + "static destruction", drivers are not kept after TQApplication death. */ void slotAppQuits(); @@ -73,16 +74,16 @@ class KEXI_DB_EXPORT DriverManagerInternal : public QObject, public KexiDB::Obje DriverManager::ServicesMap m_services_lcase; //! as above but service names in lowercase DriverManager::ServicesMap m_services_by_mimetype; Driver::InfoMap m_driversInfo; //! used to store drivers information - QAsciiDict<KexiDB::Driver> m_drivers; + TQAsciiDict<KexiDB::Driver> m_drivers; ulong m_refCount; - QString m_serverErrMsg; + TQString m_serverErrMsg; int m_serverResultNum; - QString m_serverResultName; + TQString m_serverResultName; //! result names for KParts::ComponentFactory::ComponentLoadingError - QMap<int,QString> m_componentLoadingErrors; + TQMap<int,TQString> m_componentLoadingErrors; - QStringList possibleProblems; + TQStringList possibleProblems; bool lookupDriversNeeded : 1; |