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

QStringList::QStringList ( const QList< QString > &  other  )  [inline]

Constructs a copy of other.

This operation takes {constant time}, because QStringList is {implicitly shared}. This makes 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 72 of file qstringlist.h.

: QList<QString>(l) { }


Generated by  Doxygen 1.6.0   Back to index