diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 23:15:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 23:15:51 +0000 |
commit | 6b1b516f42036cf9eff691dba3fd6e9eab82a7e1 (patch) | |
tree | 6830f75fd57d0fac7e33c097ee98b210e90c5239 /src/options.h | |
parent | 6318b8bb3ef964cfa99ba454a2630779cc9ac3ec (diff) | |
download | soundkonverter-6b1b516f42036cf9eff691dba3fd6e9eab82a7e1.tar.gz soundkonverter-6b1b516f42036cf9eff691dba3fd6e9eab82a7e1.zip |
TQt4 port soundkonverter
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/soundkonverter@1239038 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/options.h')
-rwxr-xr-x | src/options.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/options.h b/src/options.h index f675aa1..65c566b 100755 --- a/src/options.h +++ b/src/options.h @@ -3,7 +3,7 @@ #ifndef OPTIONS_H #define OPTIONS_H -#include <qwidget.h> +#include <tqwidget.h> #include "conversionoptions.h" @@ -13,7 +13,7 @@ class OptionsSimple; class OptionsDetailed; class Config; -class QStringList; +class TQStringList; class KTabWidget; class KPushButton; @@ -23,7 +23,7 @@ class KPushButton; */ struct ProfileData { - QString name; + TQString name; ConversionOptions options; }; @@ -33,7 +33,7 @@ struct ProfileData */ // struct OptionsData // { -// QString name; +// TQString name; // ConversionOptions options; // }; @@ -43,14 +43,15 @@ struct ProfileData * @author Daniel Faust <[email protected]> * @version 0.3 */ -class Options : public QWidget +class Options : public TQWidget { Q_OBJECT + TQ_OBJECT public: /** * Constructor */ - Options( Config*, const QString &text, QWidget* parent = 0, const char* name = 0 ); + Options( Config*, const TQString &text, TQWidget* tqparent = 0, const char* name = 0 ); /** * Destructor @@ -71,17 +72,17 @@ public slots: /** * Set the current profile */ - void setProfile( const QString& ); + void setProfile( const TQString& ); /** * Set the current format */ - void setFormat( const QString& ); + void setFormat( const TQString& ); /** * Set the current output directory */ - void setOutputDirectory( const QString& ); + void setOutputDirectory( const TQString& ); private: /** Toggle between normal and advanced options in the detailed tab */ @@ -107,7 +108,7 @@ private: //void updateSimpleTab(); private slots: - void tabChanged( QWidget* ); + void tabChanged( TQWidget* ); void somethingChanged(); void configChanged(); // void getPluginListFinished( KIO::Job* job ); |