From 1eb61020dcba9bafd2926ab701120f5ef94905f7 Mon Sep 17 00:00:00 2001 From: treke Date: Tue, 11 Nov 2003 07:14:38 +0000 Subject: Updating apps to use quickexec. Ipks are now generated properly. --- (limited to 'core/pim/addressbook/main.cpp') diff --git a/core/pim/addressbook/main.cpp b/core/pim/addressbook/main.cpp index 2ea1819..97bfa6d 100644 --- a/core/pim/addressbook/main.cpp +++ b/core/pim/addressbook/main.cpp @@ -21,21 +21,8 @@ #include "addressbook.h" #include -#include -#include -int main( int argc, char ** argv ) -{ - QPEApplication a( argc, argv ); +#include - AddressbookWindow mw; - QObject::connect( &a, SIGNAL( flush() ), &mw, SLOT( flush() ) ); - QObject::connect( &a, SIGNAL( reload() ), &mw, SLOT( reload() ) ); - QObject::connect( &a, SIGNAL( appMessage(const QCString &, const QByteArray &) ), - &mw, SLOT( appMessage(const QCString &, const QByteArray &) ) ); +OPIE_EXPORT_APP( OApplicationFactory ) - mw.setCaption( AddressbookWindow::tr("Contacts") ); - a.showMainDocumentWidget(&mw); - - return a.exec(); -} -- cgit v0.9.0.2