summaryrefslogtreecommitdiffstats
path: root/languages/cpp/subclassing_template/subclass_qt4_template.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/subclassing_template/subclass_qt4_template.h')
-rw-r--r--languages/cpp/subclassing_template/subclass_qt4_template.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/languages/cpp/subclassing_template/subclass_qt4_template.h b/languages/cpp/subclassing_template/subclass_qt4_template.h
new file mode 100644
index 00000000..a8a02303
--- /dev/null
+++ b/languages/cpp/subclassing_template/subclass_qt4_template.h
@@ -0,0 +1,28 @@
+
+#ifndef $NEWFILENAMEUC$_H
+#define $NEWFILENAMEUC$_H
+
+#include <$QTBASECLASS$>
+#include "ui_$BASEFILENAME$.h"
+
+class $NEWCLASS$ : public $QTBASECLASS$, private Ui::$BASECLASS$
+{
+ Q_OBJECT
+
+public:
+ $NEWCLASS$(QWidget* parent = 0, Qt::WFlags fl = 0 );
+ ~$NEWCLASS$();
+ /*$PUBLIC_FUNCTIONS$*/
+
+public slots:
+ /*$PUBLIC_SLOTS$*/
+
+protected:
+ /*$PROTECTED_FUNCTIONS$*/
+
+protected slots:
+ /*$PROTECTED_SLOTS$*/
+
+};
+
+#endif