summaryrefslogtreecommitdiffstats
path: root/src/outputdirectory.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 23:15:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 23:15:51 +0000
commit6b1b516f42036cf9eff691dba3fd6e9eab82a7e1 (patch)
tree6830f75fd57d0fac7e33c097ee98b210e90c5239 /src/outputdirectory.h
parent6318b8bb3ef964cfa99ba454a2630779cc9ac3ec (diff)
downloadsoundkonverter-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/outputdirectory.h')
-rwxr-xr-xsrc/outputdirectory.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/src/outputdirectory.h b/src/outputdirectory.h
index 85b5236..329f2b8 100755
--- a/src/outputdirectory.h
+++ b/src/outputdirectory.h
@@ -3,7 +3,7 @@
#ifndef OUTPUTDIRECTORY_H
#define OUTPUTDIRECTORY_H
-#include <qwidget.h>
+#include <tqwidget.h>
#include <kprocess.h>
class FileListItem;
@@ -18,9 +18,10 @@ class KToolBarButton;
* @author Daniel Faust <[email protected]>
* @version 0.3
*/
-class OutputDirectory : public QWidget
+class OutputDirectory : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
enum Mode {
// Default,
@@ -33,18 +34,18 @@ public:
/**
* Constructor
*/
- OutputDirectory( Config*, QWidget* parent = 0, const char* name = 0 );
+ OutputDirectory( Config*, TQWidget* tqparent = 0, const char* name = 0 );
Mode mode();
void setMode( Mode );
- QString directory();
- void setDirectory( const QString& );
+ TQString directory();
+ void setDirectory( const TQString& );
- static QString calcPath( FileListItem* fileListItem, Config* config, QString extension = "" );
- static QString changeExtension( const QString& filename, const QString& extension );
- static QString uniqueFileName( const QString& filename );
- static QString makePath( const QString& path );
- static QString vfatPath( const QString& path );
+ static TQString calcPath( FileListItem* fileListItem, Config* config, TQString extension = "" );
+ static TQString changeExtension( const TQString& filename, const TQString& extension );
+ static TQString uniqueFileName( const TQString& filename );
+ static TQString makePath( const TQString& path );
+ static TQString vfatPath( const TQString& path );
/**
* Destructor
@@ -58,7 +59,7 @@ public slots:
private slots:
void modeChangedSlot( int );
- void directoryChangedSlot( const QString& );
+ void directoryChangedSlot( const TQString& );
void selectDir();
void gotoDir();
//void modeInfo();
@@ -80,13 +81,13 @@ private:
Config* config;
-/* QString sharedDirPath;
- QString metadataPath;
- QString copyStructurePath;
+/* TQString sharedDirPath;
+ TQString metadataPath;
+ TQString copyStructurePath;
*/
signals:
void modeChanged( OutputDirectory::Mode );
- void directoryChanged( const QString& );
+ void directoryChanged( const TQString& );
};
#endif // OUTPUTDIRECTORY_H