author | zecke <zecke> | 2004-10-12 00:38:29 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-10-12 00:38:29 (UTC) |
commit | c4471939b0b1a187646a85c04d3290c23db78c9d (patch) (unidiff) | |
tree | 569d5408cde7f96a89ab7be339ec7256bac604ef /noncore/settings/aqpkg/datamgr.h | |
parent | 7541d90e82392e5e727d8bdc818c5ec2f7b2bd3e (diff) | |
download | opie-c4471939b0b1a187646a85c04d3290c23db78c9d.zip opie-c4471939b0b1a187646a85c04d3290c23db78c9d.tar.gz opie-c4471939b0b1a187646a85c04d3290c23db78c9d.tar.bz2 |
Try harder to remove stdc++ need
-Remove using namespace std;
-Remove include <iostream>
-Replace std::list with QValueList
Diffstat (limited to 'noncore/settings/aqpkg/datamgr.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/datamgr.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/noncore/settings/aqpkg/datamgr.h b/noncore/settings/aqpkg/datamgr.h index 9f8920d..5a79267 100644 --- a/noncore/settings/aqpkg/datamgr.h +++ b/noncore/settings/aqpkg/datamgr.h | |||
@@ -9,51 +9,48 @@ | |||
9 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 9 | :`=1 )Y*s>-.-- : the terms of the GNU General Public |
10 | .="- .-=="i, .._ License as published by the Free Software | 10 | .="- .-=="i, .._ License as published by the Free Software |
11 | - . .-<_> .<> Foundation; either version 2 of the License, | 11 | - . .-<_> .<> Foundation; either version 2 of the License, |
12 | ._= =} : or (at your option) any later version. | 12 | ._= =} : or (at your option) any later version. |
13 | .%`+i> _;_. | 13 | .%`+i> _;_. |
14 | .i_,=:_. -<s. This file is distributed in the hope that | 14 | .i_,=:_. -<s. This file is distributed in the hope that |
15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
16 | : .. .:, . . . without even the implied warranty of | 16 | : .. .:, . . . without even the implied warranty of |
17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General | 18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU General |
19 | ..}^=.= = ; Public License for more details. | 19 | ..}^=.= = ; Public License for more details. |
20 | ++= -. .` .: | 20 | ++= -. .` .: |
21 | : = ...= . :.=- You should have received a copy of the GNU | 21 | : = ...= . :.=- You should have received a copy of the GNU |
22 | -. .:....=;==+<; General Public License along with this file; | 22 | -. .:....=;==+<; General Public License along with this file; |
23 | -_. . . )=. = see the file COPYING. If not, write to the | 23 | -_. . . )=. = see the file COPYING. If not, write to the |
24 | -- :-=` Free Software Foundation, Inc., | 24 | -- :-=` Free Software Foundation, Inc., |
25 | 59 Temple Place - Suite 330, | 25 | 59 Temple Place - Suite 330, |
26 | Boston, MA 02111-1307, USA. | 26 | Boston, MA 02111-1307, USA. |
27 | 27 | ||
28 | */ | 28 | */ |
29 | 29 | ||
30 | #ifndef DATAMGR_H | 30 | #ifndef DATAMGR_H |
31 | #define DATAMGR_H | 31 | #define DATAMGR_H |
32 | 32 | ||
33 | #include <map> | ||
34 | using namespace std; | ||
35 | |||
36 | #include <qlist.h> | 33 | #include <qlist.h> |
37 | #include <qobject.h> | 34 | #include <qobject.h> |
38 | #include <qstring.h> | 35 | #include <qstring.h> |
39 | 36 | ||
40 | #include "server.h" | 37 | #include "server.h" |
41 | #include "destination.h" | 38 | #include "destination.h" |
42 | 39 | ||
43 | //#define LOCAL_SERVER "Installed Pkgs" | 40 | //#define LOCAL_SERVER "Installed Pkgs" |
44 | //#define LOCAL_IPKGS "local IPKG" | 41 | //#define LOCAL_IPKGS "local IPKG" |
45 | extern QString LOCAL_SERVER; | 42 | extern QString LOCAL_SERVER; |
46 | extern QString LOCAL_IPKGS; | 43 | extern QString LOCAL_IPKGS; |
47 | 44 | ||
48 | /** | 45 | /** |
49 | *@author Andy Qua | 46 | *@author Andy Qua |
50 | */ | 47 | */ |
51 | 48 | ||
52 | 49 | ||
53 | class DataManager : public QObject | 50 | class DataManager : public QObject |
54 | { | 51 | { |
55 | Q_OBJECT | 52 | Q_OBJECT |
56 | public: | 53 | public: |
57 | DataManager(); | 54 | DataManager(); |
58 | ~DataManager(); | 55 | ~DataManager(); |
59 | 56 | ||