summaryrefslogtreecommitdiffstats
path: root/kmix/mixdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/mixdevice.h')
-rw-r--r--kmix/mixdevice.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kmix/mixdevice.h b/kmix/mixdevice.h
index 89ec052c..8683ce2b 100644
--- a/kmix/mixdevice.h
+++ b/kmix/mixdevice.h
@@ -2,10 +2,10 @@
#define MixDevice_h
#include "volume.h"
-#include <qstring.h>
+#include <tqstring.h>
#include <kconfig.h>
-#include <qobject.h>
-#include <qptrlist.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
// ! @todo : CONSIDER MERGING OF MixDevice and Volume classes:
// Not easy possible, because Volume is used in the driver backends
@@ -35,26 +35,26 @@ class MixDevice : public QObject
MixDevice(int num, Volume &vol, bool recordable, bool mute,
- QString name, ChannelType type = UNKNOWN, DeviceCategory category =
+ TQString name, ChannelType type = UNKNOWN, DeviceCategory category =
SLIDER );
MixDevice(const MixDevice &md);
~MixDevice();
int num() { return _num; };
- QString name() { return _name; };
+ TQString name() { return _name; };
/**
* Returns an unique ID of this MixDevice. By default the number
* 'num' from the constructor is returned. It is recommended that
* a better ID is set directly after constructing the MixDevice using
* the setUniqueID().
*/
- QString& getPK();
+ TQString& getPK();
/**
* Set a suitable PK for this MixDevice. It is used in looking up
* the keys in kmixrc. It is advised to set a nice name, like
* 'PCM_2', which would mean "2nd PCM device of the sound card".
*/
- void setPK(QString &id);
+ void setPK(TQString &id);
bool isRecordable() { return _recordable; };
bool isRecSource() { return _recSource; };
bool isSwitch() { return _switch; } // !! change to _category == MixDevice::SWITCH
@@ -72,10 +72,10 @@ SLIDER );
void setEnumId(int);
unsigned int enumId();
- QPtrList<QString>& enumValues();
+ TQPtrList<TQString>& enumValues();
- void read( KConfig *config, const QString& grp );
- void write( KConfig *config, const QString& grp );
+ void read( KConfig *config, const TQString& grp );
+ void write( KConfig *config, const TQString& grp );
void setType( ChannelType channeltype ) { _type = channeltype; };
ChannelType type() { return _type; };
@@ -102,10 +102,10 @@ SLIDER );
bool _mute; // Available mute option
bool _recSource; // Current rec status
DeviceCategory _category; // category
- QString _name; // Ascii channel name
- QString _pk; // Primary key, used as part in config file keys
+ TQString _name; // Ascii channel name
+ TQString _pk; // Primary key, used as part in config file keys
// A MixDevice, that is an ENUM, has these _enumValues
- QPtrList<QString> _enumValues;
+ TQPtrList<TQString> _enumValues;
int _enumCurrentId;
};