From 651d29249946e7221fc85580453750d9e4be4fb0 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Mon, 27 Oct 2003 20:20:24 +0000 Subject: merge noncore/mail/* --- (limited to 'noncore/unsupported') diff --git a/noncore/unsupported/mail2/mail.pro b/noncore/unsupported/mail2/mail.pro index 0c1a1fb..f521178 100644 --- a/noncore/unsupported/mail2/mail.pro +++ b/noncore/unsupported/mail2/mail.pro @@ -1,5 +1,4 @@ -TEMPLATE = app -CONFIG += qt warn_on debug +CONFIG += qt warn_on debug quick-app #CONFIG += qt warn_on release HEADERS = accounteditor.h \ addresspicker.h \ @@ -43,7 +42,6 @@ INTERFACES = accounteditorbase.ui \ INCLUDEPATH += $(OPIEDIR)/include libmail LIBS += -lmail -lqpe -lopie TARGET = mail -DESTDIR = $(OPIEDIR)/bin TRANSLATIONS = ../../i18n/de/mail.ts \ ../../i18n/nl/mail.ts \ diff --git a/noncore/unsupported/mail2/main.cpp b/noncore/unsupported/mail2/main.cpp index ddacf3d..a11b4e2 100644 --- a/noncore/unsupported/mail2/main.cpp +++ b/noncore/unsupported/mail2/main.cpp @@ -2,13 +2,8 @@ #include "mainwindow.h" -int main(int argc, char *argv[]) -{ - QPEApplication app(argc, argv); +#include - MainWindow mw; - app.showMainWidget(&mw); +OPIE_EXPORT_APP( OApplicationFactory ) - return app.exec(); -} diff --git a/noncore/unsupported/mail2/mainwindow.h b/noncore/unsupported/mail2/mainwindow.h index 1ed0559..4cdd03d 100644 --- a/noncore/unsupported/mail2/mainwindow.h +++ b/noncore/unsupported/mail2/mainwindow.h @@ -13,6 +13,7 @@ class MainWindow : public MainWindowBase Q_OBJECT public: + static QString appName() { return QString::fromLatin1("mail"); } MainWindow(QWidget *parent = 0, const char *name = 0, WFlags fl = 0); protected slots: -- cgit v0.9.0.2