git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@340107
283d02a7-25f6-0310-bc7c-
ecb5cbfe19da
append(s);
}
+StringList::StringList(const ByteVectorList &bl, String::Type t) : List<String>()
+{
+ ByteVectorList::ConstIterator i = bl.begin();
+ for(;i != bl.end(); i++) {
+ append(String(*i, t));
+ }
+}
+
StringList::~StringList()
{
#include "tstring.h"
#include "tlist.h"
+#include "tbytevectorlist.h"
#include <iostream>
*/
StringList(const String &s);
+ /*!
+ * Makes a deep copy of the data in \a vl.
+ *
+ * \note This should only be used with the 8-bit codecs Latin1 and UTF8, when
+ * used with other codecs it will simply print a warning and exit.
+ */
+ StringList(const ByteVectorList &vl, String::Type t = String::Latin1);
+
/*!
* Destroys this StringList instance.
*/