summaryrefslogtreecommitdiffstats
path: root/kommander/working/plugintemplate/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/working/plugintemplate/widget.h')
-rw-r--r--kommander/working/plugintemplate/widget.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kommander/working/plugintemplate/widget.h b/kommander/working/plugintemplate/widget.h
index 56e87f91..1ec87a5e 100644
--- a/kommander/working/plugintemplate/widget.h
+++ b/kommander/working/plugintemplate/widget.h
@@ -2,8 +2,8 @@
#ifndef %{APPNAMEUC}_WIDGET_H
#define %{APPNAMEUC}_WIDGET_H
-#include <qwidget.h>
-#include <qstring.h>
+#include <tqwidget.h>
+#include <tqstring.h>
#include <kparts/part.h>
@@ -11,35 +11,35 @@
class QStringList;
-//replace QWidget with the widget you want to derive from
-class %{APPNAME}: public QWidget, public KommanderWidget
+//replace TQWidget with the widget you want to derive from
+class %{APPNAME}: public TQWidget, public KommanderWidget
{
Q_OBJECT
- Q_PROPERTY(QString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
- Q_PROPERTY(QStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
+ Q_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
+ Q_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
Q_PROPERTY(bool KommanderWidget READ isKommanderWidget)
public:
- %{APPNAME}(QWidget *parent, const char* name);
+ %{APPNAME}(TQWidget *parent, const char* name);
~%{APPNAME}();
virtual bool isKommanderWidget() const;
- virtual void setAssociatedText(const QStringList&);
- virtual QStringList associatedText() const;
- virtual QString currentState() const;
- virtual QString populationText() const;
- virtual void setPopulationText(const QString&);
+ virtual void setAssociatedText(const TQStringList&);
+ virtual TQStringList associatedText() const;
+ virtual TQString currentState() const;
+ virtual TQString populationText() const;
+ virtual void setPopulationText(const TQString&);
virtual void populate();
- virtual QString handleDCOP(int function, const QStringList& args);
+ virtual TQString handleDCOP(int function, const TQStringList& args);
virtual bool isFunctionSupported(int function);
signals:
void contextMenuRequested(int xpos, int ypos);
protected:
- void contextMenuEvent( QContextMenuEvent * e );
+ void contextMenuEvent( TQContextMenuEvent * e );
};