Diffstat (limited to 'noncore/settings/aqpkg/server.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/server.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/settings/aqpkg/server.h b/noncore/settings/aqpkg/server.h index f585b8f..02746e0 100644 --- a/noncore/settings/aqpkg/server.h +++ b/noncore/settings/aqpkg/server.h @@ -16,11 +16,11 @@ ***************************************************************************/ #ifndef SERVER_H #define SERVER_H +#include <qlist.h> #include <qstring.h> -#include <vector> using namespace std; #include "package.h" #include "destination.h" @@ -34,16 +34,16 @@ public: ~Server(); void cleanUp(); - void readStatusFile( vector<Destination> &v ); + void readStatusFile( QList<Destination> &v ); void readLocalIpks( Server *local ); void readPackageFile( Server *local = 0, bool clearAll = true, bool installedToRoot= false, Destination *dest = 0 ); void buildLocalPackages( Server *local ); Package *getPackage( const char *name ); Package *getPackage( QString &name ); QString toString(); - vector<Package> &getPackageList(); + QList<Package> &getPackageList(); bool isServerActive() { return active; } void setServerName( const QString &name ) { serverName = name; } void setServerUrl( const QString &url ) { serverUrl = url; } @@ -59,8 +59,8 @@ private: QString packageFile; bool active; - vector<Package> packageList; + QList<Package> packageList; }; #endif |