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/optionsdetailed.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/optionsdetailed.h')
-rwxr-xr-x | src/optionsdetailed.h | 69 |
1 files changed, 35 insertions, 34 deletions
diff --git a/src/optionsdetailed.h b/src/optionsdetailed.h index e743907..5ab6b2e 100755 --- a/src/optionsdetailed.h +++ b/src/optionsdetailed.h @@ -6,15 +6,15 @@ #include "outputdirectory.h" #include "conversionoptions.h" -#include <qwidget.h> +#include <tqwidget.h> class Config; //class OutputDirectory; class ConversionOptions; -class QLabel; +class TQLabel; class KIntSpinBox; -class QCheckBox; +class TQCheckBox; class KComboBox; class KLineEdit; class KToolBarButton; @@ -24,14 +24,15 @@ class KToolBarButton; * @author Daniel Faust <[email protected]> * @version 0.3 */ -class OptionsDetailed : public QWidget +class OptionsDetailed : public TQWidget { Q_OBJECT + TQ_OBJECT public: /** * Constructor */ - OptionsDetailed( Config*, QWidget* parent=0, const char* name=0 ); + OptionsDetailed( Config*, TQWidget* tqparent=0, const char* name=0 ); /** * Destructor @@ -59,49 +60,49 @@ private: KIntSpinBox* iQuality; KComboBox* cBitrateMode; - QCheckBox* cBitrateRangeSwitch; + TQCheckBox* cBitrateRangeSwitch; KIntSpinBox* iMinBitrate; - QLabel* lBitrateRangeTo; + TQLabel* lBitrateRangeTo; KIntSpinBox* iMaxBitrate; - QLabel* lBitrateRangeUnit; + TQLabel* lBitrateRangeUnit; - QCheckBox* cSamplingrateSwitch; + TQCheckBox* cSamplingrateSwitch; KComboBox* cSamplingrate; - QLabel* lSamplingrateUnit; - QCheckBox* cChannelsSwitch; + TQLabel* lSamplingrateUnit; + TQCheckBox* cChannelsSwitch; KComboBox* cChannels; - QCheckBox* cReplayGain; + TQCheckBox* cReplayGain; KToolBarButton* pProfileSave; KLineEdit* lUserOptions; - QWidget* normalOptions; - QWidget* advancedOptions; + TQWidget* normalOptions; + TQWidget* advancedOptions; OutputDirectory* outputDirectory; Config* config; -// QString getQualityMode(); +// TQString getQualityMode(); - QString lastQualityMode; + TQString lastQualityMode; /** because we can't search within combo boxes, we need a seperate string lists, that we can search */ - QStringList sFormat; - QStringList sQualityMode; - QStringList sBitrateMode; - QStringList sChannels; - int formatIndex( const QString &string ); - int qualityModeIndex( const QString &string ); - int bitrateModeIndex( const QString &string ); - int channelsIndex( const QString &string ); + TQStringList sFormat; + TQStringList sQualityMode; + TQStringList sBitrateMode; + TQStringList sChannels; + int formatIndex( const TQString &string ); + int qualityModeIndex( const TQString &string ); + int bitrateModeIndex( const TQString &string ); + int channelsIndex( const TQString &string ); int getQuality(); bool getBitrateRangeEnabled(); bool getSamplingrateEnabled(); int getSamplingrate(); bool getChannelsEnabled(); - QString getChannels(); + TQString getChannels(); private slots: void formatChanged(); @@ -115,25 +116,25 @@ private slots: void somethingChanged(); public: - QString getFormat(); + TQString getFormat(); OutputDirectory::Mode getOutputDirectoryMode(); - QString getOutputDirectoryPath(); - void setFormat( const QString &format ); - void setQualityMode( const QString &qualityMode ); + TQString getOutputDirectoryPath(); + void setFormat( const TQString &format ); + void setQualityMode( const TQString &qualityMode ); void setQuality( int quality ); - void setBitrateMode( const QString &bitrateMode ); + void setBitrateMode( const TQString &bitrateMode ); void setBitrateRangeEnabled( bool enabled ); void setMinBitrate( int bitrate ); void setMaxBitrate( int bitrate ); void setSamplingrateEnabled( bool enabled ); void setSamplingrate( int sampleRate ); - void setSamplingrate( const QString &sampleRate ); + void setSamplingrate( const TQString &sampleRate ); void setChannelsEnabled( bool enabled ); - void setChannels( const QString &channels ); + void setChannels( const TQString &channels ); void setReplayGainEnabled( bool enabled ); void setOutputDirectoryMode( OutputDirectory::Mode mode ); - void setOutputDirectoryPath( const QString &path ); - void setUserOptions( const QString &options ); + void setOutputDirectoryPath( const TQString &path ); + void setUserOptions( const TQString &options ); public slots: void toggleAdvancedOptions(); |