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