File: main.cpp

package info (click to toggle)
marote 2.4-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 556 kB
  • ctags: 224
  • sloc: cpp: 1,925; makefile: 46
file content (17 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <qapplication.h>
#include "form2.h"
#include "logform.h"

//******************************************************************
//***    Main Program Code
//******************************************************************

int main( int argc, char ** argv )
{
    QApplication a( argc, argv );
    Form2 *w = new Form2;
    a.setMainWidget(w);
    w->show();
    a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );
    return a.exec();
}