diff options
Diffstat (limited to 'languages/cpp/app_templates/khello2/widget.h')
-rw-r--r-- | languages/cpp/app_templates/khello2/widget.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/khello2/widget.h b/languages/cpp/app_templates/khello2/widget.h new file mode 100644 index 00000000..275e13c7 --- /dev/null +++ b/languages/cpp/app_templates/khello2/widget.h @@ -0,0 +1,30 @@ +%{H_TEMPLATE} + +#ifndef _%{APPNAMEUC}WIDGET_H_ +#define _%{APPNAMEUC}WIDGET_H_ + +#include "%{APPNAMELC}widgetbase.h" + +class %{APPNAME}Widget : public %{APPNAME}WidgetBase +{ + Q_OBJECT + +public: + %{APPNAME}Widget(QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + ~%{APPNAME}Widget(); + /*$PUBLIC_FUNCTIONS$*/ + +public slots: + /*$PUBLIC_SLOTS$*/ + virtual void button_clicked(); + +protected: + /*$PROTECTED_FUNCTIONS$*/ + +protected slots: + /*$PROTECTED_SLOTS$*/ + +}; + +#endif + |