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

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