From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- arts/modules/common/env_mixeritem_impl.cc | 2 +- arts/modules/effects/kstereovolumecontrolgui_impl.cpp | 6 +++--- arts/modules/effects/kstereovolumecontrolgui_impl.h | 16 ++++++++-------- arts/modules/synth/c_filter_stuff.h | 12 ++++++------ 4 files changed, 18 insertions(+), 18 deletions(-) (limited to 'arts/modules') diff --git a/arts/modules/common/env_mixeritem_impl.cc b/arts/modules/common/env_mixeritem_impl.cc index 632d8187..0f4db5e8 100644 --- a/arts/modules/common/env_mixeritem_impl.cc +++ b/arts/modules/common/env_mixeritem_impl.cc @@ -49,7 +49,7 @@ public: if(newName != _name) { _name = newName; - amClient.title(i18n("Mixer (\"%1\")").arg(QString::fromUtf8(_name.c_str())).utf8().data()); + amClient.title(i18n("Mixer (\"%1\")").arg(TQString::fromUtf8(_name.c_str())).utf8().data()); amClient.autoRestoreID("mixer_"+_name); for(unsigned int i = 0; i < _inputs.size(); i++) _inputs[i].busname(channelName(i)); diff --git a/arts/modules/effects/kstereovolumecontrolgui_impl.cpp b/arts/modules/effects/kstereovolumecontrolgui_impl.cpp index 3dca494c..b4db259a 100644 --- a/arts/modules/effects/kstereovolumecontrolgui_impl.cpp +++ b/arts/modules/effects/kstereovolumecontrolgui_impl.cpp @@ -21,15 +21,15 @@ #include "kstereovolumecontrolgui_impl.h" -#include +#include #include #include using namespace Arts; -KStereoVolumeControlGui_impl::KStereoVolumeControlGui_impl( QFrame* w ) : KLayoutBox_impl( w ? w : new QFrame( 0 ) ) +KStereoVolumeControlGui_impl::KStereoVolumeControlGui_impl( TQFrame* w ) : KLayoutBox_impl( w ? w : new TQFrame( 0 ) ) { - //kdDebug()<<"KStereoVolumeControlGui_impl::KStereoVolumeControlGui_impl( QFrame* "<addWidget( _label, -100 ); _label.bottom( Arts::East ); diff --git a/arts/modules/effects/kstereovolumecontrolgui_impl.h b/arts/modules/effects/kstereovolumecontrolgui_impl.h index 1681b07c..8729232f 100644 --- a/arts/modules/effects/kstereovolumecontrolgui_impl.h +++ b/arts/modules/effects/kstereovolumecontrolgui_impl.h @@ -46,7 +46,7 @@ protected: float _dbmin, _dbmax; Arts::Direction _dir; public: - KStereoVolumeControlGui_impl( QFrame* =0 ); + KStereoVolumeControlGui_impl( TQFrame* =0 ); void constructor( Arts::StereoVolumeControl ); @@ -76,18 +76,18 @@ private: } // namespace Arts -#include -#include +#include +#include -class KStereoVolumeControlGui_EventMapper : public QObject { +class KStereoVolumeControlGui_EventMapper : public TQObject { Q_OBJECT public: - QTimer* _timer; + TQTimer* _timer; Arts::KStereoVolumeControlGui_impl* _impl; public: - KStereoVolumeControlGui_EventMapper( Arts::KStereoVolumeControlGui_impl* impl, QObject* parent, const char* name=0 ) : QObject( parent,name ), _impl( impl ) { - _timer = new QTimer( this ); - connect( _timer, SIGNAL( timeout() ), this, SLOT( slotTimerSignal() ) ); + KStereoVolumeControlGui_EventMapper( Arts::KStereoVolumeControlGui_impl* impl, TQObject* parent, const char* name=0 ) : TQObject( parent,name ), _impl( impl ) { + _timer = new TQTimer( this ); + connect( _timer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotTimerSignal() ) ); } public slots: void slotTimerSignal() { _impl->updateValues(); } diff --git a/arts/modules/synth/c_filter_stuff.h b/arts/modules/synth/c_filter_stuff.h index 1729cf08..edd7a4af 100644 --- a/arts/modules/synth/c_filter_stuff.h +++ b/arts/modules/synth/c_filter_stuff.h @@ -150,12 +150,12 @@ typedef struct { int buflen; } ty_afmethod; -#define C_FLOWOUTMETHOD 0 -#define C_RBMETHOD 1 -#define C_SWAPROMETHOD 2 -#define C_SWAPRWMETHOD 3 -#define C_AIMROMETHOD 4 -#define C_AIMRWMETHOD 5 +#define C_FLOWOUQT_METHOD 0 +#define C_RBQT_METHOD 1 +#define C_SWAPROQT_METHOD 2 +#define C_SWAPRWQT_METHOD 3 +#define C_AIMROQT_METHOD 4 +#define C_AIMRWQT_METHOD 5 typedef struct { char *filename; -- cgit v1.2.1