author | kergoth <kergoth> | 2002-11-11 17:24:58 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-11-11 17:24:58 (UTC) |
commit | 94cc15c14d0a15dd21258730d058f72dae730cf4 (patch) (unidiff) | |
tree | 9de88e05e769ac0f150693411b038c50e23662fb | |
parent | 84cafc64d515c80aebd50e70b47e3da93d742c8a (diff) | |
download | opie-94cc15c14d0a15dd21258730d058f72dae730cf4.zip opie-94cc15c14d0a15dd21258730d058f72dae730cf4.tar.gz opie-94cc15c14d0a15dd21258730d058f72dae730cf4.tar.bz2 |
add #include <iostream>, and std:: when not 'using namespace std'
-rw-r--r-- | noncore/settings/aqpkg/mainwin.cpp | 4 | ||||
-rw-r--r-- | noncore/settings/aqpkg/mem.cpp | 1 |
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 @@ | |||
14 | * (at your option) any later version. * | 14 | * (at your option) any later version. * |
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | 17 | ||
18 | #include <iostream> | ||
19 | |||
18 | #include <qmenubar.h> | 20 | #include <qmenubar.h> |
19 | #include <qpopupmenu.h> | 21 | #include <qpopupmenu.h> |
20 | #include <qmessagebox.h> | 22 | #include <qmessagebox.h> |
21 | 23 | ||
@@ -80,9 +82,9 @@ MainWindow :: ~MainWindow() | |||
80 | void MainWindow :: setDocument( const QString &doc ) | 82 | void MainWindow :: setDocument( const QString &doc ) |
81 | { | 83 | { |
82 | // Remove path from package | 84 | // Remove path from package |
83 | QString package = Utils::getPackageNameFromIpkFilename( doc ); | 85 | QString package = Utils::getPackageNameFromIpkFilename( doc ); |
84 | cout << "Selecting package " << package << endl; | 86 | std::cout << "Selecting package " << package << std::endl; |
85 | networkPkgWindow->selectLocalPackage( package ); | 87 | networkPkgWindow->selectLocalPackage( package ); |
86 | } | 88 | } |
87 | 89 | ||
88 | void MainWindow :: displaySettings() | 90 | 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 @@ | |||
15 | * * | 15 | * * |
16 | ***************************************************************************/ | 16 | ***************************************************************************/ |
17 | #include <stdio.h> | 17 | #include <stdio.h> |
18 | #include <fstream> | 18 | #include <fstream> |
19 | #include <iostream> | ||
19 | #include <list> | 20 | #include <list> |
20 | using namespace std; | 21 | using namespace std; |
21 | 22 | ||
22 | #define __MEMFILE_C | 23 | #define __MEMFILE_C |