summaryrefslogtreecommitdiffstats
path: root/examples/xml/outliner/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xml/outliner/main.cpp')
-rw-r--r--examples/xml/outliner/main.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/xml/outliner/main.cpp b/examples/xml/outliner/main.cpp
new file mode 100644
index 000000000..c4b1491e3
--- /dev/null
+++ b/examples/xml/outliner/main.cpp
@@ -0,0 +1,22 @@
+/****************************************************************************
+**
+** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
+**
+** This file is part of an example program for TQt. This example
+** program may be used, distributed and modified without limitation.
+**
+*****************************************************************************/
+
+#include <qapplication.h>
+#include "outlinetree.h"
+
+int main( int argc, char **argv )
+{
+ TQApplication a( argc, argv );
+
+ OutlineTree outline( "todos.opml" );
+ a.setMainWidget( &outline );
+ outline.show();
+
+ return a.exec();
+}