summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/opieirc/.cvsignore1
-rw-r--r--noncore/net/opieirc/main.cpp9
-rw-r--r--noncore/net/opieirc/mainwindow.h1
-rw-r--r--noncore/net/opieirc/opieirc.pro7
4 files changed, 7 insertions, 11 deletions
diff --git a/noncore/net/opieirc/.cvsignore b/noncore/net/opieirc/.cvsignore
index 39391f4..d5423d6 100644
--- a/noncore/net/opieirc/.cvsignore
+++ b/noncore/net/opieirc/.cvsignore
@@ -3 +3,2 @@ Makefile.in
moc_*.cpp
+.moc \ No newline at end of file
diff --git a/noncore/net/opieirc/main.cpp b/noncore/net/opieirc/main.cpp
index 43e63af..39acfcc 100644
--- a/noncore/net/opieirc/main.cpp
+++ b/noncore/net/opieirc/main.cpp
@@ -3,8 +3,5 @@
-int main(int argc, char **argv) {
- QPEApplication a(argc, argv);
- MainWindow mw;
- a.showMainWidget(&mw);
- return a.exec();
-}
+#include <opie/oapplicationfactory.h>
+
+OPIE_EXPORT_APP( OApplicationFactory<MainWindow> )
diff --git a/noncore/net/opieirc/mainwindow.h b/noncore/net/opieirc/mainwindow.h
index bd1a9ce..0f60855 100644
--- a/noncore/net/opieirc/mainwindow.h
+++ b/noncore/net/opieirc/mainwindow.h
@@ -37,2 +37,3 @@ public:
void killTab(IRCTab *tab);
+ static QString appName() { return QString::fromLatin1("opieirc"); }
signals:
diff --git a/noncore/net/opieirc/opieirc.pro b/noncore/net/opieirc/opieirc.pro
index 8b09e18..537f810 100644
--- a/noncore/net/opieirc/opieirc.pro
+++ b/noncore/net/opieirc/opieirc.pro
@@ -1,4 +1,2 @@
-TEMPLATE = app
-CONFIG = qt warn_on release
-DESTDIR = $(OPIEDIR)/bin
+CONFIG = qt warn_on release quick-app
HEADERS = ircchannel.h ircconnection.h \
@@ -23,5 +21,4 @@ DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe -lopie
-TARGET = opieirc
-
+TARGET = opieirc