summaryrefslogtreecommitdiffstats
path: root/tools/designer/examples/addressbook/main.cpp
blob: 9a58f602801d5f344764181144b6567fb4b41f37 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <qapplication.h>
#include "addressbook.h"

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