-rw-r--r-- | noncore/apps/confedit/confedit.pro | 7 | ||||
-rw-r--r-- | noncore/apps/confedit/main.cpp | 3 | ||||
-rw-r--r-- | noncore/apps/confedit/mainwindow.h | 2 |
3 files changed, 3 insertions, 9 deletions
diff --git a/noncore/apps/confedit/confedit.pro b/noncore/apps/confedit/confedit.pro index d2629de..06cd8ab 100644 --- a/noncore/apps/confedit/confedit.pro +++ b/noncore/apps/confedit/confedit.pro | |||
@@ -1,15 +1,12 @@ | |||
1 | DESTDIR = $(OPIEDIR)/bin | 1 | CONFIG = qt warn_on release quick-app |
2 | TEMPLATE= app | ||
3 | #CONFIG = qt warn_on release | ||
4 | CONFIG = qt warn_on debug | ||
5 | HEADERS = mainwindow.h listviewconfdir.h listviewitemconffile.h listviewitemconfigentry.h editwidget.h listviewitemconf.h | 2 | HEADERS = mainwindow.h listviewconfdir.h listviewitemconffile.h listviewitemconfigentry.h editwidget.h listviewitemconf.h |
6 | SOURCES = main.cpp mainwindow.cpp listviewconfdir.cpp listviewitemconffile.cpp listviewitemconfigentry.cpp editwidget.cpp listviewitemconf.cpp | 3 | SOURCES = main.cpp mainwindow.cpp listviewconfdir.cpp listviewitemconffile.cpp listviewitemconfigentry.cpp editwidget.cpp listviewitemconf.cpp |
7 | INCLUDEPATH += $(OPIEDIR)/include | 4 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH+= $(OPIEDIR)/ioclude | 5 | DEPENDPATH+= $(OPIEDIR)/ioclude |
9 | INTERFACES= | 6 | INTERFACES= |
10 | LIBS += -lopiecore2 -lopieui2 | 7 | LIBS += -lopiecore2 -lopieui2 |
11 | TARGET = confedit | 8 | TARGET = confedit |
12 | 9 | ||
13 | TRANSLATIONS = ../../../i18n/de/confedit.ts \ | 10 | TRANSLATIONS = ../../../i18n/de/confedit.ts \ |
14 | ../../../i18n/nl/confedit.ts \ | 11 | ../../../i18n/nl/confedit.ts \ |
15 | ../../../i18n/da/confedit.ts \ | 12 | ../../../i18n/da/confedit.ts \ |
diff --git a/noncore/apps/confedit/main.cpp b/noncore/apps/confedit/main.cpp index 74923c8..7a312c3 100644 --- a/noncore/apps/confedit/main.cpp +++ b/noncore/apps/confedit/main.cpp | |||
@@ -1,8 +1,5 @@ | |||
1 | 1 | ||
2 | #include "mainwindow.h" | 2 | #include "mainwindow.h" |
3 | |||
4 | #include <qpe/qpeapplication.h> | ||
5 | #include <opie/oapplicationfactory.h> | 3 | #include <opie/oapplicationfactory.h> |
6 | 4 | ||
7 | OPIE_EXPORT_APP( OApplicationFactory<MainWindow> ) | 5 | OPIE_EXPORT_APP( OApplicationFactory<MainWindow> ) |
8 | |||
diff --git a/noncore/apps/confedit/mainwindow.h b/noncore/apps/confedit/mainwindow.h index 878558a..96331db 100644 --- a/noncore/apps/confedit/mainwindow.h +++ b/noncore/apps/confedit/mainwindow.h | |||
@@ -27,17 +27,17 @@ class ListViewItemConf; | |||
27 | class MainWindow : public QMainWindow | 27 | class MainWindow : public QMainWindow |
28 | { | 28 | { |
29 | Q_OBJECT | 29 | Q_OBJECT |
30 | 30 | ||
31 | 31 | ||
32 | public: | 32 | public: |
33 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); | 33 | MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); |
34 | ~MainWindow(); | 34 | ~MainWindow(); |
35 | 35 | static QString appName() { return QString::fromLatin1("confedit"); } | |
36 | 36 | ||
37 | public slots: | 37 | public slots: |
38 | void setCurrent(QListViewItem*); | 38 | void setCurrent(QListViewItem*); |
39 | void groupChanged(const QString&); | 39 | void groupChanged(const QString&); |
40 | void keyChanged(const QString&); | 40 | void keyChanged(const QString&); |
41 | void valueChanged(const QString&); | 41 | void valueChanged(const QString&); |
42 | void showPopup(); | 42 | void showPopup(); |
43 | void stopTimer( QListViewItem* ); | 43 | void stopTimer( QListViewItem* ); |