From 28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:20:30 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksayit/Freeverb_plugin/freeverbsetupimpl.cpp | 6 +++--- ksayit/Freeverb_plugin/freeverbsetupimpl.h | 4 ++-- ksayit/Freeverb_plugin/ksayitfreeverblib.cpp | 18 +++++++++--------- ksayit/Freeverb_plugin/ksayitfreeverblib.h | 18 +++++++++--------- 4 files changed, 23 insertions(+), 23 deletions(-) (limited to 'ksayit/Freeverb_plugin') diff --git a/ksayit/Freeverb_plugin/freeverbsetupimpl.cpp b/ksayit/Freeverb_plugin/freeverbsetupimpl.cpp index cf16c0d..4fd00be 100644 --- a/ksayit/Freeverb_plugin/freeverbsetupimpl.cpp +++ b/ksayit/Freeverb_plugin/freeverbsetupimpl.cpp @@ -19,8 +19,8 @@ using namespace std; // QT includes -#include -#include +#include +#include // KDE includes #include @@ -28,7 +28,7 @@ using namespace std; // App specific includes #include "freeverbsetupimpl.h" -FreeverbSetupImpl::FreeverbSetupImpl(QWidget *parent, const char *name, bool modal, KConfig *config ) +FreeverbSetupImpl::FreeverbSetupImpl(TQWidget *parent, const char *name, bool modal, KConfig *config ) : Freeverb_Setup(parent,name,modal), m_config(config) { // initialize Widgets diff --git a/ksayit/Freeverb_plugin/freeverbsetupimpl.h b/ksayit/Freeverb_plugin/freeverbsetupimpl.h index 8bee5bb..b243faf 100644 --- a/ksayit/Freeverb_plugin/freeverbsetupimpl.h +++ b/ksayit/Freeverb_plugin/freeverbsetupimpl.h @@ -19,7 +19,7 @@ #define FREEVERBSETUPIMPL_H // QT includes -#include +#include // KDE includes #include @@ -34,7 +34,7 @@ class FreeverbSetupImpl : public Freeverb_Setup { Q_OBJECT public: - FreeverbSetupImpl(QWidget *parent=0, const char *name=0, bool modal=true, KConfig *config=0); + FreeverbSetupImpl(TQWidget *parent=0, const char *name=0, bool modal=true, KConfig *config=0); ~FreeverbSetupImpl(); public slots: diff --git a/ksayit/Freeverb_plugin/ksayitfreeverblib.cpp b/ksayit/Freeverb_plugin/ksayitfreeverblib.cpp index 1edf874..bb91885 100644 --- a/ksayit/Freeverb_plugin/ksayitfreeverblib.cpp +++ b/ksayit/Freeverb_plugin/ksayitfreeverblib.cpp @@ -11,8 +11,8 @@ // // QT includes -// #include -#include +// #include +#include // KDE includes #include @@ -41,19 +41,19 @@ KInstance *FreeverbPluginFactory::p_instance = 0L; // Factory Constructor -FreeverbPluginFactory::FreeverbPluginFactory(QObject *parent, const char* name) +FreeverbPluginFactory::FreeverbPluginFactory(TQObject *parent, const char* name) { p_instance = new KInstance("FreeverbPluginFactory"); } -QObject* FreeverbPluginFactory::createObject(QObject *parent, const char* name, +TQObject* FreeverbPluginFactory::createObject(TQObject *parent, const char* name, const char*, - const QStringList &) + const TQStringList &) { kdDebug(100200) << "FreeverbPluginFactory::createObject()" << endl; - QObject* obj = new FreeverbPlugin( parent, name ); + TQObject* obj = new FreeverbPlugin( parent, name ); emit objectCreated( obj ); return obj; } @@ -62,7 +62,7 @@ QObject* FreeverbPluginFactory::createObject(QObject *parent, const char* name, // Plugin Constructor -FreeverbPlugin::FreeverbPlugin(QObject *parent, const char* name) //, KApplication *Appl) +FreeverbPlugin::FreeverbPlugin(TQObject *parent, const char* name) //, KApplication *Appl) : FXPlugin(parent, name) //, m_Appl(Appl) { m_config = new KSimpleConfig("ksayit_freeverbrc"); @@ -84,14 +84,14 @@ void FreeverbPlugin::setApplication(KApplication *Appl) /** returns the Name of the Plugin */ -QString FreeverbPlugin::getName_KS() const +TQString FreeverbPlugin::getName_KS() const { return "Synth_FREEVERB"; } /** returns a description of the plugin */ -QString FreeverbPlugin::getDescription_KS() const +TQString FreeverbPlugin::getDescription_KS() const { return i18n("This is a freeverb effect."); } diff --git a/ksayit/Freeverb_plugin/ksayitfreeverblib.h b/ksayit/Freeverb_plugin/ksayitfreeverblib.h index 50bfa62..e9731d4 100644 --- a/ksayit/Freeverb_plugin/ksayitfreeverblib.h +++ b/ksayit/Freeverb_plugin/ksayitfreeverblib.h @@ -13,8 +13,8 @@ #define KSAYITFREEVERBLIB_H // QT includes -#include -#include +#include +#include // KDE includes #include @@ -29,14 +29,14 @@ class FreeverbPluginFactory : public KLibFactory Q_OBJECT public: // Consturctor - FreeverbPluginFactory(QObject *parent=0, const char* name=0); + FreeverbPluginFactory(TQObject *parent=0, const char* name=0); // Destructor virtual ~FreeverbPluginFactory(){ delete p_instance; }; - QObject* createObject(QObject *parent=0, const char* name=0, - const char* className="QObject", - const QStringList &args=QStringList()); + TQObject* createObject(TQObject *parent=0, const char* name=0, + const char* className="TQObject", + const TQStringList &args=TQStringList()); private: static KInstance* p_instance; @@ -52,7 +52,7 @@ class FreeverbPlugin : public FXPlugin Q_OBJECT public: // Constructor - FreeverbPlugin(QObject *parent=0, const char* name=0); //, KApplication *Appl=0); + FreeverbPlugin(TQObject *parent=0, const char* name=0); //, KApplication *Appl=0); // Destructor ~FreeverbPlugin(); @@ -63,11 +63,11 @@ public: /** returns the Name of the Plugin */ - QString getName_KS() const; + TQString getName_KS() const; /** returns a description of the plugin */ - QString getDescription_KS() const; + TQString getDescription_KS() const; /** shows the GUI to configure the plugin */ -- cgit v1.2.1