Diffstat (limited to 'noncore/settings/aqpkg/datamgr.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/datamgr.cpp | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/noncore/settings/aqpkg/datamgr.cpp b/noncore/settings/aqpkg/datamgr.cpp index cd0c78f..67f90a3 100644 --- a/noncore/settings/aqpkg/datamgr.cpp +++ b/noncore/settings/aqpkg/datamgr.cpp @@ -1,5 +1,5 @@ /* This file is part of the OPIE Project - + =. Copyright (c) 2002 Andy Qua <andy.qua@blueyonder.co.uk> .=l. Dan Williams <drw@handhelds.org> @@ -41,4 +41,7 @@ #include "global.h" +QString LOCAL_SERVER; +QString LOCAL_IPKGS; + QString DataManager::availableCategories = ""; @@ -48,5 +51,5 @@ DataManager::DataManager() activeServer = ""; availableCategories = "#"; - + serverList.setAutoDelete( TRUE ); destList.setAutoDelete( TRUE ); @@ -138,5 +141,5 @@ void DataManager :: loadServers() #endif d->linkToRoot( linkToRoot ); - + destList.append( d ); } @@ -181,5 +184,5 @@ void DataManager :: reloadServerData( ) QString serverName; int i = 0; - + Server *server; QListIterator<Server> it( serverList ); @@ -191,5 +194,5 @@ void DataManager :: reloadServerData( ) emit progressUpdate( i ); qApp->processEvents(); - + // Now we've read the config file in we need to read the servers // The local server is a special case. This holds the contents of the @@ -202,5 +205,5 @@ void DataManager :: reloadServerData( ) server->readLocalIpks( getServer( LOCAL_SERVER ) ); else - server->readPackageFile( getServer( LOCAL_SERVER ) ); + server->readPackageFile( getServer( LOCAL_SERVER ) ); } } @@ -213,5 +216,5 @@ void DataManager :: writeOutIpkgConf() return; } - + QTextStream t( &f ); /* @@ -295,5 +298,5 @@ void DataManager :: writeOutIpkgConf() t << "# Offline mode (for use in constructing flash images offline)\n"; t << "#option offline_root target\n"; - + f.close(); } |