diff options
Diffstat (limited to 'languages/cpp/app_templates/opieapplet')
-rw-r--r-- | languages/cpp/app_templates/opieapplet/simpleimpl.cpp | 8 | ||||
-rw-r--r-- | languages/cpp/app_templates/opieapplet/simpleimpl.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/languages/cpp/app_templates/opieapplet/simpleimpl.cpp b/languages/cpp/app_templates/opieapplet/simpleimpl.cpp index cc2a6a17..9a181745 100644 --- a/languages/cpp/app_templates/opieapplet/simpleimpl.cpp +++ b/languages/cpp/app_templates/opieapplet/simpleimpl.cpp @@ -8,8 +8,8 @@ #include "%{APPNAMELC}.h" -%{APPNAME}::%{APPNAME}(TQWidget *tqparent) - : TQWidget( tqparent, "%{APPNAME} Applet" ) { +%{APPNAME}::%{APPNAME}(TQWidget *parent) + : TQWidget( parent, "%{APPNAME} Applet" ) { /* * we will load an Image, scale it for the right usage * remember your applet might be used by different @@ -89,12 +89,12 @@ void %{APPNAME}::paintEvent( TQPaintEvent* ) { /* * For the taskbar interface return a Widget */ -TQWidget* %{APPNAME}Impl::applet( TQWidget* tqparent ) { +TQWidget* %{APPNAME}Impl::applet( TQWidget* parent ) { /* * There are problems with ownership. So we add * our ownlist and clear this; */ - %{APPNAME}* ap = new %{APPNAME}( tqparent ); + %{APPNAME}* ap = new %{APPNAME}( parent ); m_applets.append( ap ); return ap; diff --git a/languages/cpp/app_templates/opieapplet/simpleimpl.h b/languages/cpp/app_templates/opieapplet/simpleimpl.h index 855aed57..311d7c14 100644 --- a/languages/cpp/app_templates/opieapplet/simpleimpl.h +++ b/languages/cpp/app_templates/opieapplet/simpleimpl.h @@ -42,7 +42,7 @@ class %{APPNAME} : public TQWidget { Q_OBJECT TQ_OBJECT public: - %{APPNAME}(TQWidget *tqparent); + %{APPNAME}(TQWidget *parent); ~%{APPNAME}(); private: void mousePressEvent( TQMouseEvent* ); @@ -58,7 +58,7 @@ public: TQRESULT queryInterface( const TQUuid&, TQUnknownInterface** ); - TQWidget *applet( TQWidget* tqparent ); + TQWidget *applet( TQWidget* parent ); int position()const; /* |