summaryrefslogtreecommitdiff
authorkergoth <kergoth>2002-11-11 17:24:58 (UTC)
committer kergoth <kergoth>2002-11-11 17:24:58 (UTC)
commit94cc15c14d0a15dd21258730d058f72dae730cf4 (patch) (side-by-side diff)
tree9de88e05e769ac0f150693411b038c50e23662fb
parent84cafc64d515c80aebd50e70b47e3da93d742c8a (diff)
downloadopie-94cc15c14d0a15dd21258730d058f72dae730cf4.zip
opie-94cc15c14d0a15dd21258730d058f72dae730cf4.tar.gz
opie-94cc15c14d0a15dd21258730d058f72dae730cf4.tar.bz2
add #include <iostream>, and std:: when not 'using namespace std'
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/mainwin.cpp4
-rw-r--r--noncore/settings/aqpkg/mem.cpp1
2 files changed, 4 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp
index 4e9cc12..5ccd3c3 100644
--- a/noncore/settings/aqpkg/mainwin.cpp
+++ b/noncore/settings/aqpkg/mainwin.cpp
@@ -14,8 +14,10 @@
* (at your option) any later version. *
* *
***************************************************************************/
+#include <iostream>
+
#include <qmenubar.h>
#include <qpopupmenu.h>
#include <qmessagebox.h>
@@ -80,9 +82,9 @@ MainWindow :: ~MainWindow()
void MainWindow :: setDocument( const QString &doc )
{
// Remove path from package
QString package = Utils::getPackageNameFromIpkFilename( doc );
- cout << "Selecting package " << package << endl;
+ std::cout << "Selecting package " << package << std::endl;
networkPkgWindow->selectLocalPackage( package );
}
void MainWindow :: displaySettings()
diff --git a/noncore/settings/aqpkg/mem.cpp b/noncore/settings/aqpkg/mem.cpp
index 76ce35c..405aada 100644
--- a/noncore/settings/aqpkg/mem.cpp
+++ b/noncore/settings/aqpkg/mem.cpp
@@ -15,8 +15,9 @@
* *
***************************************************************************/
#include <stdio.h>
#include <fstream>
+#include <iostream>
#include <list>
using namespace std;
#define __MEMFILE_C