summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/qmake/examples/tutorial/hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/qmake/examples/tutorial/hello.cpp')
-rw-r--r--tqtinterface/qt4/qmake/examples/tutorial/hello.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tqtinterface/qt4/qmake/examples/tutorial/hello.cpp b/tqtinterface/qt4/qmake/examples/tutorial/hello.cpp
new file mode 100644
index 0000000..da01513
--- /dev/null
+++ b/tqtinterface/qt4/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" );
+}