diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
commit | d8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch) | |
tree | f295f1c545b319963d5357af79fe08991d8141d9 /libk3b/plugin/k3baudiooutputplugin.h | |
parent | 2a39a080579fb52a2599c02b2939795385b89093 (diff) | |
download | k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip |
TQt4 port k3b
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/plugin/k3baudiooutputplugin.h')
-rw-r--r-- | libk3b/plugin/k3baudiooutputplugin.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libk3b/plugin/k3baudiooutputplugin.h b/libk3b/plugin/k3baudiooutputplugin.h index 97e897a..fdd57a5 100644 --- a/libk3b/plugin/k3baudiooutputplugin.h +++ b/libk3b/plugin/k3baudiooutputplugin.h @@ -25,18 +25,19 @@ class LIBK3B_EXPORT K3bAudioOutputPlugin : public K3bPlugin { Q_OBJECT + TQ_OBJECT public: virtual ~K3bAudioOutputPlugin() { } - QString group() const { return "AudioOutput"; } + TQString group() const { return "AudioOutput"; } /** * This is the short name of the sound system which can be used * to specify the sound system on the command line (like "arts", "alsa", or "oss") */ - virtual QCString soundSystem() const = 0; + virtual TQCString soundSystem() const = 0; /** * Initialize the plugin. @@ -51,7 +52,7 @@ class LIBK3B_EXPORT K3bAudioOutputPlugin : public K3bPlugin */ virtual void cleanup() {} - virtual QString lastErrorMessage() const { return QString::null; } + virtual TQString lastErrorMessage() const { return TQString(); } /** * Let there be sound... @@ -61,8 +62,8 @@ class LIBK3B_EXPORT K3bAudioOutputPlugin : public K3bPlugin virtual int write( char* data, int len ) = 0; protected: - K3bAudioOutputPlugin( QObject* parent = 0, const char* name = 0 ) - : K3bPlugin( parent, name ) { + K3bAudioOutputPlugin( TQObject* tqparent = 0, const char* name = 0 ) + : K3bPlugin( tqparent, name ) { } }; |