summaryrefslogtreecommitdiff
Unidiff
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
@@ -12,12 +12,14 @@
12 * it under the terms of the GNU General Public License as published by * 12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or * 13 * the Free Software Foundation; either version 2 of the License, or *
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
22#include "mainwin.h" 24#include "mainwin.h"
23#include "datamgr.h" 25#include "datamgr.h"
@@ -78,13 +80,13 @@ MainWindow :: ~MainWindow()
78} 80}
79 81
80void MainWindow :: setDocument( const QString &doc ) 82void 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
88void MainWindow :: displaySettings() 90void MainWindow :: displaySettings()
89{ 91{
90 SettingsImpl *dlg = new SettingsImpl( mgr, this, "Settings", true ); 92 SettingsImpl *dlg = new SettingsImpl( mgr, this, "Settings", true );
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
@@ -13,12 +13,13 @@
13 * the Free Software Foundation; either version 2 of the License, or * 13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. * 14 * (at your option) any later version. *
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>
20using namespace std; 21using namespace std;
21 22
22#define __MEMFILE_C 23#define __MEMFILE_C
23#include "global.h" 24#include "global.h"
24 25