diff options
author | David Faure <faure@kde.org> | 2009-05-21 01:33:33 (GMT) |
---|---|---|
committer | David Faure <faure@kde.org> | 2009-05-21 01:33:33 (GMT) |
commit | f645346d32468ae3ded46f42d4e4f27135526913 (patch) | |
tree | 590afb6bff714e46e2598540cef2a6659927c0bc /doc/src/snippets | |
parent | bc21fb2449ec80da39ee3f533f8f76b2ae726f50 (diff) | |
parent | e28412e4c2389c1765441cec02baed58a63dd29c (diff) | |
download | Qt-f645346d32468ae3ded46f42d4e4f27135526913.zip Qt-f645346d32468ae3ded46f42d4e4f27135526913.tar.gz Qt-f645346d32468ae3ded46f42d4e4f27135526913.tar.bz2 |
Merge branch 'master' of git://gitorious.org/qt/qt
Diffstat (limited to 'doc/src/snippets')
-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(); +} |