summaryrefslogtreecommitdiffstats
path: root/qmake/examples/tutorial/hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/examples/tutorial/hello.cpp')
-rw-r--r--qmake/examples/tutorial/hello.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/qmake/examples/tutorial/hello.cpp b/qmake/examples/tutorial/hello.cpp
new file mode 100644
index 00000000..da01513b
--- /dev/null
+++ b/qmake/examples/tutorial/hello.cpp
@@ -0,0 +1,7 @@
+#include "hello.h"
+
+MyPushButton::MyPushButton( const TQString& text )
+ : TQPushButton( text, 0, "mypushbutton" )
+{
+ qDebug( "My PushButton has been constructed" );
+}