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/migration/migratemanager.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/migration/migratemanager.h')
-rw-r--r-- | kexi/migration/migratemanager.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kexi/migration/migratemanager.h b/kexi/migration/migratemanager.h index c876ab91..593a931b 100644 --- a/kexi/migration/migratemanager.h +++ b/kexi/migration/migratemanager.h @@ -20,10 +20,10 @@ #ifndef KEXI_MIGRATION_MNGR_H #define KEXI_MIGRATION_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> @@ -35,10 +35,10 @@ namespace KexiMigration { class MigrateManagerInternal; //! @short Migration library management, for finding and loading mogration drivers. -class KEXIMIGR_EXPORT MigrateManager : public QObject, public KexiDB::Object +class KEXIMIGR_EXPORT MigrateManager : public TQObject, public KexiDB::Object { public: - typedef QMap<QString, KService::Ptr> ServicesMap; + typedef TQMap<TQString, KService::Ptr> ServicesMap; MigrateManager(); virtual ~MigrateManager(); @@ -46,29 +46,29 @@ class KEXIMIGR_EXPORT MigrateManager : 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) */ - KexiMigrate* driver(const QString& name); + KexiMigrate* 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(); /*! Looks up a drivers list by MIME type of database file. Only file-based database drivers are checked. The lookup is case insensitive. \return driver name or null string if no driver found. */ - QString driverForMimeType(const QString &mimeType); + TQString driverForMimeType(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(); //! @todo copied from KexiDB::DriverManager, merge it. /*! HTML information about possible problems encountered. It's displayed in 'details' section, if an error encountered. Currently it contains a list of incompatible migration drivers. */ - QString possibleProblemsInfoMsg() const; + TQString possibleProblemsInfoMsg() const; protected: virtual void drv_clearServerResult(); |