diff options
Diffstat (limited to 'examples/xml/outliner/main.cpp')
-rw-r--r-- | examples/xml/outliner/main.cpp | 22 |
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 0000000..47e3bea --- /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 Qt. This example +** program may be used, distributed and modified without limitation. +** +*****************************************************************************/ + +#include <qapplication.h> +#include "outlinetree.h" + +int main( int argc, char **argv ) +{ + QApplication a( argc, argv ); + + OutlineTree outline( "todos.opml" ); + a.setMainWidget( &outline ); + outline.show(); + + return a.exec(); +} |