File: main.cpp

package info (click to toggle)
crossvc 1.5.0-1%2Betch1
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 8,116 kB
  • ctags: 4,451
  • sloc: cpp: 37,016; ansic: 328; sh: 216; makefile: 92; xml: 19
file content (22 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/****************************************************************************
**
** Copyright (C) 2003-2006 Frank Hemer <frank@hemer.org>
**
*****************************************************************************/

#include <qapplication.h>

#include "PwWindow.h"

int main( int argc, char ** argv ) 
{
   QApplication a(argc,argv);
   
   PwWindow app;
   
   a.setMainWidget(&app);
   
   a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) );
   return a.exec();
}