projects
/
irwi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Integration of remotelist to main code
[irwi]
/
src
/
remotelist.h
diff --git
a/src/remotelist.h
b/src/remotelist.h
index
796bce0
..
a1249f5
100644
(file)
--- a/
src/remotelist.h
+++ b/
src/remotelist.h
@@
-14,6
+14,7
@@
public:
RemoteList(const RemoteList &);
RemoteList(QDomDocument &);
RemoteList(const QString &xmlFile);
RemoteList(const RemoteList &);
RemoteList(QDomDocument &);
RemoteList(const QString &xmlFile);
+ RemoteList(QIODevice);
~RemoteList();
void setContent(QDomDocument &);
~RemoteList();
void setContent(QDomDocument &);
@@
-22,8
+23,8
@@
public:
// Returns false if document is not set or it's invalid
bool isValid();
// 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:
QList<Model> models(const QString &manufacturer);
private:
@@
-35,7
+36,7
@@
private:
private:
bool valid;
private:
bool valid;
- QMap<QChar, QStringList> mfgMap;
+ QMap<QString, QStringList> mfgMap;
QMap<QString, QList<Model> > modelMap;
};
QMap<QString, QList<Model> > modelMap;
};