diff options
Diffstat (limited to 'examples/tools/inputpanel/main.cpp')
-rw-r--r-- | examples/tools/inputpanel/main.cpp | 5 |
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] |