summaryrefslogtreecommitdiff
authorzecke <zecke>2004-10-11 20:31:10 (UTC)
committer zecke <zecke>2004-10-11 20:31:10 (UTC)
commitd063dce0ade1e18044cb8826963e47e979e9a280 (patch) (side-by-side diff)
treeafcbd1b0cb7b4dcf0370b9575bf4025820347613
parent75fb192e17a3e55dc0c631dbd62b42796714b0dc (diff)
downloadopie-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
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/aqpkg/aqpkg.pro2
-rw-r--r--noncore/settings/aqpkg/settingsimpl.cpp5
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
@@ -25,16 +25,16 @@ SOURCES = mainwin.cpp \
installdlgimpl.cpp \
instoptionsimpl.cpp \
destination.cpp \
utils.cpp \
server.cpp \
letterpushbutton.cpp \
inputdlg.cpp \
version.cpp \
categoryfilterimpl.cpp
TARGET = aqpkg
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
-LIBS += -lqpe -lopiecore2 -lopieui2 -lstdc++
+LIBS += -lqpe -lopiecore2 -lopieui2
include ( $(OPIEDIR)/include.pro )
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
@@ -38,29 +38,24 @@
#endif
#include <qpe/qpeapplication.h>
/* QT */
#include <qcheckbox.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qlineedit.h>
#include <qlistbox.h>
#include <qpushbutton.h>
-/* STD */
-#include <fstream>
-#include <algorithm>
-using namespace std;
-
using namespace Opie::Ui;
using namespace Opie::Ui;
SettingsImpl :: SettingsImpl( DataManager *dataManager, QWidget * parent, const char* name, bool modal, WFlags fl )
: QDialog( parent, name, modal, fl )
{
setCaption( tr( "Configuration" ) );
// Setup layout to make everything pretty
QVBoxLayout *layout = new QVBoxLayout( this );
layout->setMargin( 2 );
layout->setSpacing( 4 );