From cc00ea4b5def00b6664bd5d9c5e5d59f5ce62732 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 20 Feb 2005 13:06:59 +0000 Subject: -Use own main method -Remove default c'tor and use the remaining one as default -QString() -> QString::null (for Qt4 we will do the opposite) -use qApp->quit() and exit to be sure to really exit Still open: do not use the depcreated latin1 c'tor of QString, it is safe to use it here though (we only get IN/OUT and a mac address) --- (limited to 'noncore/net/opietooth/blue-pin/main.cc') diff --git a/noncore/net/opietooth/blue-pin/main.cc b/noncore/net/opietooth/blue-pin/main.cc index dbe5b41..90d42e0 100644 --- a/noncore/net/opietooth/blue-pin/main.cc +++ b/noncore/net/opietooth/blue-pin/main.cc @@ -7,5 +7,10 @@ #include "pindlg.h" -using namespace Opie::Core; -OPIE_EXPORT_APP( OApplicationFactory ) +int main(int argc, char *argv[]) { + QPEApplication oapp(argc, argv); + + OpieTooth::PinDlg dlg; + return oapp.exec(); +} + -- cgit v0.9.0.2