summaryrefslogtreecommitdiffstats
path: root/kmix/mixdevice.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /kmix/mixdevice.h
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
};