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.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.h')
-rw-r--r-- | kexi/kexidb/drivermanager.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kexi/kexidb/drivermanager.h b/kexi/kexidb/drivermanager.h index fa78c841..67358993 100644 --- a/kexi/kexidb/drivermanager.h +++ b/kexi/kexidb/drivermanager.h @@ -22,10 +22,10 @@ #ifndef KEXIDB_DRIVER_MNGR_H #define KEXIDB_DRIVER_MNGR_H -#include <qobject.h> -#include <qcstring.h> -#include <qmap.h> -#include <qdict.h> +#include <tqobject.h> +#include <tqcstring.h> +#include <tqmap.h> +#include <tqdict.h> #include <klibloader.h> #include <kservice.h> @@ -39,10 +39,10 @@ class Connection; class ConnectionData; //! Database driver management, e.g. finding and loading drivers. -class KEXI_DB_EXPORT DriverManager : public QObject, public KexiDB::Object +class KEXI_DB_EXPORT DriverManager : public TQObject, public KexiDB::Object { public: - typedef QMap<QString, KService::Ptr> ServicesMap; + typedef TQMap<TQString, KService::Ptr> ServicesMap; DriverManager(); virtual ~DriverManager(); @@ -50,11 +50,11 @@ class KEXI_DB_EXPORT DriverManager : public QObject, public KexiDB::Object /*! Tries to load db driver with named name \a name. The name is case insensitive. \return db driver, or 0 if error (then error message is also set) */ - Driver* driver(const QString& name); + Driver* driver(const TQString& name); /*! returns list of available drivers names. That drivers can be loaded by first use of driver() method. */ - const QStringList driverNames(); + const TQStringList driverNames(); /*! returns information list of available drivers. That drivers can be loaded by first use of driver() method. */ @@ -64,12 +64,12 @@ class KEXI_DB_EXPORT DriverManager : public QObject, public KexiDB::Object The name is case insensitive. You can check if driver information is not found calling Info::name.isEmpty() (then error message is also set). */ - KexiDB::Driver::Info driverInfo(const QString &name); + KexiDB::Driver::Info driverInfo(const TQString &name); /*! \return service information about driver's named with \a name. The name is case insensitive. In most cases you can use driverInfo() instead. */ - KService::Ptr serviceInfo(const QString &name); + KService::Ptr serviceInfo(const TQString &name); /*! \return a map structure of the services. Not necessary for everyday use. */ const ServicesMap& services(); @@ -79,18 +79,18 @@ class KEXI_DB_EXPORT DriverManager : public QObject, public KexiDB::Object The lookup is case insensitive. \return driver name or null string if no driver found. */ - QString lookupByMime(const QString &mimeType); + TQString lookupByMime(const TQString &mimeType); //! server error is set if there is error at KService level (useful for debugging) - virtual QString serverErrorMsg(); + virtual TQString serverErrorMsg(); virtual int serverResult(); - virtual QString serverResultName(); + virtual TQString serverResultName(); /*! HTML information about possible problems encountered. It's displayed in 'details' section, if an error encountered. Currently it contains a list of incompatible db drivers. Used in KexiStartupHandler::detectDriverForFile(). */ - QString possibleProblemsInfoMsg() const; + TQString possibleProblemsInfoMsg() const; protected: virtual void drv_clearServerResult(); |