Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QStringList::QStringList ( const QStringList other  )  [inline]

Constructs a copy of the other string list.

This operation takes {constant time} because QStringList is {implicitly shared}, making the process of returning a QStringList from a function very fast. If a shared instance is modified, it will be copied (copy-on-write), and that takes {linear time}.

See also:
operator=()

Definition at line 71 of file qstringlist.h.

: QList<QString>(l) { }


Generated by  Doxygen 1.6.0   Back to index