diff options
Diffstat (limited to 'kexi/migration/importwizard.h')
-rw-r--r-- | kexi/migration/importwizard.h | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/kexi/migration/importwizard.h b/kexi/migration/importwizard.h index 7d51a934..95da22cd 100644 --- a/kexi/migration/importwizard.h +++ b/kexi/migration/importwizard.h @@ -29,12 +29,12 @@ #include <kexiutils/tristate.h> #include "migratemanager.h" -class QLabel; -class QCheckBox; -class QPushButton; -class QHBoxLayout; -class QVBoxLayout; -class QVButtonGroup; +class TQLabel; +class TQCheckBox; +class TQPushButton; +class TQHBoxLayout; +class TQVBoxLayout; +class TQVButtonGroup; class KComboBox; class KListView; class KLineEdit; @@ -47,7 +47,7 @@ class KexiPrjTypeSelector; namespace Kexi { - class ObjectStatus; + class ObjecttqStatus; } namespace KexiDB @@ -63,12 +63,13 @@ class KexiMigrate; class KEXIMIGR_EXPORT ImportWizard : public KWizard { Q_OBJECT + TQ_OBJECT public: /*! Creates wizard's instance. \a args contains arguments that can be parsed by parseArguments(). \a *arg will be also set to imported project's filename on success and to null value on failure or cancellation. */ - ImportWizard(QWidget *parent = 0, QMap<QString,QString>* args = 0); + ImportWizard(TQWidget *tqparent = 0, TQMap<TQString,TQString>* args = 0); virtual ~ImportWizard(); public slots: @@ -77,7 +78,7 @@ public slots: protected slots: virtual void next(); virtual void back(); - void pageSelected(const QString &); + void pageSelected(const TQString &); virtual void accept(); virtual void reject(); void helpClicked(); @@ -97,7 +98,7 @@ private: void setupImporting(); bool checkUserInput(); - KexiMigrate* prepareImport(Kexi::ObjectStatus& result); + KexiMigrate* prepareImport(Kexi::ObjecttqStatus& result); /*! Performs import. \return true/false on success/faulure or cancelled when user cancelled importing (mainly @@ -106,9 +107,9 @@ private: bool fileBasedSrcSelected() const; bool fileBasedDstSelected() const; - QString driverNameForSelectedSource(); -// void checkIfSrcTypeFileBased(const QString& srcType); -// void checkIfDstTypeFileBased(const QString& dstType); + TQString driverNameForSelectedSource(); +// void checkIfSrcTypeFileBased(const TQString& srcType); +// void checkIfDstTypeFileBased(const TQString& dstType); void arriveSrcConnPage(); void arriveSrcDBPage(); @@ -117,10 +118,10 @@ private: void arriveFinishPage(); void arriveImportingPage(); - QWidget *m_introPage, /* *m_srcTypePage,*/ *m_srcConnPage, *m_srcDBPage, + TQWidget *m_introPage, /* *m_srcTypePage,*/ *m_srcConnPage, *m_srcDBPage, *m_dstTypePage, *m_dstPage, *m_importTypePage, *m_importingPage, *m_finishPage; - QVButtonGroup *m_importTypeButtonGroup; + TQVButtonGroup *m_importTypeButtonGroup; KexiDBTitlePage* m_dstTitlePage; KComboBox *m_srcTypeCombo; @@ -131,21 +132,21 @@ private: KLineEdit *m_dstNewDBNameLineEdit; KexiProjectSelectorWidget *m_srcDBName; - QLabel *m_lblImportingTxt, *m_lblImportingErrTxt, *m_finishLbl; - QCheckBox *m_openImportedProjectCheckBox; + TQLabel *m_lblImportingTxt, *m_lblImportingErrTxt, *m_finishLbl; + TQCheckBox *m_openImportedProjectCheckBox; bool m_fileBasedDstWasPresented, m_setupFileBasedSrcNeeded, m_importExecuted; //!< used in import() KexiProjectSet* m_prjSet; KProgress *m_progressBar; - QPushButton* m_importOptionsButton; - QMap<QString,QString> *m_args; - QString m_predefinedDatabaseName, m_predefinedMimeType; + TQPushButton* m_importOptionsButton; + TQMap<TQString,TQString> *m_args; + TQString m_predefinedDatabaseName, m_predefinedMimeType; KexiDB::ConnectionData *m_predefinedConnectionData; MigrateManager m_migrateManager; //!< object lives here, so status messages can be globally preserved //! Encoding for source db. Currently only used for MDB driver. //! @todo Hardcoded. Move to KexiMigrate driver's impl. - QString m_sourceDBEncoding; + TQString m_sourceDBEncoding; }; } |