Integration of remotelist to main code
[irwi] / src / remotelist.cpp
index 6fc7cd1..e5352bf 100644 (file)
@@ -26,6 +26,13 @@ RemoteList::RemoteList(const QString &xmlFile)
     parse(xmlFile);   
 }
 
+RemoteList::RemoteList(QIODevice in)
+{
+    QDomDocument doc;
+    doc.setContent(&in);
+    parse(doc);
+}
+
 RemoteList::~RemoteList()
 {
 }