diff options
Diffstat (limited to 'kexi/plugins/importexport/csv/kexicsvexportwizard.h')
-rw-r--r-- | kexi/plugins/importexport/csv/kexicsvexportwizard.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/kexi/plugins/importexport/csv/kexicsvexportwizard.h b/kexi/plugins/importexport/csv/kexicsvexportwizard.h index 8fdaecd0..ef2bd17b 100644 --- a/kexi/plugins/importexport/csv/kexicsvexportwizard.h +++ b/kexi/plugins/importexport/csv/kexicsvexportwizard.h @@ -24,8 +24,8 @@ #include "kexicsvexport.h" -class QCheckBox; -class QGroupBox; +class TQCheckBox; +class TQGroupBox; class KPushButton; class KexiMainWindow; class KexiStartupFileDialog; @@ -42,16 +42,17 @@ namespace KexiDB { class KexiCSVExportWizard : public KWizard { Q_OBJECT + TQ_OBJECT public: KexiCSVExportWizard( const KexiCSVExport::Options& options, KexiMainWindow* mainWin, - QWidget * parent = 0, const char * name = 0 ); + TQWidget * tqparent = 0, const char * name = 0 ); virtual ~KexiCSVExportWizard(); bool cancelled() const; - virtual void showPage ( QWidget * page ); + virtual void showPage ( TQWidget * page ); protected slots: virtual void next(); @@ -61,13 +62,13 @@ class KexiCSVExportWizard : public KWizard protected: //! reimplemented to add "Defaults" button on the left hand - virtual void layOutButtonRow( QHBoxLayout * layout ); + virtual void layOutButtonRow( TQHBoxLayout * tqlayout ); //! \return default delimiter depending on mode. - QString defaultDelimiter() const; + TQString defaultDelimiter() const; //! \return default text quote depending on mode. - QString defaultTextQuote() const; + TQString defaultTextQuote() const; //! Helper, works like kapp->config()->readBoolEntry(const char*, bool) but if mode is Clipboard, //! "Exporting" is replaced with "Copying" and "Export" is replaced with "Copy" @@ -75,8 +76,8 @@ class KexiCSVExportWizard : public KWizard //! in \a key, to keep the setting separate. bool readBoolEntry(const char *key, bool defaultValue); - //! Helper like \ref readBoolEntry(const char *, bool), but for QString values. - QString readEntry(const char *key, const QString& defaultValue = QString::null); + //! Helper like \ref readBoolEntry(const char *, bool), but for TQString values. + TQString readEntry(const char *key, const TQString& defaultValue = TQString()); //! Helper, works like kapp->config()->writeEntry(const char*,bool) but if mode is Clipboard, //! "Exporting" is replaced with "Copying" and "Export" is replaced with "Copy" @@ -84,8 +85,8 @@ class KexiCSVExportWizard : public KWizard //! in \a key, to keep the setting separate. void writeEntry(const char *key, bool value); - //! Helper like \ref writeEntry(const char *, bool), but for QString values. - void writeEntry(const char *key, const QString& value); + //! Helper like \ref writeEntry(const char *, bool), but for TQString values. + void writeEntry(const char *key, const TQString& value); //! Helper like \ref writeEntry(const char *, bool), but for deleting config entry. void deleteEntry(const char *key); @@ -95,15 +96,15 @@ class KexiCSVExportWizard : public KWizard // int m_itemId; KexiMainWindow* m_mainWin; KexiStartupFileDialog* m_fileSavePage; - QWidget* m_exportOptionsPage; + TQWidget* m_exportOptionsPage; KPushButton *m_showOptionsButton; KPushButton *m_defaultsBtn; - QGroupBox* m_exportOptionsSection; + TQGroupBox* m_exportOptionsSection; KexiCSVInfoLabel *m_infoLblFrom, *m_infoLblTo; KexiCSVDelimiterWidget* m_delimiterWidget; KexiCSVTextQuoteComboBox* m_textQuote; KexiCharacterEncodingComboBox *m_characterEncodingCombo; - QCheckBox* m_addColumnNamesCheckBox, *m_alwaysUseCheckBox; + TQCheckBox* m_addColumnNamesCheckBox, *m_alwaysUseCheckBox; KexiDB::TableOrQuerySchema* m_tableOrQuery; int m_rowCount; //!< Cached row count for a table/query. bool m_rowCountDetermined : 1; |