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/soundkonverter.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/soundkonverter.h')
-rwxr-xr-x | src/soundkonverter.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/soundkonverter.h b/src/soundkonverter.h index ce441cf..3ba52aa 100755 --- a/src/soundkonverter.h +++ b/src/soundkonverter.h @@ -20,7 +20,7 @@ class CuesheetEditor; class Logger; class LogViewer; -class QProgressBar; +class TQProgressBar; class KPushButton; class KAction; class KToggleAction; @@ -35,6 +35,7 @@ class KSystemTray; class soundKonverter : public KMainWindow, virtual public DCOPInterface { Q_OBJECT + TQ_OBJECT public: /** * Constructor @@ -50,19 +51,19 @@ public: * When a new instance of soundKonverter should be created, * this function is called and all @p files are passed, that should be opened (for conversion). */ - void openArgFiles( const QStringList &files ); + void openArgFiles( const TQStringList &files ); /** * When a new instance of soundKonverter should be created, * this function is called and all @p files are passed, that should be opened for editing the replaygain tag. */ - void openArgReplayGainFiles( const QStringList &files ); + void openArgReplayGainFiles( const TQStringList &files ); /* * When a new instance of soundKonverter should be created, * this function is called and all @p files are passed, that should be opened for repair. */ -// void openArgRepairFiles( const QStringList &files ); +// void openArgRepairFiles( const TQStringList &files ); /** * When a new instance of soundKonverter should be created, @@ -75,18 +76,18 @@ public: */ int getInstances() { return instances; } - QString device; - QString format; - QString profile; - QString directory; + TQString device; + TQString format; + TQString profile; + TQString directory; bool visible; bool autoclose; - void setNotify( const QString& cmd ); + void setNotify( const TQString& cmd ); /** A system tray icon that is shown, when the main window is hidden */ KSystemTray* systemTray; - //virtual void moveEvent( QMoveEvent* ); + //virtual void moveEvent( TQMoveEvent* ); protected: virtual bool queryClose(); @@ -187,9 +188,9 @@ private slots: void editToolbar(); void newToolbarConfig(); void fileCountChanged( int ); - void setTitle( const QString& ); + void setTitle( const TQString& ); - //void openCuesheetEditor( const QString& content ); + //void openCuesheetEditor( const TQString& content ); public slots: void showFileDialog(); @@ -200,7 +201,7 @@ public slots: signals: //void windowMoved( int x, int y ); // void setPriority( int ); -// void addFilesToReplayGainScanner( QStringList ); +// void addFilesToReplayGainScanner( TQStringList ); }; #endif // SOUNDKONVERTER_H |