diff options
Diffstat (limited to 'qmake/examples/tutorial/hello.cpp')
-rw-r--r-- | qmake/examples/tutorial/hello.cpp | 7 |
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 0000000..cec428b --- /dev/null +++ b/qmake/examples/tutorial/hello.cpp @@ -0,0 +1,7 @@ +#include "hello.h" + +MyPushButton::MyPushButton( const QString& text ) + : QPushButton( text, 0, "mypushbutton" ) +{ + qDebug( "My PushButton has been constructed" ); +} |