Fix the 'trees' sample for gcc compilation (case problem)
[qanava.git] / tests / trees / app.cpp
blob6f94842399e9b0279b62006fb9ac12ba048d7018
1 //-----------------------------------------------------------------------------
2 // This file is a part of the Qarte software.
3 //
4 // \file canApp.cpp
5 // \author Benoit Autheman (benoit@libqanava.org)
6 // \date 2005 April 19
7 //-----------------------------------------------------------------------------
10 // Qanava headers
11 #include "MainWindow.h"
14 // QT headers
15 #include <qapplication.h>
16 #include <qsplashscreen.h>
20 int main( int argc, char** argv )
22 // QT gui creation (Needed to allocate plugin qt components and application kernel)
23 QApplication app( argc, argv );
25 // Create main application form
26 MainWindow mainWindow( &app );
28 // Display main window and start processing events
29 mainWindow.show( );
30 app.connect( &app, SIGNAL( lastWindowClosed( ) ), &app, SLOT( quit( ) ) );
32 // Process events
33 return app.exec( );