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 /plugins/audiooutput/arts | |
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 'plugins/audiooutput/arts')
-rw-r--r-- | plugins/audiooutput/arts/k3bartsoutputplugin.cpp | 8 | ||||
-rw-r--r-- | plugins/audiooutput/arts/k3bartsoutputplugin.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/plugins/audiooutput/arts/k3bartsoutputplugin.cpp b/plugins/audiooutput/arts/k3bartsoutputplugin.cpp index 893571a..e3ce210 100644 --- a/plugins/audiooutput/arts/k3bartsoutputplugin.cpp +++ b/plugins/audiooutput/arts/k3bartsoutputplugin.cpp @@ -24,8 +24,8 @@ K_EXPORT_COMPONENT_FACTORY( libk3bartsoutputplugin, K3bPluginFactory<K3bArtsOutputPlugin>( "k3bartsoutputplugin" ) ) -K3bArtsOutputPlugin::K3bArtsOutputPlugin( QObject* parent, const char* name ) - : K3bAudioOutputPlugin( parent, name ), +K3bArtsOutputPlugin::K3bArtsOutputPlugin( TQObject* tqparent, const char* name ) + : K3bAudioOutputPlugin( tqparent, name ), m_initialized(false), m_lastErrorCode(0) { @@ -83,8 +83,8 @@ bool K3bArtsOutputPlugin::init() } -QString K3bArtsOutputPlugin::lastErrorMessage() const +TQString K3bArtsOutputPlugin::lastErrorMessage() const { - return QString::fromLocal8Bit( arts_error_text(m_lastErrorCode) ); + return TQString::fromLocal8Bit( arts_error_text(m_lastErrorCode) ); } diff --git a/plugins/audiooutput/arts/k3bartsoutputplugin.h b/plugins/audiooutput/arts/k3bartsoutputplugin.h index 57a2b22..8778187 100644 --- a/plugins/audiooutput/arts/k3bartsoutputplugin.h +++ b/plugins/audiooutput/arts/k3bartsoutputplugin.h @@ -24,16 +24,16 @@ class K3bArtsOutputPlugin : public K3bAudioOutputPlugin { public: - K3bArtsOutputPlugin( QObject* parent = 0, const char* name = 0 ); + K3bArtsOutputPlugin( TQObject* tqparent = 0, const char* name = 0 ); ~K3bArtsOutputPlugin(); int pluginSystemVersion() const { return 3; } - QCString soundSystem() const { return "arts"; } + TQCString soundSystem() const { return "arts"; } bool init(); void cleanup(); - QString lastErrorMessage() const; + TQString lastErrorMessage() const; int write( char* data, int len ); |