summaryrefslogtreecommitdiffstats
path: root/kommander/plugin/kommanderplugin.h
diff options
context:
space:
mode:
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;
};