summaryrefslogtreecommitdiffstats
path: root/examples/tools
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-08-26 17:44:15 (GMT)
committeraxis <qt-info@nokia.com>2009-08-28 07:11:36 (GMT)
commit6842d3385e98e9af33ee079b31ca26f12a2087d9 (patch)
treec466b2b138c66c53143e4705135850c0df7c41ee /examples/tools
parentb1015e8d7ac12d365c4b738fbee4ce12ecbaa58e (diff)
downloadQt-6842d3385e98e9af33ee079b31ca26f12a2087d9.zip
Qt-6842d3385e98e9af33ee079b31ca26f12a2087d9.tar.gz
Qt-6842d3385e98e9af33ee079b31ca26f12a2087d9.tar.bz2
Doc: First review of the input panel example.
Diffstat (limited to 'examples/tools')
-rw-r--r--examples/tools/inputpanel/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/tools/inputpanel/main.cpp b/examples/tools/inputpanel/main.cpp
index 03831c9..2e39883 100644
--- a/examples/tools/inputpanel/main.cpp
+++ b/examples/tools/inputpanel/main.cpp
@@ -42,10 +42,12 @@
#include <QtGui/QApplication>
#include <QtGui/QWidget>
+//! [main]
#include "myinputpanelcontext.h"
#include "ui_mainform.h"
-int main(int argc, char **argv) {
+int main(int argc, char **argv)
+{
QApplication app(argc, argv);
MyInputPanelContext *ic = new MyInputPanelContext;
@@ -57,3 +59,4 @@ int main(int argc, char **argv) {
widget.show();
return app.exec();
}
+//! [main]