RemoteList integration to SelectRemoteDlg
[irwi] / src / remotelist.h
index 796bce0..28481a3 100644 (file)
@@ -13,29 +13,25 @@ public:
     RemoteList();
     RemoteList(const RemoteList &);
     RemoteList(QDomDocument &);
-    RemoteList(const QString &xmlFile);
     ~RemoteList();
     
     void setContent(QDomDocument &);
-    void setContent(const QString &xmlFile);
 
     // Returns false if document is not set or it's invalid
     bool isValid();
 
-    QList<QChar> letters();
-    QStringList manufacturers(const QChar &letter);
+    QStringList letters();
+    QStringList manufacturers(const QString &letter);
     QList<Model> models(const QString &manufacturer);
 
 private:
-    void parse(const QString &xmlFile);
     void parse(QDomDocument &doc);
     QStringList parseMfgs(QDomElement &charEl);
     QList<Model> parseModels(QDomElement &mfgEl);
-    void printMaps();
     
 private:
     bool valid;
-    QMap<QChar, QStringList> mfgMap;
+    QMap<QString, QStringList> mfgMap;
     QMap<QString, QList<Model> > modelMap;
 };