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/src/fxpluginhandler.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'ksayit/src/fxpluginhandler.h') diff --git a/ksayit/src/fxpluginhandler.h b/ksayit/src/fxpluginhandler.h index 1a3d54a..43c820f 100644 --- a/ksayit/src/fxpluginhandler.h +++ b/ksayit/src/fxpluginhandler.h @@ -13,12 +13,12 @@ #define FXPLUGINHANDLER_H // QT includes -#include -#include -#include -#include -#include -// #include +#include +#include +#include +#include +#include +// #include // KDE includes #include @@ -36,9 +36,9 @@ using namespace Arts; /** Internal structure of the effect plugin */ typedef struct { - QString name; // KService::Ptr->name() - QString library; // KService::Ptr->library() - QString description; + TQString name; // KService::Ptr->name() + TQString library; // KService::Ptr->library() + TQString description; long EffectID; // !=0, if effect is on the effect stack. FXPlugin *p; // factory->create(...) } fx_struct; @@ -48,7 +48,7 @@ class FXPluginHandler : public QObject { Q_OBJECT public: - FXPluginHandler(QObject *parent = 0, const char *name = 0, KConfig *config=0); + FXPluginHandler(TQObject *parent = 0, const char *name = 0, KConfig *config=0); ~FXPluginHandler(); public: // Methods @@ -64,14 +64,14 @@ public: // Methods /** Shows the GUI to setup the effect named name \param pname The name of the effect to configure. */ - void showEffectGUI(const QString &pname); + void showEffectGUI(const TQString &pname); /** Activates the named effect \param pname Name of the effect to activate. \param server A pointer to the soundserver instance. \param fx_stack A pointer to the effect stack of the soundserver. */ - void activateEffect(const QString &pname, + void activateEffect(const TQString &pname, KArtsServer *server, StereoEffectStack *fx_stack); @@ -81,15 +81,15 @@ public: // Methods void deactivateEffects(StereoEffectStack *fx_stack); /** Returns a list of all available plugins. - \param pluginlist A reference to a QStringList that contains the available plugins. + \param pluginlist A reference to a TQStringList that contains the available plugins. */ - void getPlugins(QStringList &pluginlist); + void getPlugins(TQStringList &pluginlist); private: // Attributes KConfig *m_config; - QMap m_mapPluginList; // holds all plugins found on the system - // QMap m_mapActivePlugins; // holds the active effects - QStringList m_lstActivePlugins; + TQMap m_mapPluginList; // holds all plugins found on the system + // TQMap m_mapActivePlugins; // holds the active effects + TQStringList m_lstActivePlugins; }; -- cgit v1.2.1