summaryrefslogtreecommitdiffstats
path: root/src/cdmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdmanager.h')
-rwxr-xr-xsrc/cdmanager.h25
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;
};