author | zecke <zecke> | 2004-10-11 20:31:10 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-10-11 20:31:10 (UTC) |
commit | d063dce0ade1e18044cb8826963e47e979e9a280 (patch) (unidiff) | |
tree | afcbd1b0cb7b4dcf0370b9575bf4025820347613 | |
parent | 75fb192e17a3e55dc0c631dbd62b42796714b0dc (diff) | |
download | opie-d063dce0ade1e18044cb8826963e47e979e9a280.zip opie-d063dce0ade1e18044cb8826963e47e979e9a280.tar.gz opie-d063dce0ade1e18044cb8826963e47e979e9a280.tar.bz2 |
Last missing piece to remove stdc++ dependency
-Remove linking against stdc++
-Remove includes of fstream and algorithm
-rw-r--r-- | noncore/settings/aqpkg/aqpkg.pro | 2 | ||||
-rw-r--r-- | noncore/settings/aqpkg/settingsimpl.cpp | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/noncore/settings/aqpkg/aqpkg.pro b/noncore/settings/aqpkg/aqpkg.pro index a74b861..d76ae39 100644 --- a/noncore/settings/aqpkg/aqpkg.pro +++ b/noncore/settings/aqpkg/aqpkg.pro | |||
@@ -21,20 +21,20 @@ SOURCES = mainwin.cpp \ | |||
21 | ipkg.cpp \ | 21 | ipkg.cpp \ |
22 | main.cpp \ | 22 | main.cpp \ |
23 | packagewin.cpp \ | 23 | packagewin.cpp \ |
24 | package.cpp \ | 24 | package.cpp \ |
25 | installdlgimpl.cpp \ | 25 | installdlgimpl.cpp \ |
26 | instoptionsimpl.cpp \ | 26 | instoptionsimpl.cpp \ |
27 | destination.cpp \ | 27 | destination.cpp \ |
28 | utils.cpp \ | 28 | utils.cpp \ |
29 | server.cpp \ | 29 | server.cpp \ |
30 | letterpushbutton.cpp \ | 30 | letterpushbutton.cpp \ |
31 | inputdlg.cpp \ | 31 | inputdlg.cpp \ |
32 | version.cpp \ | 32 | version.cpp \ |
33 | categoryfilterimpl.cpp | 33 | categoryfilterimpl.cpp |
34 | TARGET = aqpkg | 34 | TARGET = aqpkg |
35 | INCLUDEPATH += $(OPIEDIR)/include | 35 | INCLUDEPATH += $(OPIEDIR)/include |
36 | DEPENDPATH += $(OPIEDIR)/include | 36 | DEPENDPATH += $(OPIEDIR)/include |
37 | LIBS += -lqpe -lopiecore2 -lopieui2 -lstdc++ | 37 | LIBS += -lqpe -lopiecore2 -lopieui2 |
38 | 38 | ||
39 | include ( $(OPIEDIR)/include.pro ) | 39 | include ( $(OPIEDIR)/include.pro ) |
40 | 40 | ||
diff --git a/noncore/settings/aqpkg/settingsimpl.cpp b/noncore/settings/aqpkg/settingsimpl.cpp index 2f35617..9c8ec7a 100644 --- a/noncore/settings/aqpkg/settingsimpl.cpp +++ b/noncore/settings/aqpkg/settingsimpl.cpp | |||
@@ -34,37 +34,32 @@ | |||
34 | #include <opie2/otabwidget.h> | 34 | #include <opie2/otabwidget.h> |
35 | #ifdef QWS | 35 | #ifdef QWS |
36 | #include <qpe/config.h> | 36 | #include <qpe/config.h> |
37 | #include <qpe/resource.h> | 37 | #include <qpe/resource.h> |
38 | #endif | 38 | #endif |
39 | #include <qpe/qpeapplication.h> | 39 | #include <qpe/qpeapplication.h> |
40 | 40 | ||
41 | /* QT */ | 41 | /* QT */ |
42 | #include <qcheckbox.h> | 42 | #include <qcheckbox.h> |
43 | #include <qgroupbox.h> | 43 | #include <qgroupbox.h> |
44 | #include <qlabel.h> | 44 | #include <qlabel.h> |
45 | #include <qlayout.h> | 45 | #include <qlayout.h> |
46 | #include <qlineedit.h> | 46 | #include <qlineedit.h> |
47 | #include <qlistbox.h> | 47 | #include <qlistbox.h> |
48 | #include <qpushbutton.h> | 48 | #include <qpushbutton.h> |
49 | 49 | ||
50 | /* STD */ | ||
51 | #include <fstream> | ||
52 | #include <algorithm> | ||
53 | using namespace std; | ||
54 | |||
55 | using namespace Opie::Ui; | 50 | using namespace Opie::Ui; |
56 | using namespace Opie::Ui; | 51 | using namespace Opie::Ui; |
57 | SettingsImpl :: SettingsImpl( DataManager *dataManager, QWidget * parent, const char* name, bool modal, WFlags fl ) | 52 | SettingsImpl :: SettingsImpl( DataManager *dataManager, QWidget * parent, const char* name, bool modal, WFlags fl ) |
58 | : QDialog( parent, name, modal, fl ) | 53 | : QDialog( parent, name, modal, fl ) |
59 | { | 54 | { |
60 | setCaption( tr( "Configuration" ) ); | 55 | setCaption( tr( "Configuration" ) ); |
61 | 56 | ||
62 | // Setup layout to make everything pretty | 57 | // Setup layout to make everything pretty |
63 | QVBoxLayout *layout = new QVBoxLayout( this ); | 58 | QVBoxLayout *layout = new QVBoxLayout( this ); |
64 | layout->setMargin( 2 ); | 59 | layout->setMargin( 2 ); |
65 | layout->setSpacing( 4 ); | 60 | layout->setSpacing( 4 ); |
66 | 61 | ||
67 | // Setup tabs for all info | 62 | // Setup tabs for all info |
68 | OTabWidget *tabwidget = new OTabWidget( this ); | 63 | OTabWidget *tabwidget = new OTabWidget( this ); |
69 | layout->addWidget( tabwidget ); | 64 | layout->addWidget( tabwidget ); |
70 | 65 | ||