From 6b1b516f42036cf9eff691dba3fd6e9eab82a7e1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 1 Jul 2011 23:15:51 +0000 Subject: 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 --- src/options.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'src/options.h') 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 +#include #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 * @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 ); -- cgit v1.2.1