diff options
author | David Boddie <dboddie@trolltech.com> | 2009-07-09 16:53:52 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-07-09 16:53:52 (GMT) |
commit | aa46e5928b8fd97bada814e56134adb23a068b24 (patch) | |
tree | df917faf833909ad09fc1b83ffde3ba9404dfd51 /doc/src/snippets/widgets-tutorial/template.cpp | |
parent | b7c63e3d89006c9795835a79741b8d7a46891f93 (diff) | |
parent | 5c53ea55e54f6371082a8ce7c3965f2fe54fcef5 (diff) | |
download | Qt-aa46e5928b8fd97bada814e56134adb23a068b24.zip Qt-aa46e5928b8fd97bada814e56134adb23a068b24.tar.gz Qt-aa46e5928b8fd97bada814e56134adb23a068b24.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public
Diffstat (limited to 'doc/src/snippets/widgets-tutorial/template.cpp')
-rw-r--r-- | doc/src/snippets/widgets-tutorial/template.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/src/snippets/widgets-tutorial/template.cpp b/doc/src/snippets/widgets-tutorial/template.cpp new file mode 100644 index 0000000..5958676 --- /dev/null +++ b/doc/src/snippets/widgets-tutorial/template.cpp @@ -0,0 +1,14 @@ +#include <QtGui> + +// Include header files for application components. +// ... + +int main(int argc, char *argv[]) +{ + QApplication app(argc, argv); + + // Set up and show widgets. + // ... + + return app.exec(); +} |