diff options
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(); |