summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/doc/examples/main.cpp
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-02-10 15:49:36 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-02-10 15:49:36 (GMT)
commit689dba5dde34da15b954d21951e4066b3e29b208 (patch)
treea8579224cd66c0db99fbef697981e91b53d9b135 /tools/qdoc3/doc/examples/main.cpp
parent89859e4dc667989bf41ad340df9b553457ae46db (diff)
downloadQt-689dba5dde34da15b954d21951e4066b3e29b208.zip
Qt-689dba5dde34da15b954d21951e4066b3e29b208.tar.gz
Qt-689dba5dde34da15b954d21951e4066b3e29b208.tar.bz2
Doc: Added the qdoc manual to the repository for future maintenance.
Reviewed-by: Trust Me
Diffstat (limited to 'tools/qdoc3/doc/examples/main.cpp')
-rw-r--r--tools/qdoc3/doc/examples/main.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/qdoc3/doc/examples/main.cpp b/tools/qdoc3/doc/examples/main.cpp
new file mode 100644
index 0000000..b777754
--- /dev/null
+++ b/tools/qdoc3/doc/examples/main.cpp
@@ -0,0 +1,13 @@
+#include <QApplication>
+#include <QPushButton>
+
+int main(int argc, char *argv[])
+{
+ QApplication app(argc, argv);
+
+ QPushButton *hello("Hello world!");
+ hello.resize(100, 30);
+
+ hello.show();
+ return app.exec();
+}