summaryrefslogtreecommitdiffstats
path: root/quanta/plugins/quantaplugininterface.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /quanta/plugins/quantaplugininterface.h
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/plugins/quantaplugininterface.h')
-rw-r--r--quanta/plugins/quantaplugininterface.h36
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