This commit is contained in:
Herwig Birke
2018-02-20 16:03:30 +01:00
parent ea24699b37
commit bb58d2913b
11 changed files with 453 additions and 473 deletions
+23
View File
@@ -11,6 +11,16 @@ cStringTime::cStringTime(const qint32& iTime, const QString& szString) :
{
}
qint32 cStringTime::time()
{
return(m_iTime);
}
QString cStringTime::string()
{
return(m_szString);
}
cStringTimeList::cStringTimeList()
{
}
@@ -22,6 +32,19 @@ cStringTime* cStringTimeList::add(const qint32& iTime, const QString& szString)
return(lpNew);
}
QString cStringTimeList::join()
{
QStringList szList;
QString str;
for(int x = 0;x < count();x++)
{
str = QString::number(at(x)->time()) + "|" + at(x)->string();
szList.append(str);
}
return(szList.join("||"));
}
cString21::cString21() :
m_szLeft(QStringList()),
m_szRight("")