join.........
qlistxmlfile.append("<?xml version=\"1.0\" ?>");
qlistxmlfile.append("<uri>"+pics_xml_fiel_browser+"</uri>");
qlistxmlfile.append("<icon>/user/images/icon/folder.png</icon>");
qlistxmlfile.append("<title>Pictures</title>");
qlistxmlfile.append("<src>"+pics_xml_fiel_browser+"</src>"); /* browser server path */
qlistxmlfile.append("<items>");
/* die aussen schleleife
qlistxmlfile.append("<resource id=\""+bildname+"\">");
die innen schleleife
qlistxmlfile.append("\t<uri>"+pathimage+bildname"</uri>");
qlistxmlfile.append("\t<title>"+bildname"</title>");
qlistxmlfile.append("\t<description>"++"</description>");
qlistxmlfile.append("\t<width>"++"</width>");
qlistxmlfile.append("\t<height>"++"</height>");
qlistxmlfile.append("\t<size>"++"</size>");
qlistxmlfile.append("</resource>");
*/
qlistxmlfile.append("</items>");
qlistxmlfile.append("<?xml version=\"1.0\" ?>");
qlistxmlfile.append("<uri>"+pics_xml_fiel_browser+"</uri>");
qlistxmlfile.append("<icon>/user/images/icon/folder.png</icon>");
qlistxmlfile.append("<title>Pictures</title>");
qlistxmlfile.append("<src>"+pics_xml_fiel_browser+"</src>"); /* browser server path */
qlistxmlfile.append("<items>");
/* die aussen schleleife
qlistxmlfile.append("<resource id=\""+bildname+"\">");
die innen schleleife
qlistxmlfile.append("\t<uri>"+pathimage+bildname"</uri>");
qlistxmlfile.append("\t<title>"+bildname"</title>");
qlistxmlfile.append("\t<description>"++"</description>");
qlistxmlfile.append("\t<width>"++"</width>");
qlistxmlfile.append("\t<height>"++"</height>");
qlistxmlfile.append("\t<size>"++"</size>");
qlistxmlfile.append("</resource>");
*/
qlistxmlfile.append("</items>");
QString xml = QString(qlistxmlfile.join("\n"));
To copy to clipboard, switch view to plain text mode
Bookmarks