summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/opiemenu/simpleimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/opiemenu/simpleimpl.h')
-rw-r--r--languages/cpp/app_templates/opiemenu/simpleimpl.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/opiemenu/simpleimpl.h b/languages/cpp/app_templates/opiemenu/simpleimpl.h
index b384ee2d..61c3cc5b 100644
--- a/languages/cpp/app_templates/opiemenu/simpleimpl.h
+++ b/languages/cpp/app_templates/opiemenu/simpleimpl.h
@@ -1,7 +1,7 @@
#ifndef %{APPNAME}_MENU_APPLET_H
#define %{APPNAME}_MENU_APPLET_H
-#include <qpe/menuappletinterface.h>
+#include <tqpe/menuappletinterface.h>
#include <tqobject.h>
@@ -9,13 +9,14 @@ class %{APPNAME} : public TQObject, public MenuAppletInterface
{
Q_OBJECT
+ TQ_OBJECT
public:
%{APPNAME} ( );
virtual ~%{APPNAME} ( );
- QRESULT queryInterface( const QUuid&, QUnknownInterface** );
- Q_REFCOUNT
+ TQRESULT queryInterface( const TQUuid&, TQUnknownInterface** );
+ TQ_REFCOUNT
virtual int position() const;
@@ -25,7 +26,7 @@ public:
/* virtual TQString tr( const char* ) const;
virtual TQString tr( const char*, const char* ) const;
*/
- virtual TQPopupMenu *popup ( TQWidget *parent ) const;
+ virtual TQPopupMenu *popup ( TQWidget *tqparent ) const;
virtual void activated ( );
};