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/soundkonverter.h | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'src/soundkonverter.h') 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 -- cgit v1.2.1