home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / xml / outliner / main.cpp next >
C/C++ Source or Header  |  2001-10-11  |  657b  |  24 lines

  1. /****************************************************************************
  2. ** $Id:  qt/main.cpp   3.0.0   edited Jun 9 11:18 $
  3. **
  4. ** Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.
  5. **
  6. ** This file is part of an example program for Qt.  This example
  7. ** program may be used, distributed and modified without limitation.
  8. **
  9. *****************************************************************************/
  10.  
  11. #include <qapplication.h>
  12. #include "outlinetree.h"
  13.  
  14. int main( int argc, char **argv )
  15. {
  16.     QApplication a( argc, argv );
  17.  
  18.     OutlineTree outline( "todos.opml" );
  19.     a.setMainWidget( &outline );
  20.     outline.show();
  21.  
  22.     return a.exec();
  23. }
  24.