diff options
Diffstat (limited to 'languages/cpp/subclassing_template')
-rw-r--r-- | languages/cpp/subclassing_template/subclass_qt4_template.h | 2 | ||||
-rw-r--r-- | languages/cpp/subclassing_template/subclass_template.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/subclassing_template/subclass_qt4_template.h b/languages/cpp/subclassing_template/subclass_qt4_template.h index 8895bceb..62751c32 100644 --- a/languages/cpp/subclassing_template/subclass_qt4_template.h +++ b/languages/cpp/subclassing_template/subclass_qt4_template.h @@ -8,7 +8,7 @@ class $NEWCLASS$ : public $TQTBASECLASS$, private Ui::$BASECLASS$ { Q_OBJECT - TQ_OBJECT + public: $NEWCLASS$(TQWidget* parent = 0, TQt::WFlags fl = 0 ); diff --git a/languages/cpp/subclassing_template/subclass_template.h b/languages/cpp/subclassing_template/subclass_template.h index 1451e471..25bcf98c 100644 --- a/languages/cpp/subclassing_template/subclass_template.h +++ b/languages/cpp/subclassing_template/subclass_template.h @@ -7,7 +7,7 @@ class $NEWCLASS$ : public $BASECLASS$ { Q_OBJECT - TQ_OBJECT + public: $NEWCLASS$(TQWidget* parent = 0, const char* name = 0$CAN_BE_MODAL_H$, WFlags fl = 0 ); |