X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fremotelist.h;h=a1249f5f06df39e1b5e0636abe045c4dd121a6d5;hb=45ccc95cedae0ac98706fb55c9a34ffbc727ec20;hp=796bce0ec4b9cf9f777f865537e4234b9b36094e;hpb=a2a3cd7ff10e25a54676bf17b25b93eb90c365c6;p=irwi diff --git a/src/remotelist.h b/src/remotelist.h index 796bce0..a1249f5 100644 --- a/src/remotelist.h +++ b/src/remotelist.h @@ -14,6 +14,7 @@ public: RemoteList(const RemoteList &); RemoteList(QDomDocument &); RemoteList(const QString &xmlFile); + RemoteList(QIODevice); ~RemoteList(); void setContent(QDomDocument &); @@ -22,8 +23,8 @@ public: // Returns false if document is not set or it's invalid bool isValid(); - QList letters(); - QStringList manufacturers(const QChar &letter); + QStringList letters(); + QStringList manufacturers(const QString &letter); QList models(const QString &manufacturer); private: @@ -35,7 +36,7 @@ private: private: bool valid; - QMap mfgMap; + QMap mfgMap; QMap > modelMap; };