diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:44:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-06 13:52:29 +0900 |
commit | e6077c30d14e9d662e8843c554db86c0d366d0b6 (patch) | |
tree | 672319afee32f0316bad258c0e9a1e0dd737bd61 /doc/man/man3/tqstrlist.3qt | |
parent | 8c029298d9d3f1f84b65ac4a3a16cd1fa28d9cde (diff) | |
download | tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.tar.gz tqt3-e6077c30d14e9d662e8843c554db86c0d366d0b6.zip |
Rename str nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqstrlist.3qt')
-rw-r--r-- | doc/man/man3/tqstrlist.3qt | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/man/man3/tqstrlist.3qt b/doc/man/man3/tqstrlist.3qt index 2a7928964..3bae180a3 100644 --- a/doc/man/man3/tqstrlist.3qt +++ b/doc/man/man3/tqstrlist.3qt @@ -1,5 +1,5 @@ '\" t -.TH QStrList 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQStrList 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,59 +7,59 @@ .ad l .nh .SH NAME -QStrList \- Doubly-linked list of char* +TQStrList \- Doubly-linked list of char* .SH SYNOPSIS -\fC#include <ntqstrlist.h>\fR +\fC#include <tqstrlist.h>\fR .PP Inherits TQPtrList<char>. .PP -Inherited by QStrIList. +Inherited by TQStrIList. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQStrList\fR ( bool deepCopies = TRUE )" +.BI "\fBTQStrList\fR ( bool deepCopies = TRUE )" .br .ti -1c -.BI "\fBQStrList\fR ( const QStrList & list )" +.BI "\fBTQStrList\fR ( const TQStrList & list )" .br .ti -1c -.BI "\fB~QStrList\fR ()" +.BI "\fB~TQStrList\fR ()" .br .ti -1c -.BI "QStrList & \fBoperator=\fR ( const QStrList & list )" +.BI "TQStrList & \fBoperator=\fR ( const TQStrList & list )" .br .in -1c .SH DESCRIPTION -The QStrList class provides a doubly-linked list of char*. +The TQStrList class provides a doubly-linked list of char*. .PP -If you want a string list of QStrings use QStringList. +If you want a string list of TQStrings use TQStringList. .PP This class is a TQPtrList<char> instance (a list of char*). .PP -QStrList can make deep or shallow copies of the strings that are inserted. +TQStrList can make deep or shallow copies of the strings that are inserted. .PP A deep copy means that memory is allocated for the string and then the string data is copied into that memory. A shallow copy is just a copy of the pointer value and not of the string data itself. .PP The disadvantage of shallow copies is that because a pointer can be deleted only once, the program must put all strings in a central place and know when it is safe to delete them (i.e. when the strings are no longer referenced by other parts of the program). This can make the program more complex. The advantage of shallow copies is that they consume far less memory than deep copies. It is also much faster to copy a pointer (typically 4 or 8 bytes) than to copy string data. .PP -A QStrList that operates on deep copies will, by default, turn on auto-deletion (see setAutoDelete()). Thus, by default QStrList will deallocate any string copies it allocates. +A TQStrList that operates on deep copies will, by default, turn on auto-deletion (see setAutoDelete()). Thus, by default TQStrList will deallocate any string copies it allocates. .PP The virtual compareItems() function is reimplemented and does a case-sensitive string comparison. The inSort() function will insert strings in sorted order. In general it is fastest to insert the strings as they come and sort() at the end; inSort() is useful when you just have to add a few extra strings to an already sorted list. .PP -The QStrListIterator class is an iterator for QStrList. +The TQStrListIterator class is an iterator for TQStrList. .PP See also Collection Classes, Text Related Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QStrList::QStrList ( bool deepCopies = TRUE )" +.SH "TQStrList::TQStrList ( bool deepCopies = TRUE )" Constructs an empty list of strings. Will make deep copies of all inserted strings if \fIdeepCopies\fR is TRUE, or use shallow copies if \fIdeepCopies\fR is FALSE. -.SH "QStrList::QStrList ( const QStrList & list )" +.SH "TQStrList::TQStrList ( const TQStrList & list )" Constructs a copy of \fIlist\fR. .PP If \fIlist\fR has deep copies, this list will also get deep copies. Only the pointers are copied (shallow copy) if the other list does not use deep copies. -.SH "QStrList::~QStrList ()" +.SH "TQStrList::~TQStrList ()" Destroys the list. All strings are removed. -.SH "QStrList & QStrList::operator= ( const QStrList & list )" +.SH "TQStrList & TQStrList::operator= ( const TQStrList & list )" Assigns \fIlist\fR to this list and returns a reference to this list. .PP If \fIlist\fR has deep copies, this list will also get deep copies. @@ -67,7 +67,7 @@ Only the pointers are copied (shallow copy) if the other list does not use deep copies. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqstrlist.html +.BR http://doc.trolltech.com/tqstrlist.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |