summaryrefslogtreecommitdiffstats
path: root/src/optionssimple.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/optionssimple.h')
-rwxr-xr-xsrc/optionssimple.h41
1 files changed, 21 insertions, 20 deletions
diff --git a/src/optionssimple.h b/src/optionssimple.h
index bb88d22..ff9f41b 100755
--- a/src/optionssimple.h
+++ b/src/optionssimple.h
@@ -6,7 +6,7 @@
#include "outputdirectory.h"
#include "conversionoptions.h"
-#include <qwidget.h>
+#include <tqwidget.h>
class Config;
class ConversionOptions;
@@ -21,14 +21,15 @@ class KPushButton;
* @author Daniel Faust <[email protected]>
* @version 0.3
*/
-class OptionsSimple : public QWidget
+class OptionsSimple : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Constructor
*/
- OptionsSimple( Config*, OptionsDetailed*, const QString &text, QWidget* parent=0, const char* name=0 );
+ OptionsSimple( Config*, OptionsDetailed*, const TQString &text, TQWidget* tqparent=0, const char* name=0 );
/**
* Detructor
@@ -45,9 +46,9 @@ public:
*/
void refill(); // TODO syncronize with optionsDetailed
- void setCurrentProfile( const QString& profile );
- void setCurrentFormat( const QString& format );
- void setCurrentOutputDirectory( const QString& directory );
+ void setCurrentProfile( const TQString& profile );
+ void setCurrentFormat( const TQString& format );
+ void setCurrentOutputDirectory( const TQString& directory );
private:
KComboBox* cProfile;
@@ -61,15 +62,15 @@ private:
Config* config;
OptionsDetailed* optionsDetailed;
- QStringList sProfile;
- QStringList sFormat;
+ TQStringList sProfile;
+ TQStringList sFormat;
- int profileIndex( const QString& string );
- int formatIndex( const QString& string );
+ int profileIndex( const TQString& string );
+ int formatIndex( const TQString& string );
//public slots:
-// void setProfile( const QString &profile );
-// void setFormat( const QString &format );
+// void setProfile( const TQString &profile );
+// void setFormat( const TQString &format );
private slots:
void profileInfo();
@@ -78,28 +79,28 @@ private slots:
void profileChanged();
void formatChanged();
void outputDirectoryModeChanged( OutputDirectory::Mode );
- void outputDirectoryPathChanged( const QString& );
+ void outputDirectoryPathChanged( const TQString& );
void somethingChanged();
signals:
-// void setFormat( const QString& format );
-// void setQualityMode( const QString& qualityMode );
+// 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 );
-// void setOutputDirectoryPath( const QString& directory );
+// void setOutputDirectoryPath( const TQString& directory );
// void setOptions( const ConversionOptions& options );
-// void setUserOptions( const QString& options );
+// void setUserOptions( const TQString& options );
void optionsChanged();
};