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/cdmanager.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/cdmanager.h')
-rwxr-xr-x | src/cdmanager.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/cdmanager.h b/src/cdmanager.h index 9af80c8..4cc8aa8 100755 --- a/src/cdmanager.h +++ b/src/cdmanager.h @@ -5,7 +5,7 @@ #include "tagengine.h" -#include <qobject.h> +#include <tqobject.h> class ConversionOptions; class Paranoia; @@ -21,16 +21,16 @@ public: /** * Constructor */ - CDDevice( const QString& _device="" ); + CDDevice( const TQString& _device="" ); /** * Destructor */ virtual ~CDDevice(); - QString device; + TQString device; Paranoia* para; - QValueList<TagData*> tags; + TQValueList<TagData*> tags; TagData* discTags; int trackCount; int timeCount; @@ -41,9 +41,10 @@ public: * @author Daniel Faust <[email protected]> * @version 0.3 */ -class CDManager : public QObject +class CDManager : public TQObject { Q_OBJECT + TQ_OBJECT public: /** * Constructor @@ -59,36 +60,36 @@ public: * Create a new CDDevice entry in cdDevices. Use @param device or auto search for an audio cd * Return the used device (usefull, if auto searching was used) */ - QString newCDDevice( const QString& device="" ); + TQString newCDDevice( const TQString& device="" ); /** * Return a list of all tracks on the cd in drive @param device */ - QValueList<TagData*> getTrackList( const QString& device ); + TQValueList<TagData*> getTrackList( const TQString& device ); /** * Return the tags of the track @param track on the cd in drive @param device */ - TagData* getTags( const QString& device, int track ); + TagData* getTags( const TQString& device, int track ); /** * Set the tags of the cd in drive @param device */ - void setDiscTags( const QString& device, TagData* tags ); + void setDiscTags( const TQString& device, TagData* tags ); /** * Return the sum of all tracks of the cd in drive @param device */ - int getTrackCount( const QString& device ); + int getTrackCount( const TQString& device ); /** * Return the complete length of the cd in drive @param device */ - int getTimeCount( const QString& device ); + int getTimeCount( const TQString& device ); private: /** a list of all devices */ - QValueList<CDDevice*> cdDevices; + TQValueList<CDDevice*> cdDevices; }; |