661 int lineCount = lines.
size();
663 lines = lines.
mid(0, 5);
QString toString() const
Returns the variant as a QString if the variant has type() String , Bool , ByteArray ...
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QString class provides a Unicode character string.
QList< T > mid(int pos, int length=-1) const
Returns a list whose elements are copied from this list, starting at position pos.
void append(const T &t)
Inserts value at the end of the list.
The QStringList class provides a list of strings.
int indexOf(QChar c, int from=0, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
QString join(const QString &sep) const
Joins all the string list's strings into a single string with each element separated by the given sep...
static QString fromLatin1(const char *, int size=-1)
Returns a QString initialized with the first size characters of the Latin-1 string str...
int size() const
Returns the number of items in the list.
QStringList split(const QString &sep, SplitBehavior behavior=KeepEmptyParts, Qt::CaseSensitivity cs=Qt::CaseSensitive) const Q_REQUIRED_RESULT
Splits the string into substrings wherever sep occurs, and returns the list of those strings...
QVariant result() const
Returns the result of this response.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.