diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:20:30 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:20:30 +0000 |
commit | 28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c (patch) | |
tree | a2f011f22aa31d0839c6e2118501b7a6d2f2ae96 /ksayit/Freeverb_plugin | |
parent | 0285229d858c8f03cde7354c679a752598cf4515 (diff) | |
download | tdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.tar.gz tdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksayit/Freeverb_plugin')
-rw-r--r-- | ksayit/Freeverb_plugin/freeverbsetupimpl.cpp | 6 | ||||
-rw-r--r-- | ksayit/Freeverb_plugin/freeverbsetupimpl.h | 4 | ||||
-rw-r--r-- | ksayit/Freeverb_plugin/ksayitfreeverblib.cpp | 18 | ||||
-rw-r--r-- | ksayit/Freeverb_plugin/ksayitfreeverblib.h | 18 |
4 files changed, 23 insertions, 23 deletions
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 <qslider.h> -#include <qlcdnumber.h> +#include <tqslider.h> +#include <tqlcdnumber.h> // KDE includes #include <kdebug.h> @@ -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 <qwidget.h> +#include <tqwidget.h> // KDE includes #include <kconfig.h> @@ -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 <qtextcodec.h> -#include <qstringlist.h> +// #include <tqtextcodec.h> +#include <tqstringlist.h> // KDE includes #include <kdebug.h> @@ -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 <qobject.h> -#include <qstringlist.h> +#include <tqobject.h> +#include <tqstringlist.h> // KDE includes #include <ksimpleconfig.h> @@ -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 */ |