summaryrefslogtreecommitdiffstats
path: root/kommander/plugin/kommanderplugin.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 /kommander/plugin/kommanderplugin.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 'kommander/plugin/kommanderplugin.h')
-rw-r--r--kommander/plugin/kommanderplugin.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/kommander/plugin/kommanderplugin.h b/kommander/plugin/kommanderplugin.h
index ecba3384..b22af6ac 100644
--- a/kommander/plugin/kommanderplugin.h
+++ b/kommander/plugin/kommanderplugin.h
@@ -34,31 +34,31 @@
#ifndef _HAVE_KOMMANDERPLUGIN_H_
#define _HAVE_KOMMANDERPLUGIN_H_
-#include <qobject.h>
-#include <qmap.h>
-#include <qstringlist.h>
+#include <tqobject.h>
+#include <tqmap.h>
+#include <tqstringlist.h>
#include "kommander_export.h"
class QWidget;
class QIconSet;
-class KOMMANDER_EXPORT KommanderPlugin : public QObject
+class KOMMANDER_EXPORT KommanderPlugin : public TQObject
{
Q_OBJECT
public:
KommanderPlugin();
~KommanderPlugin();
- virtual void addWidget( const QString &name, const QString &group, const QString &toolTip, QIconSet *iconSet, const QString &whatsThis = QString::null, bool isContainer = false);
- virtual void removeWidget( const QString &name );
- virtual QStringList widgets() const;
+ virtual void addWidget( const TQString &name, const TQString &group, const TQString &toolTip, TQIconSet *iconSet, const TQString &whatsThis = TQString::null, bool isContainer = false);
+ virtual void removeWidget( const TQString &name );
+ virtual TQStringList widgets() const;
- virtual QWidget *create( const QString &key, QWidget *parent = 0, const char *name = 0 ) = 0;
- virtual QString group( const QString &key ) const;
- virtual QString toolTip( const QString &key ) const;
- virtual QString whatsThis( const QString &key ) const;
- virtual bool isContainer( const QString &key ) const;
- virtual QIconSet *iconSet( const QString &key ) const;
+ virtual TQWidget *create( const TQString &key, TQWidget *parent = 0, const char *name = 0 ) = 0;
+ virtual TQString group( const TQString &key ) const;
+ virtual TQString toolTip( const TQString &key ) const;
+ virtual TQString whatsThis( const TQString &key ) const;
+ virtual bool isContainer( const TQString &key ) const;
+ virtual TQIconSet *iconSet( const TQString &key ) const;
/**
* Sets the default group for functions. Must be called before registerFunction.
@@ -75,7 +75,7 @@ class KOMMANDER_EXPORT KommanderPlugin : public QObject
* @param maxArgs maximum number of accepted arguments
* @return true if registration was successful
*/
- static bool registerFunction(int id, const QString& function, const QString description = QString::null,
+ static bool registerFunction(int id, const TQString& function, const TQString description = TQString::null,
int minArgs = -1, int maxArgs = -1);
@@ -84,17 +84,17 @@ private:
struct WidgetInfo
{
WidgetInfo() { }
- WidgetInfo( const QString &g, const QString &t, QIconSet *i, const QString &w = QString::null, bool c = false)
+ WidgetInfo( const TQString &g, const TQString &t, TQIconSet *i, const TQString &w = TQString::null, bool c = false)
: group( g ), toolTip( t ), iconSet(i), whatsThis( w ), isContainer( c )
{}
- QString group;
- QString toolTip;
- QIconSet *iconSet;
- QString whatsThis;
+ TQString group;
+ TQString toolTip;
+ TQIconSet *iconSet;
+ TQString whatsThis;
bool isContainer;
};
- typedef QMap<QString, WidgetInfo> WidgetInfos;
+ typedef TQMap<TQString, WidgetInfo> WidgetInfos;
WidgetInfos m_widgets;
};