diff options
Diffstat (limited to 'quanta/plugins/quantaplugininterface.h')
-rw-r--r-- | quanta/plugins/quantaplugininterface.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/quanta/plugins/quantaplugininterface.h b/quanta/plugins/quantaplugininterface.h index a3e85030..2749fbd0 100644 --- a/quanta/plugins/quantaplugininterface.h +++ b/quanta/plugins/quantaplugininterface.h @@ -23,10 +23,10 @@ #include <kstandarddirs.h> /* QT INCLUDES */ -#include <qobject.h> -#include <qdict.h> -#include <qstringlist.h> -#include <qpopupmenu.h> +#include <tqobject.h> +#include <tqdict.h> +#include <tqstringlist.h> +#include <tqpopupmenu.h> /* OTHER INCLUDES */ @@ -45,7 +45,7 @@ public: * the parameters are only used at the first call to create the class * */ - static QuantaPluginInterface* const ref(QWidget *parent = 0L) + static QuantaPluginInterface* const ref(TQWidget *parent = 0L) { static QuantaPluginInterface *m_ref; if (!m_ref) m_ref = new QuantaPluginInterface (parent); @@ -58,16 +58,16 @@ public: /** Write the rc file */ virtual void writeConfig(); /* Returns TRUE if the plugin specified by a_name is available for us*/ - bool pluginAvailable(const QString &); + bool pluginAvailable(const TQString &); /** Gets the plugins */ - QDict<QuantaPlugin> plugins() {return m_plugins;}; + TQDict<QuantaPlugin> plugins() {return m_plugins;}; /** Sets the plugins */ - void setPlugins(QDict<QuantaPlugin> plugins) {m_plugins = plugins;}; + void setPlugins(TQDict<QuantaPlugin> plugins) {m_plugins = plugins;}; /** Gets the plugin specified by a_name */ - virtual QuantaPlugin *plugin(const QString &); + virtual QuantaPlugin *plugin(const TQString &); /** Gets the plugin menu */ - virtual QPopupMenu *pluginMenu() {return m_pluginMenu;}; - void setPluginMenu(QPopupMenu *pluginMenu) {m_pluginMenu = pluginMenu;} + virtual TQPopupMenu *pluginMenu() {return m_pluginMenu;}; + void setPluginMenu(TQPopupMenu *pluginMenu) {m_pluginMenu = pluginMenu;} /** Builds the plugins menu dynamically */ void buildPluginMenu(); @@ -76,7 +76,7 @@ private: * If you need the class use QuantaPluginInterface::ref() for * construction and reference */ - QuantaPluginInterface(QWidget *parent); + QuantaPluginInterface(TQWidget *parent); protected slots: /** slot for the menu: validate */ @@ -86,18 +86,18 @@ protected slots: protected: /** Gets the plugin names */ - virtual QStringList pluginNames() const; - void readConfigFile(const QString& configFile); + virtual TQStringList pluginNames() const; + void readConfigFile(const TQString& configFile); - QDict<QuantaPlugin> m_plugins; + TQDict<QuantaPlugin> m_plugins; - QWidget *m_parent; + TQWidget *m_parent; - QPopupMenu *m_pluginMenu; + TQPopupMenu *m_pluginMenu; signals: void hideSplash(); - void statusMsg(const QString &); + void statusMsg(const TQString &); }; #endif |