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/src/fxpluginhandler.h | |
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/src/fxpluginhandler.h')
-rw-r--r-- | ksayit/src/fxpluginhandler.h | 34 |
1 files changed, 17 insertions, 17 deletions
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 <qobject.h> -#include <qlibrary.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qmap.h> -// #include <qvaluelist.h> +#include <tqobject.h> +#include <tqlibrary.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqmap.h> +// #include <tqvaluelist.h> // KDE includes #include <kconfig.h> @@ -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<QString, fx_struct> m_mapPluginList; // holds all plugins found on the system - // QMap<QString, fx_struct> m_mapActivePlugins; // holds the active effects - QStringList m_lstActivePlugins; + TQMap<TQString, fx_struct> m_mapPluginList; // holds all plugins found on the system + // TQMap<TQString, fx_struct> m_mapActivePlugins; // holds the active effects + TQStringList m_lstActivePlugins; }; |