From 0881ed5059c46ce73e8241e6260b82b92f6d0e55 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jun 2024 12:20:38 +0900 Subject: [PATCH] Rename ptr nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- ChangeLog.immodule | 2 +- doc/classchart.doc | 16 +- doc/collect.doc | 50 +-- doc/html/annotated.html | 16 +- doc/html/bigtable-example.html | 8 +- doc/html/canvas-example.html | 16 +- doc/html/classchart.html | 16 +- doc/html/classes.html | 16 +- doc/html/collection.html | 70 ++-- doc/html/customlayout-example.html | 78 ++-- doc/html/customlayout.html | 28 +- doc/html/dirview-example.html | 6 +- doc/html/functions.html | 136 +++---- doc/html/grapher-nsplugin-example.html | 56 +-- doc/html/headerfilesynonyms | 4 +- doc/html/headers.html | 12 +- doc/html/hierarchy.html | 16 +- doc/html/index | 304 +++++++-------- doc/html/listviews-example.html | 14 +- doc/html/mdi-example.html | 2 +- doc/html/ntqapplication.html | 8 +- doc/html/ntqasciicache.html | 20 +- doc/html/ntqasciidict.html | 34 +- doc/html/ntqcache.html | 20 +- doc/html/ntqdict.html | 42 +- doc/html/ntqdir.html | 4 +- doc/html/ntqdockarea.html | 2 +- doc/html/ntqintcache.html | 14 +- doc/html/ntqintdict.html | 32 +- doc/html/ntqmainwindow.html | 6 +- doc/html/ntqmemarray.html | 2 +- doc/html/ntqstrlist.html | 14 +- doc/html/ntqtabbar.html | 2 +- doc/html/ntqurloperator.html | 4 +- doc/html/ntqworkspace.html | 4 +- doc/html/porting.html | 16 +- doc/html/qasciicache-members.html | 8 +- doc/html/qasciidict-members.html | 8 +- doc/html/qcache-members.html | 8 +- doc/html/qdict-members.html | 8 +- doc/html/qdockarea-h.html | 2 +- doc/html/qfontmanager_qws-h.html | 2 +- doc/html/qintcache-members.html | 8 +- doc/html/qintdict-members.html | 8 +- doc/html/qlistviewitemiterator.html | 8 +- doc/html/qmacmime.html | 2 +- doc/html/qmainwindow-h.html | 2 +- doc/html/qmenudata-h.html | 2 +- doc/html/qmime-h.html | 4 +- doc/html/qptrlist-members.html | 90 ----- doc/html/qptrvector-members.html | 76 ---- doc/html/qstrilist-members.html | 82 ++-- doc/html/qstrilist.html | 10 +- doc/html/qstrlist-h.html | 2 +- doc/html/qstrlist-members.html | 82 ++-- doc/html/qstrlistiterator-members.html | 30 +- doc/html/qstrlistiterator.html | 6 +- doc/html/qstylesheet-h.html | 2 +- doc/html/qt-template-lib.html | 6 +- doc/html/qt.dcf | 366 +++++++++--------- doc/html/qtabbar-h.html | 2 +- doc/html/qtable-h.html | 4 +- doc/html/qtextbrowser-h.html | 2 +- doc/html/qtextedit-h.html | 4 +- doc/html/qurloperator-h.html | 2 +- doc/html/qwerty-example.html | 14 +- doc/html/qwindowsmime.html | 2 +- doc/html/qwindowsystem_qws-h.html | 2 +- doc/html/qwsserver.html | 2 +- doc/html/scribble-example.html | 2 +- doc/html/showimg-example.html | 2 +- doc/html/table-bigtable-main-cpp.html | 8 +- doc/html/tagreader-with-features-example.html | 4 +- doc/html/tictac-example.html | 2 +- doc/html/titleindex | 44 +-- doc/html/tools.html | 16 +- doc/html/tqcanvas-h.html | 2 +- doc/html/tqcanvaspixmaparray.html | 2 +- doc/html/tqmap.html | 2 +- doc/html/tqobject.html | 10 +- doc/html/tqobjectlist-h.html | 2 +- doc/html/tqobjectlist-members.html | 82 ++-- doc/html/tqobjectlist.html | 16 +- doc/html/tqobjectlistiterator-members.html | 28 +- doc/html/tqobjectlistiterator.html | 4 +- doc/html/tqpair.html | 4 +- ...llection-h.html => tqptrcollection-h.html} | 8 +- ...bers.html => tqptrcollection-members.html} | 20 +- ...trcollection.html => tqptrcollection.html} | 20 +- .../{qptrdict-h.html => tqptrdict-h.html} | 10 +- ...ct-members.html => tqptrdict-members.html} | 46 +-- doc/html/{ntqptrdict.html => tqptrdict.html} | 48 +-- ...rs.html => tqptrdictiterator-members.html} | 26 +- ...ctiterator.html => tqptrdictiterator.html} | 22 +- .../{qptrlist-h.html => tqptrlist-h.html} | 10 +- doc/html/tqptrlist-members.html | 90 +++++ doc/html/{ntqptrlist.html => tqptrlist.html} | 88 ++--- ...rs.html => tqptrlistiterator-members.html} | 38 +- ...stiterator.html => tqptrlistiterator.html} | 28 +- .../{qptrqueue-h.html => tqptrqueue-h.html} | 10 +- ...e-members.html => tqptrqueue-members.html} | 36 +- .../{ntqptrqueue.html => tqptrqueue.html} | 18 +- .../{qptrstack-h.html => tqptrstack-h.html} | 10 +- ...k-members.html => tqptrstack-members.html} | 36 +- .../{ntqptrstack.html => tqptrstack.html} | 22 +- .../{qptrvector-h.html => tqptrvector-h.html} | 10 +- doc/html/tqptrvector-members.html | 76 ++++ .../{ntqptrvector.html => tqptrvector.html} | 36 +- doc/html/tqsqldriver-h.html | 2 +- doc/html/tqvaluelist.html | 4 +- doc/html/tqvaluestack.html | 4 +- doc/html/tqvaluevector.html | 4 +- doc/html/tqwidgetfactory-h.html | 2 +- doc/html/tqwidgetstack-h.html | 2 +- doc/html/whatsthis | 18 +- doc/html/xml-sax-features-walkthrough.html | 4 +- doc/layout.doc | 16 +- doc/man/man3/tqapplication.3qt | 8 +- doc/man/man3/tqasciicache.3qt | 10 +- doc/man/man3/tqasciidict.3qt | 22 +- doc/man/man3/tqcache.3qt | 14 +- doc/man/man3/tqcanvaspixmaparray.3qt | 4 +- doc/man/man3/tqdict.3qt | 24 +- doc/man/man3/tqdir.3qt | 4 +- doc/man/man3/tqdockarea.3qt | 4 +- doc/man/man3/tqintcache.3qt | 8 +- doc/man/man3/tqintdict.3qt | 20 +- doc/man/man3/tqlistviewitemiterator.3qt | 6 +- doc/man/man3/tqmacmime.3qt | 4 +- doc/man/man3/tqmainwindow.3qt | 12 +- doc/man/man3/tqmap.3qt | 2 +- doc/man/man3/tqmemarray.3qt | 2 +- doc/man/man3/tqobject.3qt | 2 +- doc/man/man3/tqobjectlist.3qt | 8 +- doc/man/man3/tqobjectlistiterator.3qt | 4 +- doc/man/man3/tqpair.3qt | 4 +- doc/man/man3/tqptrcollection.3qt | 54 +-- doc/man/man3/tqptrdict.3qt | 78 ++-- doc/man/man3/tqptrdictiterator.3qt | 46 +-- doc/man/man3/tqptrlist.3qt | 140 +++---- doc/man/man3/tqptrlistiterator.3qt | 64 +-- doc/man/man3/tqptrqueue.3qt | 62 +-- doc/man/man3/tqptrstack.3qt | 66 ++-- doc/man/man3/tqptrvector.3qt | 98 ++--- doc/man/man3/tqstrilist.3qt | 2 +- doc/man/man3/tqstrlist.3qt | 4 +- doc/man/man3/tqstrlistiterator.3qt | 4 +- doc/man/man3/tqtabbar.3qt | 4 +- doc/man/man3/tqurloperator.3qt | 8 +- doc/man/man3/tqvaluelist.3qt | 4 +- doc/man/man3/tqvaluestack.3qt | 4 +- doc/man/man3/tqvaluevector.3qt | 4 +- doc/man/man3/tqwindowsmime.3qt | 4 +- doc/man/man3/tqworkspace.3qt | 4 +- doc/man/man3/tqwsserver.3qt | 4 +- doc/porting3.doc | 16 +- doc/qasciicache.doc | 12 +- doc/qasciidict.doc | 14 +- doc/qcache.doc | 4 +- doc/qdict.doc | 16 +- doc/qintcache.doc | 2 +- doc/qintdict.doc | 12 +- doc/qmemarray.doc | 2 +- doc/qtl.doc | 10 +- doc/tqmap.doc | 2 +- doc/tqobjectlist.doc | 4 +- doc/tqpair.doc | 4 +- doc/{qptrdict.doc => tqptrdict.doc} | 106 ++--- doc/{qptrlist.doc => tqptrlist.doc} | 218 +++++------ doc/{qptrqueue.doc => tqptrqueue.doc} | 50 +-- doc/{qptrstack.doc => tqptrstack.doc} | 56 +-- doc/{qptrvector.doc => tqptrvector.doc} | 82 ++-- doc/tqvaluelist.doc | 4 +- doc/tqvaluestack.doc | 4 +- doc/tqvaluevector.doc | 4 +- doc/xml-sax-features-walkthrough.doc | 6 +- examples/customlayout/border.h | 2 +- examples/customlayout/card.h | 2 +- examples/customlayout/flow.h | 2 +- examples/demo/qasteroids/ledmeter.h | 2 +- examples/demo/qasteroids/view.h | 2 +- examples/helpdemo/helpdemo.h | 2 +- examples/listviews/listviews.h | 2 +- examples/mdi/application.h | 2 +- examples/qwerty/qwerty.cpp | 2 +- examples/tetrix/qdragapp.cpp | 2 +- examples/tictac/tictac.h | 2 +- .../tagreader-with-features/structureparser.h | 2 +- .../nsplugin/examples/grapher/grapher.cpp | 2 +- include/ntqptrcollection.h | 1 - include/ntqptrdict.h | 1 - include/ntqptrlist.h | 1 - include/ntqptrqueue.h | 1 - include/ntqptrstack.h | 1 - include/ntqptrvector.h | 1 - include/tqptrcollection.h | 1 + include/tqptrdict.h | 1 + include/tqptrlist.h | 1 + include/tqptrqueue.h | 1 + include/tqptrstack.h | 1 + include/tqptrvector.h | 1 + plugins/src/codecs/cn/main.cpp | 2 +- plugins/src/codecs/jp/main.cpp | 2 +- plugins/src/codecs/kr/main.cpp | 2 +- plugins/src/codecs/tw/main.cpp | 2 +- .../inputmethods/xim/qximinputcontext_x11.cpp | 2 +- qmake/Makefile.unix | 8 +- qmake/Makefile.win32-g++ | 6 +- src/canvas/tqcanvas.cpp | 2 +- src/canvas/tqcanvas.h | 2 +- src/dialogs/qfiledialog.cpp | 2 +- src/dialogs/qwizard.cpp | 2 +- src/kernel/ntqinputcontext.h | 2 +- src/kernel/ntqmime.h | 4 +- src/kernel/ntqsignalslotimp.h | 4 +- src/kernel/ntqstylesheet.h | 2 +- src/kernel/ntqt.h | 12 +- src/kernel/ntqurloperator.h | 2 +- src/kernel/qaccel.cpp | 2 +- src/kernel/qaccessible.cpp | 2 +- src/kernel/qapplication.cpp | 2 +- src/kernel/qasyncimageio.cpp | 2 +- src/kernel/qeventloop_glib_p.h | 2 +- src/kernel/qeventloop_p.h | 2 +- src/kernel/qfontengine_p.h | 2 +- src/kernel/qimage.cpp | 2 +- src/kernel/qinternal_p.h | 2 +- src/kernel/qlayout.cpp | 2 +- src/kernel/qmovie.cpp | 2 +- src/kernel/qnetworkprotocol.cpp | 2 +- src/kernel/qpainter.cpp | 4 +- src/kernel/qprocess_unix.cpp | 4 +- src/kernel/qrichtext.cpp | 4 +- src/kernel/qrichtext_p.h | 4 +- src/kernel/qsignalmapper.cpp | 2 +- src/kernel/qsound.cpp | 2 +- src/kernel/qsound_x11.cpp | 2 +- src/kernel/qt_pch.h | 2 +- src/kernel/qurloperator.cpp | 2 +- src/kernel/tqobject.cpp | 2 +- src/kernel/tqobjectlist.h | 2 +- src/kernel/tqwidget.cpp | 2 +- src/kernel/tqwidgetlist.h | 2 +- src/moc/moc.pro | 2 +- src/moc/moc.y | 2 +- src/moc/moc_yacc.cpp | 2 +- src/network/qdns.cpp | 6 +- src/network/qftp.cpp | 2 +- src/network/qsocket.cpp | 2 +- src/opengl/qgl.cpp | 2 +- src/sql/drivers/cache/tqsqlcachedresult.h | 2 +- src/sql/drivers/sqlite/tqsql_sqlite.cpp | 2 +- src/sql/drivers/sqlite3/tqsql_sqlite3.cpp | 2 +- src/sql/tqsqldriver.h | 2 +- src/table/ntqtable.h | 4 +- src/tools/ntqcleanuphandler.h | 2 +- src/tools/ntqgcache.h | 2 +- src/tools/ntqgdict.h | 2 +- src/tools/ntqglist.h | 2 +- src/tools/ntqgvector.h | 2 +- src/tools/ntqstrlist.h | 2 +- src/tools/ntqstrvec.h | 2 +- src/tools/qgcache.cpp | 2 +- src/tools/qgdict.cpp | 2 +- src/tools/qgpluginmanager.cpp | 2 +- src/tools/qregexp.cpp | 2 +- src/tools/qt_tools.pri | 14 +- src/tools/qwinexport.cpp | 4 +- ...qptrcollection.cpp => tqptrcollection.cpp} | 4 +- .../{ntqptrcollection.h => tqptrcollection.h} | 0 src/tools/{ntqptrdict.h => tqptrdict.h} | 0 src/tools/{ntqptrlist.h => tqptrlist.h} | 0 src/tools/{ntqptrqueue.h => tqptrqueue.h} | 0 src/tools/{ntqptrstack.h => tqptrstack.h} | 0 src/tools/{ntqptrvector.h => tqptrvector.h} | 0 src/widgets/ntqdockarea.h | 2 +- src/widgets/ntqmainwindow.h | 2 +- src/widgets/ntqmenudata.h | 2 +- src/widgets/ntqtabbar.h | 2 +- src/widgets/ntqtextbrowser.h | 2 +- src/widgets/ntqtextedit.h | 4 +- src/widgets/qaction.cpp | 2 +- src/widgets/qbuttongroup.cpp | 2 +- src/widgets/qdockarea.cpp | 2 +- src/widgets/qheader.cpp | 2 +- src/widgets/qiconview.cpp | 4 +- src/widgets/qlistbox.cpp | 2 +- src/widgets/qlistview.cpp | 8 +- src/widgets/qmainwindow.cpp | 2 +- src/widgets/qscrollview.cpp | 2 +- src/widgets/qsplitter.cpp | 2 +- src/widgets/qstatusbar.cpp | 2 +- src/widgets/qtextedit.cpp | 2 +- src/widgets/qtooltip.cpp | 2 +- src/widgets/qwhatsthis.cpp | 2 +- src/widgets/tqwidgetstack.h | 2 +- src/xml/tqdom.cpp | 2 +- src/xml/tqxml.cpp | 2 +- tools/assistant/docuparser.h | 2 +- tools/assistant/helpdialogimpl.cpp | 4 +- tools/assistant/main.cpp | 2 +- tools/assistant/mainwindow.ui | 2 +- tools/assistant/settingsdialogimpl.cpp | 2 +- tools/assistant/settingsdialogimpl.h | 2 +- tools/designer/designer/actiondnd.h | 2 +- tools/designer/designer/command.cpp | 2 +- tools/designer/designer/command.h | 2 +- tools/designer/designer/connectiondialog.ui | 2 +- tools/designer/designer/dbconnectionsimpl.cpp | 2 +- tools/designer/designer/formwindow.h | 2 +- tools/designer/designer/listboxdnd.h | 2 +- tools/designer/designer/listviewdnd.h | 2 +- .../designer/designer/listvieweditorimpl.cpp | 2 +- tools/designer/designer/menubareditor.h | 2 +- tools/designer/designer/metadatabase.cpp | 2 +- tools/designer/designer/metadatabase.h | 2 +- tools/designer/designer/popupmenueditor.h | 2 +- tools/designer/designer/project.h | 4 +- tools/designer/designer/propertyeditor.h | 4 +- tools/designer/designer/propertyobject.cpp | 4 +- tools/designer/designer/sizehandle.h | 2 +- tools/designer/designer/startdialogimpl.cpp | 2 +- tools/designer/designer/widgetfactory.h | 2 +- tools/designer/designer/wizardeditorimpl.h | 2 +- tools/designer/interfaces/designerinterface.h | 2 +- tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp | 2 +- tools/designer/uilib/tqwidgetfactory.h | 2 +- tools/linguist/linguist/listviews.h | 2 +- tools/linguist/linguist/trwindow.h | 2 +- tools/qembed/qembed.cpp | 2 +- 330 files changed, 2370 insertions(+), 2370 deletions(-) delete mode 100644 doc/html/qptrlist-members.html delete mode 100644 doc/html/qptrvector-members.html rename doc/html/{qptrcollection-h.html => tqptrcollection-h.html} (94%) rename doc/html/{qptrcollection-members.html => tqptrcollection-members.html} (71%) rename doc/html/{ntqptrcollection.html => tqptrcollection.html} (88%) rename doc/html/{qptrdict-h.html => tqptrdict-h.html} (95%) rename doc/html/{qptrdict-members.html => tqptrdict-members.html} (56%) rename doc/html/{ntqptrdict.html => tqptrdict.html} (84%) rename doc/html/{qptrdictiterator-members.html => tqptrdictiterator-members.html} (65%) rename doc/html/{qptrdictiterator.html => tqptrdictiterator.html} (88%) rename doc/html/{qptrlist-h.html => tqptrlist-h.html} (97%) create mode 100644 doc/html/tqptrlist-members.html rename doc/html/{ntqptrlist.html => tqptrlist.html} (88%) rename doc/html/{qptrlistiterator-members.html => tqptrlistiterator-members.html} (57%) rename doc/html/{qptrlistiterator.html => tqptrlistiterator.html} (84%) rename doc/html/{qptrqueue-h.html => tqptrqueue-h.html} (94%) rename doc/html/{qptrqueue-members.html => tqptrqueue-members.html} (62%) rename doc/html/{ntqptrqueue.html => tqptrqueue.html} (89%) rename doc/html/{qptrstack-h.html => tqptrstack-h.html} (94%) rename doc/html/{qptrstack-members.html => tqptrstack-members.html} (62%) rename doc/html/{ntqptrstack.html => tqptrstack.html} (86%) rename doc/html/{qptrvector-h.html => tqptrvector-h.html} (95%) create mode 100644 doc/html/tqptrvector-members.html rename doc/html/{ntqptrvector.html => tqptrvector.html} (91%) rename doc/{qptrdict.doc => tqptrdict.doc} (78%) rename doc/{qptrlist.doc => tqptrlist.doc} (85%) rename doc/{qptrqueue.doc => tqptrqueue.doc} (81%) rename doc/{qptrstack.doc => tqptrstack.doc} (77%) rename doc/{qptrvector.doc => tqptrvector.doc} (82%) delete mode 120000 include/ntqptrcollection.h delete mode 120000 include/ntqptrdict.h delete mode 120000 include/ntqptrlist.h delete mode 120000 include/ntqptrqueue.h delete mode 120000 include/ntqptrstack.h delete mode 120000 include/ntqptrvector.h create mode 120000 include/tqptrcollection.h create mode 120000 include/tqptrdict.h create mode 120000 include/tqptrlist.h create mode 120000 include/tqptrqueue.h create mode 120000 include/tqptrstack.h create mode 120000 include/tqptrvector.h rename src/tools/{qptrcollection.cpp => tqptrcollection.cpp} (98%) rename src/tools/{ntqptrcollection.h => tqptrcollection.h} (100%) rename src/tools/{ntqptrdict.h => tqptrdict.h} (100%) rename src/tools/{ntqptrlist.h => tqptrlist.h} (100%) rename src/tools/{ntqptrqueue.h => tqptrqueue.h} (100%) rename src/tools/{ntqptrstack.h => tqptrstack.h} (100%) rename src/tools/{ntqptrvector.h => tqptrvector.h} (100%) diff --git a/ChangeLog.immodule b/ChangeLog.immodule index 31b3cc8f..872cb2fa 100644 --- a/ChangeLog.immodule +++ b/ChangeLog.immodule @@ -41,7 +41,7 @@ - (QInputContext): Add 'parent' arg * src/kernel/ntqinputcontext.h - - Exclude ntqptrlist.h when compile with Qt4 + - Exclude qptrlist.h when compile with Qt4 - (struct QInputContextMenu): Exclude member variables when compile with Qt4 - (QInputContext): Add 'parent' arg diff --git a/doc/classchart.doc b/doc/classchart.doc index a42f874e..daf46955 100644 --- a/doc/classchart.doc +++ b/doc/classchart.doc @@ -285,9 +285,9 @@ - - - + + + @@ -304,10 +304,10 @@ - + - + @@ -321,11 +321,11 @@ - + - + - + diff --git a/doc/collect.doc b/doc/collect.doc index d7dfdeb7..09ee5838 100644 --- a/doc/collect.doc +++ b/doc/collect.doc @@ -68,11 +68,11 @@ The value-based collections are: The pointer-based collections are: \list \i \l QCache and \l QIntCache, LRU (least recently used) caches. -\i \l QDict, \l QIntDict and \l QPtrDict dictionaries. -\i \l QPtrList, a doubly linked list. -\i \l QPtrQueue, a FIFO (first in, first out) queue. -\i \l QPtrStack, a LIFO (last in, first out) stack. -\i \l QPtrVector, a vector. +\i \l QDict, \l QIntDict and \l TQPtrDict dictionaries. +\i \l TQPtrList, a doubly linked list. +\i \l TQPtrQueue, a FIFO (first in, first out) queue. +\i \l TQPtrStack, a LIFO (last in, first out) stack. +\i \l TQPtrVector, a vector. \endlist \l QMemArray is exceptional; it is neither pointer nor value based, @@ -87,8 +87,8 @@ is a class for traversing the items in a collection: \link QIntCacheIterator QIntCacheIterator\endlink \i \link QDictIterator QDictIterator\endlink, \link QIntDictIterator QIntDictIterator\endlink, and - \link QPtrDictIterator QPtrDictIterator\endlink -\i \link QPtrListIterator QPtrListIterator\endlink + \link TQPtrDictIterator TQPtrDictIterator\endlink +\i \link TQPtrListIterator TQPtrListIterator\endlink \i \link TQValueListIterator TQValueListIterator\endlink, and \link TQValueListConstIterator TQValueListConstIterator\endlink \i \link TQMapIterator TQMapIterator\endlink, and @@ -113,13 +113,13 @@ This strategy allows Qt's templates to be very economical on space (instantiating one of these templates adds only inlinable calls to the base classes), without hurting performance. -\section1 A QPtrList Example +\section1 A TQPtrList Example This example shows how to store Employee items in a list and prints them out in reverse order: \code - #include + #include #include #include @@ -136,14 +136,14 @@ them out in reverse order: int main() { - QPtrList list; // list of pointers to Employee + TQPtrList list; // list of pointers to Employee list.setAutoDelete( TRUE ); // delete items when they are removed list.append( new Employee("Bill", 50000) ); list.append( new Employee("Steve",80000) ); list.append( new Employee("Ron", 60000) ); - QPtrListIterator it(list); // iterator for employee list + TQPtrListIterator it(list); // iterator for employee list for ( it.toLast(); it.current(); --it) ) { Employee *emp = it.current(); printf( "%s earns %d\n", emp->name(), emp->salary() ); @@ -162,12 +162,12 @@ Program output: \section1 Managing Collection Items -All pointer-based collections inherit the \l QPtrCollection base class. +All pointer-based collections inherit the \l TQPtrCollection base class. This class only knows about the number of items in the collection and the deletion strategy. By default, items in a collection are not deleted when they are -removed from the collection. The \l QPtrCollection::setAutoDelete() +removed from the collection. The \l TQPtrCollection::setAutoDelete() function specifies the deletion strategy. In the list example, we enable auto-deletion to make the list delete the items when they are removed from the list. @@ -176,27 +176,27 @@ When inserting an item into a collection, only the pointer is copied, not the item itself. This is called a shallow copy. It is possible to make the collection copy all of the item's data (known as a deep copy) when an item is inserted. All collection functions that insert an -item call the virtual function \l QPtrCollection::newItem() for the item +item call the virtual function \l TQPtrCollection::newItem() for the item to be inserted. Inherit a collection and reimplement it if you want to have deep copies in your collection. When removing an item from a list, the virtual function -\l{QPtrCollection::deleteItem()} is called. The default implementation +\l{TQPtrCollection::deleteItem()} is called. The default implementation in all collection classes deletes the item if auto-deletion is enabled. \section1 Usage -A pointer-based collection class, such as QPtrList\, defines a +A pointer-based collection class, such as TQPtrList\, defines a collection of \e pointers to \e type objects. The pointer (*) is implicit. -We discuss \l QPtrList here, but the same techniques apply to all +We discuss \l TQPtrList here, but the same techniques apply to all pointer-based collection classes and all collection class iterators. Template instantiation: \code - QPtrList list; // wherever the list is used + TQPtrList list; // wherever the list is used \endcode The item's class or type, Employee in our example, must be defined prior @@ -205,23 +205,23 @@ to the list definition. \code // Does not work: Employee is not defined class Employee; - QPtrList list; + TQPtrList list; // This works: Employee is defined before it is used class Employee { ... }; - QPtrList list; + TQPtrList list; \endcode \section1 Iterators -Although \l QPtrList has member functions to traverse the list, it can -often be better to make use of an iterator. \l QPtrListIterator is very +Although \l TQPtrList has member functions to traverse the list, it can +often be better to make use of an iterator. \l TQPtrListIterator is very safe and can traverse lists that are being modified at the same time. Multiple iterators can work independently on the same collection. -A QPtrList has an internal list of all the iterators that are +A TQPtrList has an internal list of all the iterators that are currently operating on it. When a list entry is removed, the list updates all iterators accordingly. @@ -239,8 +239,8 @@ Qt has the following predefined collection classes: \endlist In almost all cases you would choose \l QStringList, a value -list of implicitly shared TQString Unicode strings. QPtrStrList and -QPtrStrIList store only char pointers, not the strings themselves. +list of implicitly shared TQString Unicode strings. TQPtrStrList and +TQPtrStrIList store only char pointers, not the strings themselves. \section1 List of Pointer-based Collection Classes and Related Iterator Classes diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 2dbf7b69..3b9f0da0 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -297,14 +297,14 @@ body { background: #ffffff; color: black; } TQProcessUsed to start external programs and to communicate with them TQProgressBarHorizontal progress bar TQProgressDialogFeedback on the progress of a slow operation -TQPtrCollectionThe base class of most pointer-based TQt collections -TQPtrDictTemplate class that provides a dictionary based on void* keys -TQPtrDictIteratorIterator for TQPtrDict collections -TQPtrListTemplate class that provides a list -TQPtrListIteratorIterator for TQPtrList collections -TQPtrQueueTemplate class that provides a queue -TQPtrStackTemplate class that provides a stack -TQPtrVectorTemplate collection class that provides a vector (array) +TQPtrCollectionThe base class of most pointer-based TQt collections +TQPtrDictTemplate class that provides a dictionary based on void* keys +TQPtrDictIteratorIterator for TQPtrDict collections +TQPtrListTemplate class that provides a list +TQPtrListIteratorIterator for TQPtrList collections +TQPtrQueueTemplate class that provides a queue +TQPtrStackTemplate class that provides a stack +TQPtrVectorTemplate collection class that provides a vector (array) TQPushButtonCommand button TQRadioButtonRadio button with a text or pixmap label TQRangeControlInteger value within a range diff --git a/doc/html/bigtable-example.html b/doc/html/bigtable-example.html index e903b3bb..2ac840b6 100644 --- a/doc/html/bigtable-example.html +++ b/doc/html/bigtable-example.html @@ -59,8 +59,8 @@ class MyTable : public TQTable { public: MyTable( int r, int c ) : TQTable( r, c ) { - items.setAutoDelete( TRUE ); - widgets.setAutoDelete( TRUE ); + items.setAutoDelete( TRUE ); + widgets.setAutoDelete( TRUE ); setCaption( tr( "A 1 Million x 1 Million Cell Table" ) ); setLeftMargin( fontMetrics().width( "W999999W" ) ); } @@ -71,9 +71,9 @@ public: void clearCell( int r, int c ) { items.remove( indexOf( r, c ) ); } void takeItem( TQTableItem *item ) { - items.setAutoDelete( FALSE ); + items.setAutoDelete( FALSE ); items.remove( indexOf( item->row(), item->col() ) ); - items.setAutoDelete( TRUE ); + items.setAutoDelete( TRUE ); } void insertWidget( int r, int c, TQWidget *w ) { widgets.replace( indexOf( r, c ), w ); } TQWidget *cellWidget( int r, int c ) const { return widgets.find( indexOf( r, c ) ); } diff --git a/doc/html/canvas-example.html b/doc/html/canvas-example.html index 0d877ece..32d05b26 100644 --- a/doc/html/canvas-example.html +++ b/doc/html/canvas-example.html @@ -223,15 +223,15 @@ public: NodeItem( TQCanvas *canvas ); ~NodeItem() {} - void addInEdge( EdgeItem *edge ) { inList.append( edge ); } - void addOutEdge( EdgeItem *edge ) { outList.append( edge ); } + void addInEdge( EdgeItem *edge ) { inList.append( edge ); } + void addOutEdge( EdgeItem *edge ) { outList.append( edge ); } void moveBy(double dx, double dy); // TQPoint center() { return boundingRect().center(); } private: - TQPtrList<EdgeItem> inList; - TQPtrList<EdgeItem> outList; + TQPtrList<EdgeItem> inList; + TQPtrList<EdgeItem> outList; }; @@ -271,14 +271,14 @@ void NodeItem::moveBy(double dx, double d { TQCanvasEllipse::moveBy( dx, dy ); - TQPtrListIterator<EdgeItem> it1( inList ); + TQPtrListIterator<EdgeItem> it1( inList ); EdgeItem *edge; - while (( edge = it1.current() )) { + while (( edge = it1.current() )) { ++it1; edge->setToPoint( int(x()), int(y()) ); } - TQPtrListIterator<EdgeItem> it2( outList ); - while (( edge = it2.current() )) { + TQPtrListIterator<EdgeItem> it2( outList ); + while (( edge = it2.current() )) { ++it2; edge->setFromPoint( int(x()), int(y()) ); } diff --git a/doc/html/classchart.html b/doc/html/classchart.html index 675e4329..5d72ef83 100644 --- a/doc/html/classchart.html +++ b/doc/html/classchart.html @@ -275,9 +275,9 @@ body { background: #ffffff; color: black; } - - - + + + @@ -294,10 +294,10 @@ body { background: #ffffff; color: black; } - + - + @@ -311,11 +311,11 @@ body { background: #ffffff; color: black; } - + - + - + diff --git a/doc/html/classes.html b/doc/html/classes.html index 729de025..c8eda66f 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -154,7 +154,7 @@ classes, see TQt's Main Classes. TQIMEvent -TQPtrCollection +TQPtrCollection TQTextDecoder @@ -165,7 +165,7 @@ classes, see TQt's Main Classes. TQInputDialog -TQPtrDict +TQPtrDict TQTextDrag @@ -176,7 +176,7 @@ classes, see TQt's Main Classes. TQIntCache -TQPtrDictIterator +TQPtrDictIterator TQTextEdit @@ -187,7 +187,7 @@ classes, see TQt's Main Classes. TQIntCacheIterator -TQPtrList +TQPtrList TQTextEncoder @@ -198,7 +198,7 @@ classes, see TQt's Main Classes. TQIntDict -TQPtrListIterator +TQPtrListIterator TQTextIStream @@ -209,7 +209,7 @@ classes, see TQt's Main Classes. TQIntDictIterator -TQPtrQueue +TQPtrQueue TQTextOStream @@ -220,7 +220,7 @@ classes, see TQt's Main Classes. TQIntValidator -TQPtrStack +TQPtrStack TQTextStream @@ -231,7 +231,7 @@ classes, see TQt's Main Classes. TQIODevice -TQPtrVector +TQPtrVector TQThread diff --git a/doc/html/collection.html b/doc/html/collection.html index 08b6be42..cb7b53a6 100644 --- a/doc/html/collection.html +++ b/doc/html/collection.html @@ -54,11 +54,11 @@ details.

The pointer-based collections are:

TQMemArray is exceptional; it is neither pointer nor value based, but memory based. For maximum efficiency with the simple data types @@ -71,8 +71,8 @@ is a class for traversing the items in a collection: TQIntCacheIterator

  • TQDictIterator, TQIntDictIterator, and -TQPtrDictIterator -
  • TQPtrListIterator +TQPtrDictIterator +
  • TQPtrListIterator
  • TQValueListIterator, and TQValueListConstIterator
  • TQMapIterator, and @@ -92,12 +92,12 @@ collections by casting item pointers to and from void pointers.

    This strategy allows TQt's templates to be very economical on space (instantiating one of these templates adds only inlinable calls to the base classes), without hurting performance. -

    A TQPtrList Example +

    A TQPtrList Example

    This example shows how to store Employee items in a list and prints them out in reverse order:

    -    #include <ntqptrlist.h>
    +    #include <tqptrlist.h>
         #include <ntqstring.h>
         #include <stdio.h>
     
    @@ -114,16 +114,16 @@ them out in reverse order:
     
         int main()
         {
    -        TQPtrList<Employee> list;        // list of pointers to Employee
    -        list.setAutoDelete( TRUE );     // delete items when they are removed
    +        TQPtrList<Employee> list;        // list of pointers to Employee
    +        list.setAutoDelete( TRUE );     // delete items when they are removed
     
    -        list.append( new Employee("Bill", 50000) );
    -        list.append( new Employee("Steve",80000) );
    -        list.append( new Employee("Ron",  60000) );
    +        list.append( new Employee("Bill", 50000) );
    +        list.append( new Employee("Steve",80000) );
    +        list.append( new Employee("Ron",  60000) );
     
    -        TQPtrListIterator<Employee> it(list); // iterator for employee list
    -        for ( it.toLast(); it.current(); --it) ) {
    -            Employee *emp = it.current();
    +        TQPtrListIterator<Employee> it(list); // iterator for employee list
    +        for ( it.toLast(); it.current(); --it) ) {
    +            Employee *emp = it.current();
                 printf( "%s earns %d\n", emp->name(), emp->salary() );
             }
     
    @@ -140,11 +140,11 @@ them out in reverse order:
      
     

    Managing Collection Items

    -

    All pointer-based collections inherit the TQPtrCollection base class. +

    All pointer-based collections inherit the TQPtrCollection base class. This class only knows about the number of items in the collection and the deletion strategy.

    By default, items in a collection are not deleted when they are -removed from the collection. The TQPtrCollection::setAutoDelete() +removed from the collection. The TQPtrCollection::setAutoDelete() function specifies the deletion strategy. In the list example, we enable auto-deletion to make the list delete the items when they are removed from the list. @@ -152,23 +152,23 @@ removed from the list. not the item itself. This is called a shallow copy. It is possible to make the collection copy all of the item's data (known as a deep copy) when an item is inserted. All collection functions that insert an -item call the virtual function TQPtrCollection::newItem() for the item +item call the virtual function TQPtrCollection::newItem() for the item to be inserted. Inherit a collection and reimplement it if you want to have deep copies in your collection.

    When removing an item from a list, the virtual function -TQPtrCollection::deleteItem() is called. The default implementation +TQPtrCollection::deleteItem() is called. The default implementation in all collection classes deletes the item if auto-deletion is enabled.

    Usage

    -

    A pointer-based collection class, such as TQPtrList<type>, defines a +

    A pointer-based collection class, such as TQPtrList<type>, defines a collection of pointers to type objects. The pointer (*) is implicit. -

    We discuss TQPtrList here, but the same techniques apply to all +

    We discuss TQPtrList here, but the same techniques apply to all pointer-based collection classes and all collection class iterators.

    Template instantiation:

    -    TQPtrList<Employee> list;            // wherever the list is used
    +    TQPtrList<Employee> list;            // wherever the list is used
     

    The item's class or type, Employee in our example, must be defined prior @@ -176,22 +176,22 @@ to the list definition.

         // Does not work: Employee is not defined
         class Employee;
    -    TQPtrList<Employee> list;
    +    TQPtrList<Employee> list;
     
         // This works: Employee is defined before it is used
         class Employee {
             ...
         };
    -    TQPtrList<Employee> list;
    +    TQPtrList<Employee> list;
     

    Iterators

    -

    Although TQPtrList has member functions to traverse the list, it can -often be better to make use of an iterator. TQPtrListIterator is very +

    Although TQPtrList has member functions to traverse the list, it can +often be better to make use of an iterator. TQPtrListIterator is very safe and can traverse lists that are being modified at the same time. Multiple iterators can work independently on the same collection. -

    A TQPtrList has an internal list of all the iterators that are +

    A TQPtrList has an internal list of all the iterators that are currently operating on it. When a list entry is removed, the list updates all iterators accordingly.

    The TQDict and TQCache collections have no traversal functions. To @@ -231,12 +231,12 @@ Iterator Classes TQIntDictIteratorIterator for TQIntDict collections TQObjectListTQPtrList of TQObjects TQObjectListIteratorIterator for TQObjectLists -TQPtrCollectionThe base class of most pointer-based TQt collections -TQPtrDictTemplate class that provides a dictionary based on void* keys -TQPtrDictIteratorIterator for TQPtrDict collections -TQPtrListTemplate class that provides a list -TQPtrListIteratorIterator for TQPtrList collections -TQPtrQueueTemplate class that provides a queue +TQPtrCollectionThe base class of most pointer-based TQt collections +TQPtrDictTemplate class that provides a dictionary based on void* keys +TQPtrDictIteratorIterator for TQPtrDict collections +TQPtrListTemplate class that provides a list +TQPtrListIteratorIterator for TQPtrList collections +TQPtrQueueTemplate class that provides a queue TQStrIListDoubly-linked list of char* with case-insensitive comparison TQStrListDoubly-linked list of char* diff --git a/doc/html/customlayout-example.html b/doc/html/customlayout-example.html index e095c9ca..b8fb8bf6 100644 --- a/doc/html/customlayout-example.html +++ b/doc/html/customlayout-example.html @@ -56,7 +56,7 @@ like card layouts, border layout and flow layouts. #define FLOW_H #include <ntqlayout.h> -#include <ntqptrlist.h> +#include <tqptrlist.h> class SimpleFlow : public TQLayout { @@ -87,7 +87,7 @@ protected: private: int doLayout( const TQRect&, bool testonly = FALSE ); - TQPtrList<TQLayoutItem> list; + TQPtrList<TQLayoutItem> list; int cached_width; int cached_hfw; @@ -115,7 +115,7 @@ private: class SimpleFlowIterator :public TQGLayoutIterator { public: - SimpleFlowIterator( TQPtrList<TQLayoutItem> *l ) :idx(0), list(l) {} + SimpleFlowIterator( TQPtrList<TQLayoutItem> *l ) :idx(0), list(l) {} uint count() const; TQLayoutItem *current(); TQLayoutItem *next(); @@ -123,18 +123,18 @@ public: private: int idx; - TQPtrList<TQLayoutItem> *list; + TQPtrList<TQLayoutItem> *list; }; uint SimpleFlowIterator::count() const { - return list->count(); + return list->count(); } TQLayoutItem *SimpleFlowIterator::current() { - return idx < int(count()) ? list->at(idx) : 0; + return idx < int(count()) ? list->at(idx) : 0; } TQLayoutItem *SimpleFlowIterator::next() @@ -144,7 +144,7 @@ uint SimpleFlowIterator::count() const TQLayoutItem *SimpleFlowIterator::takeCurrent() { - return idx < int(count()) ? list->take( idx ) : 0; + return idx < int(count()) ? list->take( idx ) : 0; } SimpleFlow::~SimpleFlow() @@ -168,7 +168,7 @@ SimpleFlow::~SimpleFlow() void SimpleFlow::addItem( TQLayoutItem *item) { - list.append( item ); + list.append( item ); } bool SimpleFlow::hasHeightForWidth() const @@ -202,9 +202,9 @@ int SimpleFlow::doLayout( const TQRect int x = r.x(); int y = r.y(); int h = 0; //height of this line so far. - TQPtrListIterator<TQLayoutItem> it(list); + TQPtrListIterator<TQLayoutItem> it(list); TQLayoutItem *o; - while ( (o=it.current()) != 0 ) { + while ( (o=it.current()) != 0 ) { ++it; int nextX = x + o->sizeHint().width() + spacing(); if ( nextX - spacing() > r.right() && h > 0 ) { @@ -224,9 +224,9 @@ int SimpleFlow::doLayout( const TQRect TQSize SimpleFlow::minimumSize() const { TQSize s(0,0); - TQPtrListIterator<TQLayoutItem> it(list); + TQPtrListIterator<TQLayoutItem> it(list); TQLayoutItem *o; - while ( (o=it.current()) != 0 ) { + while ( (o=it.current()) != 0 ) { ++it; s = s.expandedTo( o->minimumSize() ); } @@ -254,7 +254,7 @@ int SimpleFlow::doLayout( const TQRect #define BORDER_H #include <ntqlayout.h> -#include <ntqptrlist.h> +#include <tqptrlist.h> class BorderWidgetItem : public TQWidgetItem { @@ -334,7 +334,7 @@ private: void doLayout( const TQRect &rect, bool testonly = FALSE ); void calcSize( SizeType st ); - TQPtrList<BorderLayoutStruct> list; + TQPtrList<BorderLayoutStruct> list; TQSize cached, mcached; bool sizeDirty, msizeDirty; @@ -362,7 +362,7 @@ private: class BorderLayoutIterator : public TQGLayoutIterator { public: - BorderLayoutIterator( const TQPtrList<BorderLayout::BorderLayoutStruct> *l ) + BorderLayoutIterator( const TQPtrList<BorderLayout::BorderLayoutStruct> *l ) : idx( 0 ) , list( (TQPtrList<BorderLayout::BorderLayoutStruct>*)l ) {} @@ -376,23 +376,23 @@ public: private: int idx; - TQPtrList<BorderLayout::BorderLayoutStruct> *list; + TQPtrList<BorderLayout::BorderLayoutStruct> *list; }; uint BorderLayoutIterator::count() const { - return list->count(); + return list->count(); } TQLayoutItem *BorderLayoutIterator::current() { - return idx < (int)count() ? list->at( idx )->item : 0; + return idx < (int)count() ? list->at( idx )->item : 0; } BorderLayout::BorderLayoutStruct *BorderLayoutIterator::currentStruct() { - return idx < (int)count() ? list->at( idx ) : 0; + return idx < (int)count() ? list->at( idx ) : 0; } void BorderLayoutIterator::toFirst() @@ -409,7 +409,7 @@ void BorderLayoutIterator::toFirst() TQLayoutItem *BorderLayoutIterator::takeCurrent() { BorderLayout::BorderLayoutStruct *b - = idx < int( list->count() ) ? list->take( idx ) : 0; + = idx < int( list->count() ) ? list->take( idx ) : 0; TQLayoutItem *item = b ? b->item : 0; delete b; return item; @@ -439,7 +439,7 @@ void BorderLayout::addWidget( TQWidge void BorderLayout::add( TQLayoutItem *item, Position pos ) { - list.append( new BorderLayoutStruct( item, pos ) ); + list.append( new BorderLayoutStruct( item, pos ) ); sizeDirty = TRUE; msizeDirty = TRUE; calcSize( SizeHint ); calcSize( Minimum ); } @@ -594,7 +594,7 @@ void BorderLayout::calcSize( SizeType st ) #define CARD_H #include <ntqlayout.h> -#include <ntqptrlist.h> +#include <tqptrlist.h> class CardLayout : public TQLayout { @@ -614,7 +614,7 @@ public: void setGeometry( const TQRect &rect ); private: - TQPtrList<TQLayoutItem> list; + TQPtrList<TQLayoutItem> list; }; @@ -640,7 +640,7 @@ private: class CardLayoutIterator :public TQGLayoutIterator { public: - CardLayoutIterator( TQPtrList<TQLayoutItem> *l ) + CardLayoutIterator( TQPtrList<TQLayoutItem> *l ) : idx( 0 ), list( l ) {} TQLayoutItem *current(); @@ -649,12 +649,12 @@ public: private: int idx; - TQPtrList<TQLayoutItem> *list; + TQPtrList<TQLayoutItem> *list; }; TQLayoutItem *CardLayoutIterator::current() { - return idx < int( list->count() ) ? list->at( idx ) : 0; + return idx < int( list->count() ) ? list->at( idx ) : 0; } TQLayoutItem *CardLayoutIterator::next() @@ -664,7 +664,7 @@ private: TQLayoutItem *CardLayoutIterator::takeCurrent() { - return idx < int( list->count() ) ?list->take( idx ) : 0; + return idx < int( list->count() ) ?list->take( idx ) : 0; } @@ -681,25 +681,25 @@ CardLayout::~CardLayout() void CardLayout::addItem( TQLayoutItem *item ) { - list.append( item ); + list.append( item ); } void CardLayout::setGeometry( const TQRect &rct ) { TQLayout::setGeometry( rct ); - TQPtrListIterator<TQLayoutItem> it( list ); - if ( it.count() == 0 ) + TQPtrListIterator<TQLayoutItem> it( list ); + if ( it.count() == 0 ) return; TQLayoutItem *o; int i = 0; - int w = rct.width() - ( list.count() - 1 ) * spacing(); - int h = rct.height() - ( list.count() - 1 ) * spacing(); + int w = rct.width() - ( list.count() - 1 ) * spacing(); + int h = rct.height() - ( list.count() - 1 ) * spacing(); - while ( ( o=it.current() ) != 0 ) { + while ( ( o=it.current() ) != 0 ) { ++it; TQRect geom( rct.x() + i * spacing(), rct.y() + i * spacing(), w, h ); @@ -711,12 +711,12 @@ CardLayout::~CardLayout() TQSize CardLayout::sizeHint() const { TQSize s(0,0); - int n = list.count(); + int n = list.count(); if ( n > 0 ) s = TQSize(100,70); //start with a nice default size - TQPtrListIterator<TQLayoutItem> it(list); + TQPtrListIterator<TQLayoutItem> it(list); TQLayoutItem *o; - while ( (o=it.current()) != 0 ) { + while ( (o=it.current()) != 0 ) { ++it; s = s.expandedTo( o->minimumSize() ); } @@ -726,10 +726,10 @@ CardLayout::~CardLayout() TQSize CardLayout::minimumSize() const { TQSize s(0,0); - int n = list.count(); - TQPtrListIterator<TQLayoutItem> it(list); + int n = list.count(); + TQPtrListIterator<TQLayoutItem> it(list); TQLayoutItem *o; - while ( (o=it.current()) != 0 ) { + while ( (o=it.current()) != 0 ) { ++it; s = s.expandedTo( o->minimumSize() ); } diff --git a/doc/html/customlayout.html b/doc/html/customlayout.html index a9bcfc34..da82fa89 100644 --- a/doc/html/customlayout.html +++ b/doc/html/customlayout.html @@ -40,7 +40,7 @@ by the Java layout manager of the same name. It lays out the items

    • A data structure to store the items handled by the layout. Each item is a TQLayoutItem. We will use a -TQPtrList in this example. +TQPtrList in this example.
    • addItem(), how to add items to the layout.
    • setGeometry(), how to perform @@ -58,7 +58,7 @@ the layout. #define CARD_H #include <ntqlayout.h> -#include <ntqptrlist.h> +#include <tqptrlist.h> class CardLayout : public TQLayout { @@ -78,7 +78,7 @@ public: void setGeometry(const TQRect &rect); private: - TQPtrList<TQLayoutItem> list; + TQPtrList<TQLayoutItem> list; }; #endif @@ -105,21 +105,21 @@ constructor. In our example we do not need a destructor. class CardLayoutIterator : public TQGLayoutIterator { public: - CardLayoutIterator( TQPtrList<TQLayoutItem> *l ) + CardLayoutIterator( TQPtrList<TQLayoutItem> *l ) : idx( 0 ), list( l ) {} TQLayoutItem *current() - { return idx < int(list->count()) ? list->at(idx) : 0; } + { return idx < int(list->count()) ? list->at(idx) : 0; } TQLayoutItem *next() { idx++; return current(); } TQLayoutItem *takeCurrent() - { return list->take( idx ); } + { return list->take( idx ); } private: int idx; - TQPtrList<TQLayoutItem> *list; + TQPtrList<TQLayoutItem> *list; };
    @@ -164,8 +164,8 @@ void CardLayout::setGeometry( const TQRect &rect { TQLayout::setGeometry( rect ); - TQPtrListIterator<TQLayoutItem> it( list ); - if (it.count() == 0) + TQPtrListIterator<TQLayoutItem> it( list ); + if (it.count() == 0) return; TQLayoutItem *item; @@ -175,7 +175,7 @@ void CardLayout::setGeometry( const TQRect &rect int w = rect.width() - ( list.count() - 1 ) * spacing(); int h = rect.height() - ( list.count() - 1 ) * spacing(); - while ( (item = it.current()) != 0 ) { + while ( (item = it.current()) != 0 ) { ++it; TQRect geom( rect.x() + i * spacing(), rect.y() + i * spacing(), w, h ); @@ -195,9 +195,9 @@ TQSize CardLayout::sizeHint() const int n = list.count(); if ( n > 0 ) s = TQSize( 100, 70 ); // start with a nice default size - TQPtrListIterator<TQLayoutItem> it( list ); + TQPtrListIterator<TQLayoutItem> it( list ); TQLayoutItem *item; - while ( (item = it.current()) != 0 ) { + while ( (item = it.current()) != 0 ) { ++it; s = s.expandedTo( item->minimumSize() ); } @@ -208,9 +208,9 @@ TQSize CardLayout::minimumSize() const { TQSize s( 0, 0 ); int n = list.count(); - TQPtrListIterator<TQLayoutItem> it( list ); + TQPtrListIterator<TQLayoutItem> it( list ); TQLayoutItem *item; - while ( (item = it.current()) != 0 ) { + while ( (item = it.current()) != 0 ) { ++it; s = s.expandedTo( item->minimumSize() ); } diff --git a/doc/html/dirview-example.html b/doc/html/dirview-example.html index c734559b..5cd95fe7 100644 --- a/doc/html/dirview-example.html +++ b/doc/html/dirview-example.html @@ -577,8 +577,8 @@ static const int autoopenTime = 750; e->accept(); - for ( uint i = 0; i < lst.count(); ++i ) { - TQString filename = TQDir::convertSeparators(TQUriDrag::uriToLocalFile(lst.at(i))); + for ( uint i = 0; i < lst.count(); ++i ) { + TQString filename = TQDir::convertSeparators(TQUriDrag::uriToLocalFile(lst.at(i))); str += filename + "\n"; } str += TQString( "\nTo\n\n %1" ) @@ -720,7 +720,7 @@ int main( int argc, char ** argv ) mw.setTreeStepSize( 20 ); const TQFileInfoList* roots = TQDir::drives(); - TQPtrListIterator<TQFileInfo> i(*roots); + TQPtrListIterator<TQFileInfo> i(*roots); TQFileInfo* fi; while ( (fi = *i) ) { ++i; diff --git a/doc/html/functions.html b/doc/html/functions.html index d4f6228a..2bf662c5 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -155,7 +155,7 @@ abort: TQCanvasItem
  • answerRect: TQDragMoveEvent
  • appID: TQAxFactory
  • append: - TQCString TQIconDrag TQPtrList TQSqlCursor TQSqlIndex TQSqlRecord TQString TQTextEdit TQValueList TQValueVector TQXmlAttributes
  • appendChild: + TQCString TQIconDrag TQPtrList TQSqlCursor TQSqlIndex TQSqlRecord TQString TQTextEdit TQValueList TQValueVector TQXmlAttributes
  • appendChild: TQDomNode
  • appendData: TQDomCharacterData
  • applicationContext: TQMotif
  • applicationDirPath: @@ -214,11 +214,11 @@ abort: TQMemArray
  • assistantClosed: TQAssistantClient
  • assistantOpened: TQAssistantClient
  • at: - TQBitArray TQIODevice TQMemArray TQPtrList TQPtrVector TQSocket TQSqlQuery TQSqlResult TQString TQValueList TQValueVector
  • atBeginning: + TQBitArray TQIODevice TQMemArray TQPtrList TQPtrVector TQSocket TQSqlQuery TQSqlResult TQString TQValueList TQValueVector
  • atBeginning: TQMultiLineEdit
  • atEnd: TQDataStream TQFile TQIODevice TQMultiLineEdit TQSocket TQTextStream
  • atFirst: - TQAsciiCacheIterator TQCacheIterator TQIntCacheIterator TQPtrListIterator
  • atLast: - TQAsciiCacheIterator TQCacheIterator TQIntCacheIterator TQPtrListIterator
  • attribute: + TQAsciiCacheIterator TQCacheIterator TQIntCacheIterator TQPtrListIterator
  • atLast: + TQAsciiCacheIterator TQCacheIterator TQIntCacheIterator TQPtrListIterator
  • attribute: TQDomElement
  • attributeDecl: TQXmlDeclHandler
  • attributeNS: TQDomElement
  • attributeNode: @@ -232,7 +232,7 @@ abort: TQProgressDialog
  • autoCompletion: TQComboBox
  • autoDefault: TQPushButton
  • autoDelete: - TQAsciiDict TQCache TQDataTable TQDict TQIconFactory TQIntDict TQNetworkProtocol TQPtrCollection TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector
  • autoEdit: + TQAsciiDict TQCache TQDataTable TQDict TQIconFactory TQIntDict TQNetworkProtocol TQPtrCollection TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector
  • autoEdit: TQDataBrowser TQDataTable
  • autoFormatting: TQTextEdit
  • autoMask: TQWidget
  • autoRaise: @@ -299,7 +299,7 @@ back: TQColorGroup
  • brush: TQCanvasPolygonalItem TQColorGroup TQPainter TQPalette
  • brushOrigin: TQPainter
  • bsearch: - TQMemArray TQPtrVector
  • buddy: + TQMemArray TQPtrVector
  • buddy: TQLabel
  • buffer: TQBuffer
  • button: TQColorGroup TQMouseEvent
  • buttonSymbols: @@ -396,7 +396,7 @@ c: TQDir
  • cleanText: TQSpinBox
  • cleanup: TQColor TQCursor TQFontManager
  • clear: - TQAccel TQAsciiCache TQAsciiDict TQAxBase TQCache TQClipboard TQComboBox TQDict TQDomNode TQIconView TQIntCache TQIntDict TQLabel TQLineEdit TQListBox TQListView TQMap TQMenuBar TQMenuData TQObjectCleanupHandler TQPixmapCache TQPopupMenu TQPtrCollection TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQSplashScreen TQSqlCursor TQSqlField TQSqlForm TQSqlRecord TQStatusBar TQTextEdit TQToolBar TQToolTip TQTranslator TQValueList TQValueVector TQVariant TQXmlAttributes
  • clearArguments: + TQAccel TQAsciiCache TQAsciiDict TQAxBase TQCache TQClipboard TQComboBox TQDict TQDomNode TQIconView TQIntCache TQIntDict TQLabel TQLineEdit TQListBox TQListView TQMap TQMenuBar TQMenuData TQObjectCleanupHandler TQPixmapCache TQPopupMenu TQPtrCollection TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQSplashScreen TQSqlCursor TQSqlField TQSqlForm TQSqlRecord TQStatusBar TQTextEdit TQToolBar TQToolTip TQTranslator TQValueList TQValueVector TQVariant TQXmlAttributes
  • clearArguments: TQProcess
  • clearBit: TQBitArray
  • clearCalibration: TQWSMouseHandler
  • clearCell: @@ -484,7 +484,7 @@ c: TQTranslatorMessage
  • communication: TQProcess
  • compare: TQIconViewItem TQListViewItem TQString
  • compareItems: - TQPtrList TQPtrVector
  • complete: + TQPtrList TQPtrVector
  • complete: TQNPStream
  • compose: TQString
  • confirmCancel: TQDataBrowser TQDataTable
  • confirmCancels: @@ -510,8 +510,8 @@ c: TQWidget
  • constref: TQString
  • consume: TQContextMenuEvent
  • contains: - TQCString TQDomNamedNodeMap TQIconViewItem TQMap TQMemArray TQPtrList TQPtrVector TQRect TQRegion TQSqlDatabase TQSqlRecord TQSqlRecordInfo TQString TQTranslator TQValueList
  • containsRef: - TQPtrList TQPtrVector
  • contentHandler: + TQCString TQDomNamedNodeMap TQIconViewItem TQMap TQMemArray TQPtrList TQPtrVector TQRect TQRegion TQSqlDatabase TQSqlRecord TQSqlRecordInfo TQString TQTranslator TQValueList
  • containsRef: + TQPtrList TQPtrVector
  • contentHandler: TQXmlReader
  • contentLength: TQHttpHeader
  • contentType: TQHttpHeader
  • contentsContextMenuEvent: @@ -558,7 +558,7 @@ c: TQTextEdit
  • copyBlt: TQPixmap
  • cornerWidget: TQScrollView TQTabWidget
  • count: - TQAccel TQAsciiCache TQAsciiCacheIterator TQAsciiDict TQAsciiDictIterator TQButtonGroup TQCache TQCacheIterator TQCanvasPixmapArray TQComboBox TQComboTableItem TQDict TQDictIterator TQDir TQDockArea TQDomNamedNodeMap TQDomNodeList TQFocusData TQHeader TQIconView TQIntCache TQIntCacheIterator TQIntDict TQIntDictIterator TQKeyEvent TQKeySequence TQListBox TQMap TQMemArray TQMenuData TQPtrCollection TQPtrDict TQPtrDictIterator TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack TQPtrVector TQSqlForm TQSqlRecord TQTabBar TQTabWidget TQToolBox TQValueList TQValueVector TQXmlAttributes
  • countCf: + TQAccel TQAsciiCache TQAsciiCacheIterator TQAsciiDict TQAsciiDictIterator TQButtonGroup TQCache TQCacheIterator TQCanvasPixmapArray TQComboBox TQComboTableItem TQDict TQDictIterator TQDir TQDockArea TQDomNamedNodeMap TQDomNodeList TQFocusData TQHeader TQIconView TQIntCache TQIntCacheIterator TQIntDict TQIntDictIterator TQKeyEvent TQKeySequence TQListBox TQMap TQMemArray TQMenuData TQPtrCollection TQPtrDict TQPtrDictIterator TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack TQPtrVector TQSqlForm TQSqlRecord TQTabBar TQTabWidget TQToolBox TQValueList TQValueVector TQXmlAttributes
  • countCf: TQWindowsMime
  • countFlavors: TQMacMime
  • country: TQLocale
  • countryToString: @@ -599,7 +599,7 @@ c: TQPointArray
  • currEditCol: TQTable
  • currEditRow: TQTable
  • current: - TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQDir TQGLayoutIterator TQIntCacheIterator TQIntDictIterator TQLayoutIterator TQListViewItemIterator TQPtrDictIterator TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack
  • currentAlignmentChanged: + TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQDir TQGLayoutIterator TQIntCacheIterator TQIntDictIterator TQLayoutIterator TQListViewItemIterator TQPtrDictIterator TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack
  • currentAlignmentChanged: TQTextEdit
  • currentAllocContext: TQColor
  • currentChanged: TQDataBrowser TQDataTable TQIconView TQListBox TQListView TQTabDialog TQTabWidget TQTable TQToolBox
  • currentColorChanged: @@ -618,8 +618,8 @@ c: TQFtp TQHttp
  • currentIndex: TQToolBox
  • currentItem: TQComboBox TQComboTableItem TQIconView TQListBox TQListView TQToolBox
  • currentKey: - TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQPtrDictIterator
  • currentNode: - TQPtrList
  • currentPage: + TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQPtrDictIterator
  • currentNode: + TQPtrList
  • currentPage: TQTabDialog TQTabWidget TQWizard
  • currentPageIndex: TQTabWidget
  • currentParagraph: TQSyntaxHighlighter
  • currentRecord: @@ -658,7 +658,7 @@ c: TQLineEdit TQTextEdit
  • dark: TQColor TQColorGroup
  • data: - TQClipboard TQCustomEvent TQDomCharacterData TQDomProcessingInstruction TQIconDragItem TQMapConstIterator TQMapIterator TQMemArray TQMimeSourceFactory TQNetworkProtocol TQPicture TQPtrVector TQSqlResult TQUrlOperator TQXmlInputSource
  • dataChanged: + TQClipboard TQCustomEvent TQDomCharacterData TQDomProcessingInstruction TQIconDragItem TQMapConstIterator TQMapIterator TQMemArray TQMimeSourceFactory TQNetworkProtocol TQPicture TQPtrVector TQSqlResult TQUrlOperator TQXmlInputSource
  • dataChanged: TQClipboard
  • dataReadProgress: TQHttp
  • dataSendProgress: TQHttp
  • dataTransferProgress: @@ -708,12 +708,12 @@ dark: TQLayout
  • deleteCurrent: TQDataBrowser TQDataTable TQLayoutIterator
  • deleteData: TQDomCharacterData
  • deleteItem: - TQPtrCollection
  • deleteLater: + TQPtrCollection
  • deleteLater: TQObject
  • deleteNetworkProtocol: TQUrlOperator
  • delta: TQWheelEvent
  • depth: TQDirectPainter TQGLFormat TQImage TQListViewItem TQPaintDeviceMetrics TQPixmap TQScreen
  • dequeue: - TQPtrQueue
  • descent: + TQPtrQueue
  • descent: TQFontMetrics
  • description: TQImageIO
  • deselect: TQLineEdit
  • designable: @@ -880,7 +880,7 @@ echoMode: TQXmlContentHandler
  • endsWith: TQString
  • enforceSortOrder: TQListViewItem
  • enqueue: - TQPtrQueue
  • ensureCellVisible: + TQPtrQueue
  • ensureCellVisible: TQGridView TQTable
  • ensureCurrentVisible: TQListBox
  • ensureCursorVisible: TQTextEdit
  • ensureItemVisible: @@ -954,11 +954,11 @@ falseText: TQDir TQFileInfo TQMimeSourceFactory
  • fileSelected: TQFileDialog
  • filesSelected: TQFileDialog
  • fill: - TQBitArray TQCString TQImage TQMemArray TQPixmap TQPtrVector TQString TQTextStream
  • fillRect: + TQBitArray TQCString TQImage TQMemArray TQPixmap TQPtrVector TQString TQTextStream
  • fillRect: TQPainter
  • filter: TQDataBrowser TQDataTable TQDir TQSqlCursor TQWSInputMethod
  • filterSelected: TQFileDialog
  • find: - TQAsciiCache TQAsciiDict TQButtonGroup TQCString TQCache TQDataTable TQDict TQGLColormap TQIntCache TQIntDict TQMap TQMemArray TQPixmapCache TQPtrDict TQPtrList TQPtrVector TQSqlRecordInfo TQString TQTextEdit TQValueList TQWidget
  • findFirstVisibleItem: + TQAsciiCache TQAsciiDict TQButtonGroup TQCString TQCache TQDataTable TQDict TQGLColormap TQIntCache TQIntDict TQMap TQMemArray TQPixmapCache TQPtrDict TQPtrList TQPtrVector TQSqlRecordInfo TQString TQTextEdit TQValueList TQWidget
  • findFirstVisibleItem: TQIconView
  • findIndex: TQValueList
  • findItem: TQIconView TQListBox TQListView TQMenuData
  • findKey: @@ -966,16 +966,16 @@ falseText: TQIconView
  • findMessage: TQTranslator
  • findNearest: TQGLColormap
  • findNext: - TQPtrList
  • findNextRef: - TQPtrList
  • findProperty: + TQPtrList
  • findNextRef: + TQPtrList
  • findProperty: TQMetaObject
  • findRef: - TQPtrList TQPtrVector
  • findRev: + TQPtrList TQPtrVector
  • findRev: TQCString TQString
  • findWidget: TQBoxLayout TQGridLayout
  • finish: TQSplashScreen
  • finishButton: TQWizard
  • finished: TQAxScript TQMovie TQNetworkProtocol TQThread TQUrlOperator
  • first: - TQDataBrowser TQFocusData TQPtrList TQSqlQuery TQValueList TQValueVector
  • firstChild: + TQDataBrowser TQFocusData TQPtrList TQSqlQuery TQValueList TQValueVector
  • firstChild: TQDomNode TQListView TQListViewItem
  • firstItem: TQIconView TQListBox
  • firstRecordAvailable: TQDataBrowser
  • fix: @@ -1060,7 +1060,7 @@ gamma: TQTextEdit
  • getDouble: TQInputDialog
  • getExistingDirectory: TQFileDialog
  • getFirst: - TQPtrList
  • getFont: + TQPtrList
  • getFont: TQFontDialog
  • getHsv: TQColor
  • getInteger: TQInputDialog
  • getItem: @@ -1068,7 +1068,7 @@ gamma: TQNPlugin
  • getJavaEnv: TQNPlugin
  • getJavaPeer: TQNPInstance
  • getLast: - TQPtrList
  • getLocation: + TQPtrList
  • getLocation: TQMainWindow
  • getMIMEDescription: TQNPlugin
  • getMarkedRegion: TQMultiLineEdit
  • getNetworkProtocol: @@ -1165,7 +1165,7 @@ hScrollBarMode: TQPainter
  • hasWorldXForm: TQPainter
  • hash: TQTranslatorMessage
  • head: - TQHttp TQPtrQueue
  • header: + TQHttp TQPtrQueue
  • header: TQListView
  • headerSection: TQStyleOption
  • headerWidth: TQHeader
  • height: @@ -1227,7 +1227,7 @@ icon: TQDomDocument
  • importNode: TQDomDocument
  • inFont: TQFontMetrics
  • inSort: - TQPtrList
  • inText: + TQPtrList
  • inText: TQSimpleRichText
  • inWhatsThisMode: TQWhatsThis
  • inactive: TQPalette
  • includeFile: @@ -1253,7 +1253,7 @@ icon: TQImage
  • inputFormats: TQImage TQImageDecoder TQImageIO
  • inputMask: TQLineEdit
  • insert: - TQAsciiCache TQAsciiDict TQButtonGroup TQCString TQCache TQDataBrowser TQDict TQIntCache TQIntDict TQLineEdit TQMap TQPixmapCache TQPtrDict TQPtrList TQPtrVector TQSqlCursor TQSqlForm TQSqlPropertyMap TQSqlRecord TQString TQTextEdit TQTranslator TQValueList TQValueVector
  • insertAfter: + TQAsciiCache TQAsciiDict TQButtonGroup TQCString TQCache TQDataBrowser TQDict TQIntCache TQIntDict TQLineEdit TQMap TQPixmapCache TQPtrDict TQPtrList TQPtrVector TQSqlCursor TQSqlForm TQSqlPropertyMap TQSqlRecord TQString TQTextEdit TQTranslator TQValueList TQValueVector
  • insertAfter: TQDomNode
  • insertAndMark: TQMultiLineEdit
  • insertAt: TQMultiLineEdit TQTextEdit
  • insertBefore: @@ -1359,7 +1359,7 @@ icon: TQTable
  • isEffectEnabled: TQApplication
  • isElement: TQDomElement TQDomNode
  • isEmpty: - TQAsciiCache TQAsciiCacheIterator TQAsciiDict TQAsciiDictIterator TQCString TQCache TQCacheIterator TQDict TQDictIterator TQDockArea TQGLColormap TQIntCache TQIntCacheIterator TQIntDict TQIntDictIterator TQKeySequence TQLayout TQLayoutItem TQMap TQMemArray TQObjectCleanupHandler TQPtrDict TQPtrDictIterator TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack TQPtrVector TQRect TQRegExp TQRegion TQSize TQSpacerItem TQSqlRecord TQString TQTableSelection TQTranslator TQValueList TQValueVector TQWidgetItem
  • isEnabled: + TQAsciiCache TQAsciiCacheIterator TQAsciiDict TQAsciiDictIterator TQCString TQCache TQCacheIterator TQDict TQDictIterator TQDockArea TQGLColormap TQIntCache TQIntCacheIterator TQIntDict TQIntDictIterator TQKeySequence TQLayout TQLayoutItem TQMap TQMemArray TQObjectCleanupHandler TQPtrDict TQPtrDictIterator TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack TQPtrVector TQRect TQRegExp TQRegion TQSize TQSpacerItem TQSqlRecord TQString TQTableSelection TQTranslator TQValueList TQValueVector TQWidgetItem
  • isEnabled: TQAccel TQAction TQCanvasItem TQLayout TQListViewItem TQSocketNotifier TQTab TQTableItem TQWidget
  • isEnabledTo: TQWidget
  • isEntity: TQDomEntity TQDomNode
  • isEntityReference: @@ -1407,7 +1407,7 @@ icon: TQLineEdit TQTextEdit
  • isMovingEnabled: TQDockWindow TQHeader
  • isNotation: TQDomNode TQDomNotation
  • isNull: - TQAxBase TQCString TQChar TQDate TQDateTime TQDomImplementation TQDomNode TQGuardedPtr TQHostAddress TQIconSet TQImage TQMemArray TQMovie TQPicture TQPixmap TQPoint TQPtrVector TQRect TQRegion TQSize TQSqlCursor TQSqlField TQSqlQuery TQSqlRecord TQSqlResult TQString TQTime TQUuid TQVariant
  • isNumber: + TQAxBase TQCString TQChar TQDate TQDateTime TQDomImplementation TQDomNode TQGuardedPtr TQHostAddress TQIconSet TQImage TQMemArray TQMovie TQPicture TQPixmap TQPoint TQPtrVector TQRect TQRegion TQSize TQSqlCursor TQSqlField TQSqlQuery TQSqlRecord TQSqlResult TQString TQTime TQUuid TQVariant
  • isNumber: TQChar
  • isOn: TQAction TQButton TQCheckBox TQCheckListItem TQPushButton TQRadioButton
  • isOpen: TQAssistantClient TQIODevice TQListView TQListViewItem TQSqlDatabase TQSqlDriver
  • isOpenError: @@ -1533,7 +1533,7 @@ label: TQProgressDialog
  • language: TQLocale
  • languageToString: TQLocale
  • last: - TQDataBrowser TQFocusData TQPtrList TQSqlQuery TQValueList TQValueVector
  • lastChild: + TQDataBrowser TQFocusData TQPtrList TQSqlQuery TQValueList TQValueVector
  • lastChild: TQDomNode
  • lastError: TQSqlDatabase TQSqlDriver TQSqlQuery TQSqlResult
  • lastItem: TQIconView TQListView
  • lastModified: @@ -1787,13 +1787,13 @@ name: TQNetworkProtocol TQUrlOperator
  • newConnection: TQServerSocket
  • newInstance: TQNPlugin
  • newItem: - TQPtrCollection
  • newLine: + TQPtrCollection
  • newLine: TQDockWindow TQMultiLineEdit
  • newPage: TQPrinter
  • newStream: TQNPInstance
  • newStreamCreated: TQNPInstance
  • newWindow: TQNPInstance
  • next: - TQDataBrowser TQFocusData TQGLayoutIterator TQListBoxItem TQPtrList TQSqlQuery TQWizard TQXmlInputSource
  • nextButton: + TQDataBrowser TQFocusData TQGLayoutIterator TQListBoxItem TQPtrList TQSqlQuery TQWizard TQXmlInputSource
  • nextButton: TQWizard
  • nextItem: TQIconViewItem
  • nextLine: TQScrollBar
  • nextPage: @@ -1875,32 +1875,32 @@ object: TQMemArray
  • operator int: TQBitVal
  • operator std::string: TQString
  • operator type *: - TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQPtrDictIterator TQPtrListIterator TQPtrQueue TQPtrStack
  • operator!: + TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQPtrDictIterator TQPtrListIterator TQPtrQueue TQPtrStack
  • operator!: TQString
  • operator!=: - TQBrush TQCString TQChar TQColor TQColorGroup TQDate TQDateTime TQDir TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQFont TQGuardedPtr TQImage TQKeySequence TQMapConstIterator TQMapIterator TQMemArray TQPalette TQPen TQPoint TQPtrList TQRect TQRegExp TQRegion TQSize TQSizePolicy TQString TQTableSelection TQTime TQTranslatorMessage TQUuid TQValueList TQValueListConstIterator TQValueListIterator TQVariant TQWMatrix
  • operator&: + TQBrush TQCString TQChar TQColor TQColorGroup TQDate TQDateTime TQDir TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQFont TQGuardedPtr TQImage TQKeySequence TQMapConstIterator TQMapIterator TQMemArray TQPalette TQPen TQPoint TQPtrList TQRect TQRegExp TQRegion TQSize TQSizePolicy TQString TQTableSelection TQTime TQTranslatorMessage TQUuid TQValueList TQValueListConstIterator TQValueListIterator TQVariant TQWMatrix
  • operator&: TQBitArray TQRect TQRegion
  • operator&=: TQBitArray TQRect TQRegion
  • operator(): - TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQPtrDictIterator TQPtrListIterator
  • operator*: - TQGuardedPtr TQListViewItemIterator TQMapConstIterator TQMapIterator TQPoint TQPtrListIterator TQSize TQValueListConstIterator TQValueListIterator
  • operator*=: + TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQPtrDictIterator TQPtrListIterator
  • operator*: + TQGuardedPtr TQListViewItemIterator TQMapConstIterator TQMapIterator TQPoint TQPtrListIterator TQSize TQValueListConstIterator TQValueListIterator
  • operator*=: TQPoint TQSize TQWMatrix
  • operator+: TQCString TQCanvasItemList TQPoint TQRegion TQSize TQString TQValueList
  • operator++: - TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQLayoutIterator TQListViewItemIterator TQMapConstIterator TQMapIterator TQPtrDictIterator TQPtrListIterator TQSemaphore TQValueListConstIterator TQValueListIterator
  • operator+=: - TQAsciiCacheIterator TQAsciiDictIterator TQCString TQCacheIterator TQIntCacheIterator TQIntDictIterator TQListViewItemIterator TQPoint TQPtrDictIterator TQPtrListIterator TQRegion TQSemaphore TQSize TQString TQValueList TQValueListIterator
  • operator-: + TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQLayoutIterator TQListViewItemIterator TQMapConstIterator TQMapIterator TQPtrDictIterator TQPtrListIterator TQSemaphore TQValueListConstIterator TQValueListIterator
  • operator+=: + TQAsciiCacheIterator TQAsciiDictIterator TQCString TQCacheIterator TQIntCacheIterator TQIntDictIterator TQListViewItemIterator TQPoint TQPtrDictIterator TQPtrListIterator TQRegion TQSemaphore TQSize TQString TQValueList TQValueListIterator
  • operator-: TQPoint TQRegion TQSize
  • operator--: - TQAsciiCacheIterator TQCacheIterator TQIntCacheIterator TQListViewItemIterator TQMapConstIterator TQMapIterator TQPtrListIterator TQSemaphore TQValueListConstIterator TQValueListIterator
  • operator-=: - TQAsciiCacheIterator TQCacheIterator TQIntCacheIterator TQListViewItemIterator TQPoint TQPtrListIterator TQRegion TQSemaphore TQSize TQValueListIterator
  • operator->: + TQAsciiCacheIterator TQCacheIterator TQIntCacheIterator TQListViewItemIterator TQMapConstIterator TQMapIterator TQPtrListIterator TQSemaphore TQValueListConstIterator TQValueListIterator
  • operator-=: + TQAsciiCacheIterator TQCacheIterator TQIntCacheIterator TQListViewItemIterator TQPoint TQPtrListIterator TQRegion TQSemaphore TQSize TQValueListIterator
  • operator->: TQGuardedPtr
  • operator/: TQPoint TQSize
  • operator/=: TQPoint TQSize
  • operator<: TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage TQUuid
  • operator<<: TQBitArray TQBrush TQCString TQColor TQColorGroup TQCursor TQDataStream TQDate TQDateTime TQDockArea TQDomNode TQFont TQImage TQKeySequence TQMainWindow TQMap TQMemArray TQPalette TQPen TQPicture TQPixmap TQPoint TQPointArray TQRect TQRegion TQSize TQSplitter TQString TQTextStream TQTime TQUuid TQValueList TQWMatrix
  • operator<=: TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage
  • operator=: - TQAsciiCacheIterator TQAsciiDict TQBitArray TQBitVal TQBitmap TQBrush TQCString TQCacheIterator TQColor TQColorGroup TQCursor TQDeepCopy TQDict TQDir TQDomAttr TQDomCDATASection TQDomCharacterData TQDomComment TQDomDocument TQDomDocumentFragment TQDomDocumentType TQDomElement TQDomEntity TQDomEntityReference TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQDomNotation TQDomProcessingInstruction TQDomText TQFileInfo TQFont TQFontInfo TQFontMetrics TQGLColormap TQGuardedPtr TQHostAddress TQHttpHeader TQIconSet TQImage TQIntCacheIterator TQIntDict fnord TQKeySequence TQLayoutIterator TQListViewItemIterator TQLocale TQMap TQMemArray TQMovie TQObjectList TQObjectListIterator TQPair TQPalette TQPen TQPicture TQPixmap TQPointArray TQPtrDict TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack TQPtrVector TQRegExp TQRegion TQSqlCursor TQSqlError TQSqlField TQSqlFieldInfo TQSqlIndex TQSqlQuery TQSqlRecord TQStrList TQString TQStyleSheetItem TQTranslatorMessage TQUrl TQUrlInfo TQUuid TQValueList TQValueVector TQVariant
  • operator==: - TQBrush TQCString TQChar TQColor TQColorGroup TQDate TQDateTime TQDir TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQFont TQGuardedPtr TQHostAddress TQImage TQKeySequence TQMapConstIterator TQMapIterator TQMemArray TQPalette TQPen TQPoint TQPtrList TQPtrVector TQRect TQRegExp TQRegion TQSize TQSizePolicy TQSqlField TQSqlFieldInfo TQString TQTableSelection TQTime TQTranslatorMessage TQUrl TQUrlInfo TQUuid TQValueList TQValueListConstIterator TQValueListIterator TQValueVector TQVariant TQWMatrix
  • operator>: + TQAsciiCacheIterator TQAsciiDict TQBitArray TQBitVal TQBitmap TQBrush TQCString TQCacheIterator TQColor TQColorGroup TQCursor TQDeepCopy TQDict TQDir TQDomAttr TQDomCDATASection TQDomCharacterData TQDomComment TQDomDocument TQDomDocumentFragment TQDomDocumentType TQDomElement TQDomEntity TQDomEntityReference TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQDomNotation TQDomProcessingInstruction TQDomText TQFileInfo TQFont TQFontInfo TQFontMetrics TQGLColormap TQGuardedPtr TQHostAddress TQHttpHeader TQIconSet TQImage TQIntCacheIterator TQIntDict fnord TQKeySequence TQLayoutIterator TQListViewItemIterator TQLocale TQMap TQMemArray TQMovie TQObjectList TQObjectListIterator TQPair TQPalette TQPen TQPicture TQPixmap TQPointArray TQPtrDict TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack TQPtrVector TQRegExp TQRegion TQSqlCursor TQSqlError TQSqlField TQSqlFieldInfo TQSqlIndex TQSqlQuery TQSqlRecord TQStrList TQString TQStyleSheetItem TQTranslatorMessage TQUrl TQUrlInfo TQUuid TQValueList TQValueVector TQVariant
  • operator==: + TQBrush TQCString TQChar TQColor TQColorGroup TQDate TQDateTime TQDir TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQFont TQGuardedPtr TQHostAddress TQImage TQKeySequence TQMapConstIterator TQMapIterator TQMemArray TQPalette TQPen TQPoint TQPtrList TQPtrVector TQRect TQRegExp TQRegion TQSize TQSizePolicy TQSqlField TQSqlFieldInfo TQString TQTableSelection TQTime TQTranslatorMessage TQUrl TQUrlInfo TQUuid TQValueList TQValueListConstIterator TQValueListIterator TQValueVector TQVariant TQWMatrix
  • operator>: TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage TQUuid
  • operator>=: TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage
  • operator>>: TQBitArray TQBrush TQCString TQColor TQCursor TQDataStream TQDate TQDateTime TQDockArea TQFont TQImage TQKeySequence TQMainWindow TQMap TQMemArray TQPalette TQPen TQPicture TQPixmap TQPoint TQPointArray TQRect TQRegion TQSize TQSplitter TQString TQTextStream TQTime TQUuid TQValueList TQWMatrix
  • operator[]: - TQAsciiCache TQAsciiDict TQBitArray TQCache TQDict TQDir TQIntCache TQIntDict TQKeySequence TQMap TQMemArray TQPtrDict TQPtrVector TQString TQValueList TQValueVector
  • operator^: + TQAsciiCache TQAsciiDict TQBitArray TQCache TQDict TQDir TQIntCache TQIntDict TQKeySequence TQMap TQMemArray TQPtrDict TQPtrVector TQString TQValueList TQValueVector
  • operator^: TQBitArray TQRegion
  • operator^=: TQBitArray TQRegion
  • operator|: TQBitArray TQRect TQRegion
  • operator|=: @@ -2011,7 +2011,7 @@ packImage: TQCanvasPolygon
  • polish: TQApplication TQStyle TQWidget
  • polishPopupMenu: TQStyle
  • pop: - TQPtrStack TQValueStack
  • popContext: + TQPtrStack TQValueStack
  • popContext: TQXmlNamespaceSupport
  • pop_back: TQValueList TQValueVector
  • pop_front: TQValueList
  • popup: @@ -2028,10 +2028,10 @@ packImage: TQDomNode TQSpinBox TQXmlNamespaceSupport
  • prefixes: TQXmlNamespaceSupport
  • prepare: TQSqlQuery
  • prepend: - TQCString TQPtrList TQString TQValueList
  • pressed: + TQCString TQPtrList TQString TQValueList
  • pressed: TQButton TQButtonGroup TQCheckBox TQHeader TQIconView TQListBox TQListView TQPushButton TQRadioButton TQTable
  • pressure: TQTabletEvent
  • prev: - TQDataBrowser TQFocusData TQListBoxItem TQPtrList TQSqlQuery
  • prevItem: + TQDataBrowser TQFocusData TQListBoxItem TQPtrList TQSqlQuery
  • prevItem: TQIconViewItem
  • prevLine: TQScrollBar
  • prevPage: TQScrollBar
  • prevRecordAvailable: @@ -2068,7 +2068,7 @@ packImage: TQNetworkOperation
  • provides: TQDropEvent TQMimeSource
  • publicId: TQDomDocumentType TQDomEntity TQDomNotation TQXmlParseException
  • push: - TQPtrStack TQValueStack
  • pushContext: + TQPtrStack TQValueStack
  • pushContext: TQXmlNamespaceSupport
  • pushData: TQMovie
  • pushSpace: TQMovie
  • push_back: @@ -2151,7 +2151,7 @@ rBottom: TQFtp
  • rawMode: TQFont TQFontInfo
  • rawName: TQFont
  • read: - TQAsciiDict TQDict TQImageIO TQIntDict TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQTextStream
  • readAll: + TQAsciiDict TQDict TQImageIO TQIntDict TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQTextStream
  • readAll: TQFile TQFtp TQHttp TQIODevice
  • readBlock: TQFtp TQHttp TQIODevice TQSocket TQSocketDevice
  • readBoolEntry: TQSettings
  • readBufferSize: @@ -2211,7 +2211,7 @@ rBottom: TQWidget
  • released: TQButton TQButtonGroup TQCheckBox TQHeader TQPushButton TQRadioButton
  • reload: TQTextBrowser
  • remove: - TQAsciiCache TQAsciiDict TQButtonGroup TQCString TQCache TQDict TQDir TQFile TQFtp TQIntCache TQIntDict TQLayout TQMap TQObjectCleanupHandler TQPixmapCache TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQSqlCursor TQSqlForm TQSqlPropertyMap TQSqlRecord TQString TQToolTip TQTranslator TQUrlOperator TQValueList TQWhatsThis
  • removeAttribute: + TQAsciiCache TQAsciiDict TQButtonGroup TQCString TQCache TQDict TQDir TQFile TQFtp TQIntCache TQIntDict TQLayout TQMap TQObjectCleanupHandler TQPixmapCache TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQSqlCursor TQSqlForm TQSqlPropertyMap TQSqlRecord TQString TQToolTip TQTranslator TQUrlOperator TQValueList TQWhatsThis
  • removeAttribute: TQDomElement
  • removeAttributeNS: TQDomElement
  • removeAttributeNode: TQDomElement
  • removeChild: @@ -2223,22 +2223,22 @@ rBottom: TQSettings
  • removeEventFilter: TQObject
  • removeFactory: TQMimeSourceFactory
  • removeFirst: - TQPtrList
  • removeFrom: + TQPtrList
  • removeFrom: TQAction
  • removeItem: TQAccel TQComboBox TQLayout TQListBox TQMenuBar TQMenuData TQPopupMenu TQToolBox
  • removeItemAt: TQMenuData TQPopupMenu
  • removeLabel: TQHeader
  • removeLast: - TQPtrList
  • removeLibraryPath: + TQPtrList
  • removeLibraryPath: TQApplication
  • removeLine: TQMultiLineEdit
  • removeMappings: TQSignalMapper
  • removeNamedItem: TQDomNamedNodeMap
  • removeNamedItemNS: TQDomNamedNodeMap
  • removeNode: - TQPtrList
  • removePage: + TQPtrList
  • removePage: TQTabDialog TQTabWidget TQWizard
  • removeParagraph: TQTextEdit
  • removePostedEvents: TQApplication
  • removeRef: - TQPtrList
  • removeRenameBox: + TQPtrList
  • removeRenameBox: TQIconViewItem
  • removeRow: TQTable
  • removeRows: TQTable
  • removeSearchPath: @@ -2268,7 +2268,7 @@ rBottom: TQIconView
  • repaintSelections: TQTable
  • reparent: TQWidget
  • replace: - TQAsciiDict TQCString TQDict TQIntDict TQMap TQPtrDict TQPtrList TQString
  • replaceChild: + TQAsciiDict TQCString TQDict TQIntDict TQMap TQPtrDict TQPtrList TQString
  • replaceChild: TQDomNode
  • replaceData: TQDomCharacterData
  • reportError: TQAxBindable
  • request: @@ -2289,7 +2289,7 @@ rBottom: TQFocusEvent
  • resetStatus: TQIODevice
  • resetXForm: TQPainter
  • resize: - TQAsciiDict TQBitArray TQCString TQCanvas TQDict TQIntDict TQMemArray TQPixmap TQPtrDict TQPtrVector TQValueVector TQWidget
  • resizeContents: + TQAsciiDict TQBitArray TQCString TQCanvas TQDict TQIntDict TQMemArray TQPixmap TQPtrDict TQPtrVector TQValueVector TQWidget
  • resizeContents: TQScrollView
  • resizeData: TQTable
  • resizeEvent: TQFrame TQGLWidget TQListView TQWidget
  • resizeGL: @@ -2471,7 +2471,7 @@ sRect: TQProgressDialog
  • setAutoCompletion: TQComboBox
  • setAutoDefault: TQPushButton
  • setAutoDelete: - TQAsciiDict TQCache TQDataTable TQDict TQIconFactory TQIntDict TQNetworkProtocol TQPtrCollection TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector
  • setAutoEdit: + TQAsciiDict TQCache TQDataTable TQDict TQIconFactory TQIntDict TQNetworkProtocol TQPtrCollection TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector
  • setAutoEdit: TQDataBrowser TQDataTable
  • setAutoFormatting: TQTextEdit
  • setAutoMask: TQWidget
  • setAutoRaise: @@ -3187,7 +3187,7 @@ sRect: TQTextCodec
  • simplifyWhiteSpace: TQCString TQString
  • singleShot: TQTimer
  • size: - TQAsciiCache TQAsciiDict TQBitArray TQCache TQCanvas TQCanvasRectangle TQDict TQDirectPainter TQFile TQFileInfo TQFontMetrics TQGLColormap TQIODevice TQIconViewItem TQImage TQIntCache TQIntDict TQMap TQMemArray TQPicture TQPixmap TQPtrDict TQPtrVector TQRect TQResizeEvent TQSocket TQSqlQuery TQSqlResult TQUrlInfo TQValueList TQValueVector TQWidget
  • sizeChange: + TQAsciiCache TQAsciiDict TQBitArray TQCache TQCanvas TQCanvasRectangle TQDict TQDirectPainter TQFile TQFileInfo TQFontMetrics TQGLColormap TQIODevice TQIconViewItem TQImage TQIntCache TQIntDict TQMap TQMemArray TQPicture TQPixmap TQPtrDict TQPtrVector TQRect TQResizeEvent TQSocket TQSqlQuery TQSqlResult TQUrlInfo TQValueList TQValueVector TQWidget
  • sizeChange: TQHeader
  • sizeFromContents: TQStyle
  • sizeHint: TQBoxLayout TQCanvasView TQCustomMenuItem TQGridLayout TQLayoutItem TQLineEdit TQProgressDialog TQSizeGrip TQSpacerItem TQTableItem TQWidget TQWidgetItem
  • sizeIncrement: @@ -3210,7 +3210,7 @@ sRect: TQFontDatabase
  • socket: TQServerSocket TQSocket TQSocketDevice TQSocketNotifier
  • socketDevice: TQServerSocket TQSocket
  • sort: - TQDataBrowser TQDataTable TQIconView TQListBox TQListView TQListViewItem TQMemArray TQPtrList TQPtrVector TQSqlCursor TQStringList
  • sortAscending: + TQDataBrowser TQDataTable TQIconView TQListBox TQListView TQListViewItem TQMemArray TQPtrList TQPtrVector TQSqlCursor TQStringList
  • sortAscending: TQDataTable
  • sortChildItems: TQListViewItem
  • sortColumn: TQDataTable TQListView TQTable
  • sortDescending: @@ -3260,7 +3260,7 @@ sRect: TQKeyEvent TQMouseEvent
  • stateChange: TQCheckListItem
  • stateChanged: TQAxScript TQButton TQCheckBox TQFtp TQHttp TQPushButton TQRadioButton
  • statistics: - TQAsciiCache TQAsciiDict TQCache TQDict TQIntCache TQIntDict TQPtrDict
  • status: + TQAsciiCache TQAsciiDict TQCache TQDict TQIntCache TQIntDict TQPtrDict
  • status: TQIODevice TQImageIO TQNPInstance
  • statusBar: TQMainWindow
  • statusCode: TQHttpResponseHeader
  • statusTip: @@ -3341,11 +3341,11 @@ tab: TQWidget
  • tag: TQStyleSheet
  • tagName: TQDomElement
  • take: - TQAsciiCache TQAsciiDict TQCache TQDict TQIntCache TQIntDict TQPtrDict TQPtrList TQPtrVector
  • takeCurrent: + TQAsciiCache TQAsciiDict TQCache TQDict TQIntCache TQIntDict TQPtrDict TQPtrList TQPtrVector
  • takeCurrent: TQGLayoutIterator TQLayoutIterator
  • takeDefaultFactory: TQMimeSourceFactory
  • takeItem: TQIconView TQListBox TQListView TQListViewItem TQTable
  • takeNode: - TQPtrList
  • target: + TQPtrList
  • target: TQDomProcessingInstruction TQDragObject
  • terminate: TQThread
  • testBit: TQBitArray
  • testOption: @@ -3405,7 +3405,7 @@ tab: TQDomNode
  • toEntityReference: TQDomNode
  • toField: TQSqlFieldInfo
  • toFirst: - TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQPtrDictIterator TQPtrListIterator
  • toFloat: + TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQPtrDictIterator TQPtrListIterator
  • toFloat: TQCString TQLocale TQString
  • toFont: TQVariant
  • toIPv4Address: TQHostAddress
  • toIPv6Address: @@ -3414,7 +3414,7 @@ tab: TQVariant
  • toInt: TQCString TQLocale TQString TQVariant
  • toKeySequence: TQVariant
  • toLast: - TQAsciiCacheIterator TQCacheIterator TQIntCacheIterator TQPtrListIterator
  • toList: + TQAsciiCacheIterator TQCacheIterator TQIntCacheIterator TQPtrListIterator
  • toList: TQVariant
  • toLong: TQCString TQLocale TQString
  • toLongLong: TQLocale TQString TQVariant
  • toMap: @@ -3443,7 +3443,7 @@ tab: TQLocale TQString TQVariant
  • toUShort: TQCString TQLocale TQString
  • toUnicode: TQTextCodec TQTextDecoder
  • toVector: - TQPtrList
  • toggle: + TQPtrList
  • toggle: TQAction TQButton TQCheckBox TQPushButton TQRadioButton TQToolButton
  • toggleBit: TQBitArray
  • toggleCurrentItem: TQListBox
  • toggleType: @@ -3452,7 +3452,7 @@ tab: TQMainWindow
  • toolTip: TQAction TQTabBar TQWidgetPlugin
  • toolTipGroup: TQMainWindow
  • top: - TQDoubleValidator TQIntValidator TQPtrStack TQRect TQValueStack
  • topDock: + TQDoubleValidator TQIntValidator TQPtrStack TQRect TQValueStack
  • topDock: TQMainWindow
  • topEdge: TQCanvasSprite
  • topItem: TQListBox
  • topLeft: @@ -3638,7 +3638,7 @@ wait: TQTextEdit
  • wrapping: TQDial TQSpinBox
  • writable: TQMetaProperty
  • write: - TQAsciiDict TQDict TQImageIO TQIntDict TQNPInstance TQNPStream TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQTranslatorMessage
  • writeBlock: + TQAsciiDict TQDict TQImageIO TQIntDict TQNPInstance TQNPStream TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQTranslatorMessage
  • writeBlock: TQBuffer TQIODevice TQSocket TQSocketDevice
  • writeBytes: TQDataStream
  • writeEntry: TQSettings
  • writeField: diff --git a/doc/html/grapher-nsplugin-example.html b/doc/html/grapher-nsplugin-example.html index e6b8e862..5ed08a69 100644 --- a/doc/html/grapher-nsplugin-example.html +++ b/doc/html/grapher-nsplugin-example.html @@ -81,7 +81,7 @@ Implementation: #include <ntqpixmap.h> #include <ntqmenubar.h> #include <ntqpushbutton.h> -#include <ntqptrlist.h> +#include <tqptrlist.h> #include <ntqmessagebox.h> // Include some C library functions. @@ -263,12 +263,12 @@ void Graph::paintBar(TQPaintEvent* event) return; } - TQPtrList<GraphModel::Datum>& data = model.graphData(); + TQPtrList<GraphModel::Datum>& data = model.graphData(); double max = 0.0; - for (GraphModel::Datum* rowdata = data.first(); - rowdata; rowdata = data.next()) + for (GraphModel::Datum* rowdata = data.first(); + rowdata; rowdata = data.next()) { if (rowdata[0].dbl > max) max = rowdata[0].dbl; } @@ -280,20 +280,20 @@ void Graph::paintBar(TQPaintEvent* event) p.setClipRect(event->rect()); - if ( w > data.count() ) { + if ( w > data.count() ) { // More pixels than data int x = 0; int i = 0; TQFontMetrics fm=fontMetrics(); int fh = fm.height(); - for (GraphModel::Datum* rowdata = data.first(); - rowdata; rowdata = data.next()) + for (GraphModel::Datum* rowdata = data.first(); + rowdata; rowdata = data.next()) { TQColor c; - c.setHsv( (i * 255)/data.count(), 255, 255 );// rainbow effect + c.setHsv( (i * 255)/data.count(), 255, 255 );// rainbow effect p.setBrush(c); - int bw = (w-w/4-x)/(data.count()-i); + int bw = (w-w/4-x)/(data.count()-i); int bh = int((h-h/4-1)*rowdata[0].dbl/max); p.drawRect( w/8+x, h-h/8-1-bh, bw, bh ); @@ -306,10 +306,10 @@ void Graph::paintBar(TQPaintEvent* event) int i = 0; double av = 0.0; int n = 0; - for (GraphModel::Datum* rowdata = data.first(); rowdata; - rowdata = data.next()) + for (GraphModel::Datum* rowdata = data.first(); rowdata; + rowdata = data.next()) { - int bx = i*w/data.count(); + int bx = i*w/data.count(); if (bx > x) { TQColor c; @@ -339,14 +339,14 @@ void Graph::paintPie(TQPaintEvent* event) return; } - TQPtrList<GraphModel::Datum>& data = model.graphData(); + TQPtrList<GraphModel::Datum>& data = model.graphData(); double total = 0.0; GraphModel::Datum* rowdata; - for (rowdata = data.first(); - rowdata; rowdata = data.next()) + for (rowdata = data.first(); + rowdata; rowdata = data.next()) { total += rowdata[0].dbl; } @@ -371,12 +371,12 @@ void Graph::paintPie(TQPaintEvent* event) int i = 0; - for (rowdata = data.first(); - rowdata; rowdata = data.next()) + for (rowdata = data.first(); + rowdata; rowdata = data.next()) { TQColor c; - c.setHsv( ( i * 255)/data.count(), 255, 255 );// rainbow effect + c.setHsv( ( i * 255)/data.count(), 255, 255 );// rainbow effect p.setBrush( c ); // solid fill with color c int a = int(( rowdata[0].dbl * 360.0 ) / total * 16.0 + 0.5); @@ -388,8 +388,8 @@ void Graph::paintPie(TQPaintEvent* event) if (model.colType(1) == GraphModel::Label) { double apos = (pieRotation-90)*M_PI/180; - for (rowdata = data.first(); - rowdata; rowdata = data.next()) + for (rowdata = data.first(); + rowdata; rowdata = data.next()) { double a = rowdata[0].dbl * 360 / total * M_PI / 180; int x = int(cos(apos+a/2)*w*5/16 + w/2 + 0.5); @@ -471,12 +471,12 @@ private: // Grapher is a GraphModel, so it implements the pure virtual // functions of that class. // - TQPtrList<Datum>& graphData(); + TQPtrList<Datum>& graphData(); ColType colType(int col) const; int nCols() const; void consumeLine(); - TQPtrList<Datum> data; + TQPtrList<Datum> data; TQBuffer line; int ncols; ColType *coltype; @@ -490,7 +490,7 @@ private slots: Grapher::Grapher() { - data.setAutoDelete(TRUE); + data.setAutoDelete(TRUE); ncols = 0; line.open(IO_WriteOnly|IO_Truncate); } @@ -547,8 +547,8 @@ void Grapher::consumeLine() if (ncols == 0 ) { ncols=0; - TQPtrList<ColType> typelist; - typelist.setAutoDelete(TRUE); + TQPtrList<ColType> typelist; + typelist.setAutoDelete(TRUE); do { TQString typestr; ts >> typestr >> ws; @@ -558,10 +558,10 @@ void Grapher::consumeLine() } else if ( typestr == "label" ) { t = new ColType(Label); } - if (t) typelist.append(t); + if (t) typelist.append(t); } while (!ts.atEnd()); coltype = new ColType[ncols]; - for (ColType* t = typelist.first(); t; t = typelist.next()) { + for (ColType* t = typelist.first(); t; t = typelist.next()) { coltype[ncols++] = *t; } } else { @@ -585,7 +585,7 @@ void Grapher::consumeLine() col++; } - data.append(rowdata); + data.append(rowdata); } line.close(); diff --git a/doc/html/headerfilesynonyms b/doc/html/headerfilesynonyms index 7b25e7b7..abd70551 100644 --- a/doc/html/headerfilesynonyms +++ b/doc/html/headerfilesynonyms @@ -126,8 +126,8 @@ qnplugin.h ntqnp.h tqobjectlistiterator.h tqobjectlist.h qcolorgroup.h ntqpalette.h qpngimagepacker.h ntqpngio.h -qptrdictiterator.h ntqptrdict.h -qptrlistiterator.h ntqptrlist.h +tqptrdictiterator.h tqptrdict.h +tqptrlistiterator.h tqptrlist.h qhebrewcodec.h ntqrtlcodec.h tqsqlfieldinfo.h tqsqlfield.h tqsqlrecordinfo.h tqsqlrecord.h diff --git a/doc/html/headers.html b/doc/html/headers.html index 81d5c497..529d153e 100644 --- a/doc/html/headers.html +++ b/doc/html/headers.html @@ -190,12 +190,12 @@ body { background: #ffffff; color: black; }
  • ntqprocess.h
  • ntqprogressbar.h
  • ntqprogressdialog.h -
  • ntqptrcollection.h -
  • ntqptrdict.h -
  • ntqptrlist.h -
  • ntqptrqueue.h -
  • ntqptrstack.h -
  • ntqptrvector.h +
  • tqptrcollection.h +
  • tqptrdict.h +
  • tqptrlist.h +
  • tqptrqueue.h +
  • tqptrstack.h +
  • tqptrvector.h
  • ntqpushbutton.h
  • ntqradiobutton.h
  • ntqrangecontrol.h diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html index 6faac1e0..cc6be7fa 100644 --- a/doc/html/hierarchy.html +++ b/doc/html/hierarchy.html @@ -192,7 +192,7 @@ classes in the TQt API.
  • TQPixmapCache
  • TQPNGImagePacker
  • TQPoint -
  • TQPtrCollection +
  • TQPtrCollection -
  • TQPtrVector +
  • TQPtrVector -
  • TQPtrDictIterator -
  • TQPtrListIterator +
  • TQPtrDictIterator +
  • TQPtrListIterator -
  • TQPtrQueue -
  • TQPtrStack +
  • TQPtrQueue +
  • TQPtrStack
  • TQRangeControl
  • TQRect
  • TQRegExp diff --git a/doc/html/index b/doc/html/index index 2ac0d810..aa89ed74 100644 --- a/doc/html/index +++ b/doc/html/index @@ -4922,158 +4922,158 @@ "QProgressDialog::wasCanceled" ntqprogressdialog.html#wasCanceled "QProgressDialog::wasCanceled" ntqprogressdialog.html#wasCanceled-prop "QProgressDialog::~QProgressDialog" ntqprogressdialog.html#~QProgressDialog -"QPtrCollection" ntqptrcollection.html -"QPtrCollection::Item" ntqptrcollection.html#Item -"QPtrCollection::autoDelete" ntqptrcollection.html#autoDelete -"QPtrCollection::clear" ntqptrcollection.html#clear -"QPtrCollection::count" ntqptrcollection.html#count -"QPtrCollection::deleteItem" ntqptrcollection.html#deleteItem -"QPtrCollection::newItem" ntqptrcollection.html#newItem -"QPtrCollection::setAutoDelete" ntqptrcollection.html#setAutoDelete -"QPtrCollection::~QPtrCollection" ntqptrcollection.html#~QPtrCollection -"QPtrDict" ntqptrdict.html -"QPtrDict::clear" ntqptrdict.html#clear -"QPtrDict::count" ntqptrdict.html#count -"QPtrDict::find" ntqptrdict.html#find -"QPtrDict::insert" ntqptrdict.html#insert -"QPtrDict::isEmpty" ntqptrdict.html#isEmpty -"QPtrDict::operator=" ntqptrdict.html#operator-eq -"QPtrDict::operator[]" ntqptrdict.html#operator[] -"QPtrDict::read" ntqptrdict.html#read -"QPtrDict::remove" ntqptrdict.html#remove -"QPtrDict::replace" ntqptrdict.html#replace -"QPtrDict::resize" ntqptrdict.html#resize -"QPtrDict::size" ntqptrdict.html#size -"QPtrDict::statistics" ntqptrdict.html#statistics -"QPtrDict::take" ntqptrdict.html#take -"QPtrDict::write" ntqptrdict.html#write -"QPtrDict::~QPtrDict" ntqptrdict.html#~QPtrDict -"QPtrDictIterator" qptrdictiterator.html -"QPtrDictIterator::count" qptrdictiterator.html#count -"QPtrDictIterator::current" qptrdictiterator.html#current -"QPtrDictIterator::currentKey" qptrdictiterator.html#currentKey -"QPtrDictIterator::isEmpty" qptrdictiterator.html#isEmpty -"QPtrDictIterator::operator type *" qptrdictiterator.html#operator-type-* -"QPtrDictIterator::operator()" qptrdictiterator.html#operator() -"QPtrDictIterator::operator++" qptrdictiterator.html#operator++ -"QPtrDictIterator::operator+=" qptrdictiterator.html#operator+-eq -"QPtrDictIterator::toFirst" qptrdictiterator.html#toFirst -"QPtrDictIterator::~QPtrDictIterator" qptrdictiterator.html#~QPtrDictIterator -"QPtrList" ntqptrlist.html -"QPtrList::append" ntqptrlist.html#append -"QPtrList::at" ntqptrlist.html#at -"QPtrList::clear" ntqptrlist.html#clear -"QPtrList::compareItems" ntqptrlist.html#compareItems -"QPtrList::contains" ntqptrlist.html#contains -"QPtrList::containsRef" ntqptrlist.html#containsRef -"QPtrList::count" ntqptrlist.html#count -"QPtrList::current" ntqptrlist.html#current -"QPtrList::currentNode" ntqptrlist.html#currentNode -"QPtrList::find" ntqptrlist.html#find -"QPtrList::findNext" ntqptrlist.html#findNext -"QPtrList::findNextRef" ntqptrlist.html#findNextRef -"QPtrList::findRef" ntqptrlist.html#findRef -"QPtrList::first" ntqptrlist.html#first -"QPtrList::getFirst" ntqptrlist.html#getFirst -"QPtrList::getLast" ntqptrlist.html#getLast -"QPtrList::inSort" ntqptrlist.html#inSort -"QPtrList::insert" ntqptrlist.html#insert -"QPtrList::isEmpty" ntqptrlist.html#isEmpty -"QPtrList::last" ntqptrlist.html#last -"QPtrList::next" ntqptrlist.html#next -"QPtrList::operator!=" ntqptrlist.html#operator!-eq -"QPtrList::operator=" ntqptrlist.html#operator-eq -"QPtrList::operator==" ntqptrlist.html#operator-eq-eq -"QPtrList::prepend" ntqptrlist.html#prepend -"QPtrList::prev" ntqptrlist.html#prev -"QPtrList::read" ntqptrlist.html#read -"QPtrList::remove" ntqptrlist.html#remove -"QPtrList::removeFirst" ntqptrlist.html#removeFirst -"QPtrList::removeLast" ntqptrlist.html#removeLast -"QPtrList::removeNode" ntqptrlist.html#removeNode -"QPtrList::removeRef" ntqptrlist.html#removeRef -"QPtrList::replace" ntqptrlist.html#replace -"QPtrList::sort" ntqptrlist.html#sort -"QPtrList::take" ntqptrlist.html#take -"QPtrList::takeNode" ntqptrlist.html#takeNode -"QPtrList::toVector" ntqptrlist.html#toVector -"QPtrList::write" ntqptrlist.html#write -"QPtrList::~QPtrList" ntqptrlist.html#~QPtrList -"QPtrListIterator" qptrlistiterator.html -"QPtrListIterator::atFirst" qptrlistiterator.html#atFirst -"QPtrListIterator::atLast" qptrlistiterator.html#atLast -"QPtrListIterator::count" qptrlistiterator.html#count -"QPtrListIterator::current" qptrlistiterator.html#current -"QPtrListIterator::isEmpty" qptrlistiterator.html#isEmpty -"QPtrListIterator::operator type *" qptrlistiterator.html#operator-type-* -"QPtrListIterator::operator()" qptrlistiterator.html#operator() -"QPtrListIterator::operator*" qptrlistiterator.html#operator* -"QPtrListIterator::operator++" qptrlistiterator.html#operator++ -"QPtrListIterator::operator+=" qptrlistiterator.html#operator+-eq -"QPtrListIterator::operator--" qptrlistiterator.html#operator-- -"QPtrListIterator::operator-=" qptrlistiterator.html#operator--eq -"QPtrListIterator::operator=" qptrlistiterator.html#operator-eq -"QPtrListIterator::toFirst" qptrlistiterator.html#toFirst -"QPtrListIterator::toLast" qptrlistiterator.html#toLast -"QPtrListIterator::~QPtrListIterator" qptrlistiterator.html#~QPtrListIterator -"QPtrQueue" ntqptrqueue.html -"QPtrQueue::autoDelete" ntqptrqueue.html#autoDelete -"QPtrQueue::clear" ntqptrqueue.html#clear -"QPtrQueue::count" ntqptrqueue.html#count -"QPtrQueue::current" ntqptrqueue.html#current -"QPtrQueue::dequeue" ntqptrqueue.html#dequeue -"QPtrQueue::enqueue" ntqptrqueue.html#enqueue -"QPtrQueue::head" ntqptrqueue.html#head -"QPtrQueue::isEmpty" ntqptrqueue.html#isEmpty -"QPtrQueue::operator type *" ntqptrqueue.html#operator-type-* -"QPtrQueue::operator=" ntqptrqueue.html#operator-eq -"QPtrQueue::read" ntqptrqueue.html#read -"QPtrQueue::remove" ntqptrqueue.html#remove -"QPtrQueue::setAutoDelete" ntqptrqueue.html#setAutoDelete -"QPtrQueue::write" ntqptrqueue.html#write -"QPtrQueue::~QPtrQueue" ntqptrqueue.html#~QPtrQueue -"QPtrStack" ntqptrstack.html -"QPtrStack::autoDelete" ntqptrstack.html#autoDelete -"QPtrStack::clear" ntqptrstack.html#clear -"QPtrStack::count" ntqptrstack.html#count -"QPtrStack::current" ntqptrstack.html#current -"QPtrStack::isEmpty" ntqptrstack.html#isEmpty -"QPtrStack::operator type *" ntqptrstack.html#operator-type-* -"QPtrStack::operator=" ntqptrstack.html#operator-eq -"QPtrStack::pop" ntqptrstack.html#pop -"QPtrStack::push" ntqptrstack.html#push -"QPtrStack::read" ntqptrstack.html#read -"QPtrStack::remove" ntqptrstack.html#remove -"QPtrStack::setAutoDelete" ntqptrstack.html#setAutoDelete -"QPtrStack::top" ntqptrstack.html#top -"QPtrStack::write" ntqptrstack.html#write -"QPtrStack::~QPtrStack" ntqptrstack.html#~QPtrStack -"QPtrVector" ntqptrvector.html -"QPtrVector::at" ntqptrvector.html#at -"QPtrVector::bsearch" ntqptrvector.html#bsearch -"QPtrVector::clear" ntqptrvector.html#clear -"QPtrVector::compareItems" ntqptrvector.html#compareItems -"QPtrVector::contains" ntqptrvector.html#contains -"QPtrVector::containsRef" ntqptrvector.html#containsRef -"QPtrVector::count" ntqptrvector.html#count -"QPtrVector::data" ntqptrvector.html#data -"QPtrVector::fill" ntqptrvector.html#fill -"QPtrVector::find" ntqptrvector.html#find -"QPtrVector::findRef" ntqptrvector.html#findRef -"QPtrVector::insert" ntqptrvector.html#insert -"QPtrVector::isEmpty" ntqptrvector.html#isEmpty -"QPtrVector::isNull" ntqptrvector.html#isNull -"QPtrVector::operator=" ntqptrvector.html#operator-eq -"QPtrVector::operator==" ntqptrvector.html#operator-eq-eq -"QPtrVector::operator[]" ntqptrvector.html#operator[] -"QPtrVector::read" ntqptrvector.html#read -"QPtrVector::remove" ntqptrvector.html#remove -"QPtrVector::resize" ntqptrvector.html#resize -"QPtrVector::size" ntqptrvector.html#size -"QPtrVector::sort" ntqptrvector.html#sort -"QPtrVector::take" ntqptrvector.html#take -"QPtrVector::write" ntqptrvector.html#write -"QPtrVector::~QPtrVector" ntqptrvector.html#~QPtrVector +"TQPtrCollection" tqptrcollection.html +"TQPtrCollection::Item" tqptrcollection.html#Item +"TQPtrCollection::autoDelete" tqptrcollection.html#autoDelete +"TQPtrCollection::clear" tqptrcollection.html#clear +"TQPtrCollection::count" tqptrcollection.html#count +"TQPtrCollection::deleteItem" tqptrcollection.html#deleteItem +"TQPtrCollection::newItem" tqptrcollection.html#newItem +"TQPtrCollection::setAutoDelete" tqptrcollection.html#setAutoDelete +"TQPtrCollection::~TQPtrCollection" tqptrcollection.html#~TQPtrCollection +"TQPtrDict" tqptrdict.html +"TQPtrDict::clear" tqptrdict.html#clear +"TQPtrDict::count" tqptrdict.html#count +"TQPtrDict::find" tqptrdict.html#find +"TQPtrDict::insert" tqptrdict.html#insert +"TQPtrDict::isEmpty" tqptrdict.html#isEmpty +"TQPtrDict::operator=" tqptrdict.html#operator-eq +"TQPtrDict::operator[]" tqptrdict.html#operator[] +"TQPtrDict::read" tqptrdict.html#read +"TQPtrDict::remove" tqptrdict.html#remove +"TQPtrDict::replace" tqptrdict.html#replace +"TQPtrDict::resize" tqptrdict.html#resize +"TQPtrDict::size" tqptrdict.html#size +"TQPtrDict::statistics" tqptrdict.html#statistics +"TQPtrDict::take" tqptrdict.html#take +"TQPtrDict::write" tqptrdict.html#write +"TQPtrDict::~TQPtrDict" tqptrdict.html#~TQPtrDict +"TQPtrDictIterator" tqptrdictiterator.html +"TQPtrDictIterator::count" tqptrdictiterator.html#count +"TQPtrDictIterator::current" tqptrdictiterator.html#current +"TQPtrDictIterator::currentKey" tqptrdictiterator.html#currentKey +"TQPtrDictIterator::isEmpty" tqptrdictiterator.html#isEmpty +"TQPtrDictIterator::operator type *" tqptrdictiterator.html#operator-type-* +"TQPtrDictIterator::operator()" tqptrdictiterator.html#operator() +"TQPtrDictIterator::operator++" tqptrdictiterator.html#operator++ +"TQPtrDictIterator::operator+=" tqptrdictiterator.html#operator+-eq +"TQPtrDictIterator::toFirst" tqptrdictiterator.html#toFirst +"TQPtrDictIterator::~TQPtrDictIterator" tqptrdictiterator.html#~TQPtrDictIterator +"TQPtrList" tqptrlist.html +"TQPtrList::append" tqptrlist.html#append +"TQPtrList::at" tqptrlist.html#at +"TQPtrList::clear" tqptrlist.html#clear +"TQPtrList::compareItems" tqptrlist.html#compareItems +"TQPtrList::contains" tqptrlist.html#contains +"TQPtrList::containsRef" tqptrlist.html#containsRef +"TQPtrList::count" tqptrlist.html#count +"TQPtrList::current" tqptrlist.html#current +"TQPtrList::currentNode" tqptrlist.html#currentNode +"TQPtrList::find" tqptrlist.html#find +"TQPtrList::findNext" tqptrlist.html#findNext +"TQPtrList::findNextRef" tqptrlist.html#findNextRef +"TQPtrList::findRef" tqptrlist.html#findRef +"TQPtrList::first" tqptrlist.html#first +"TQPtrList::getFirst" tqptrlist.html#getFirst +"TQPtrList::getLast" tqptrlist.html#getLast +"TQPtrList::inSort" tqptrlist.html#inSort +"TQPtrList::insert" tqptrlist.html#insert +"TQPtrList::isEmpty" tqptrlist.html#isEmpty +"TQPtrList::last" tqptrlist.html#last +"TQPtrList::next" tqptrlist.html#next +"TQPtrList::operator!=" tqptrlist.html#operator!-eq +"TQPtrList::operator=" tqptrlist.html#operator-eq +"TQPtrList::operator==" tqptrlist.html#operator-eq-eq +"TQPtrList::prepend" tqptrlist.html#prepend +"TQPtrList::prev" tqptrlist.html#prev +"TQPtrList::read" tqptrlist.html#read +"TQPtrList::remove" tqptrlist.html#remove +"TQPtrList::removeFirst" tqptrlist.html#removeFirst +"TQPtrList::removeLast" tqptrlist.html#removeLast +"TQPtrList::removeNode" tqptrlist.html#removeNode +"TQPtrList::removeRef" tqptrlist.html#removeRef +"TQPtrList::replace" tqptrlist.html#replace +"TQPtrList::sort" tqptrlist.html#sort +"TQPtrList::take" tqptrlist.html#take +"TQPtrList::takeNode" tqptrlist.html#takeNode +"TQPtrList::toVector" tqptrlist.html#toVector +"TQPtrList::write" tqptrlist.html#write +"TQPtrList::~TQPtrList" tqptrlist.html#~TQPtrList +"TQPtrListIterator" tqptrlistiterator.html +"TQPtrListIterator::atFirst" tqptrlistiterator.html#atFirst +"TQPtrListIterator::atLast" tqptrlistiterator.html#atLast +"TQPtrListIterator::count" tqptrlistiterator.html#count +"TQPtrListIterator::current" tqptrlistiterator.html#current +"TQPtrListIterator::isEmpty" tqptrlistiterator.html#isEmpty +"TQPtrListIterator::operator type *" tqptrlistiterator.html#operator-type-* +"TQPtrListIterator::operator()" tqptrlistiterator.html#operator() +"TQPtrListIterator::operator*" tqptrlistiterator.html#operator* +"TQPtrListIterator::operator++" tqptrlistiterator.html#operator++ +"TQPtrListIterator::operator+=" tqptrlistiterator.html#operator+-eq +"TQPtrListIterator::operator--" tqptrlistiterator.html#operator-- +"TQPtrListIterator::operator-=" tqptrlistiterator.html#operator--eq +"TQPtrListIterator::operator=" tqptrlistiterator.html#operator-eq +"TQPtrListIterator::toFirst" tqptrlistiterator.html#toFirst +"TQPtrListIterator::toLast" tqptrlistiterator.html#toLast +"TQPtrListIterator::~TQPtrListIterator" tqptrlistiterator.html#~TQPtrListIterator +"TQPtrQueue" tqptrqueue.html +"TQPtrQueue::autoDelete" tqptrqueue.html#autoDelete +"TQPtrQueue::clear" tqptrqueue.html#clear +"TQPtrQueue::count" tqptrqueue.html#count +"TQPtrQueue::current" tqptrqueue.html#current +"TQPtrQueue::dequeue" tqptrqueue.html#dequeue +"TQPtrQueue::enqueue" tqptrqueue.html#enqueue +"TQPtrQueue::head" tqptrqueue.html#head +"TQPtrQueue::isEmpty" tqptrqueue.html#isEmpty +"TQPtrQueue::operator type *" tqptrqueue.html#operator-type-* +"TQPtrQueue::operator=" tqptrqueue.html#operator-eq +"TQPtrQueue::read" tqptrqueue.html#read +"TQPtrQueue::remove" tqptrqueue.html#remove +"TQPtrQueue::setAutoDelete" tqptrqueue.html#setAutoDelete +"TQPtrQueue::write" tqptrqueue.html#write +"TQPtrQueue::~TQPtrQueue" tqptrqueue.html#~TQPtrQueue +"TQPtrStack" tqptrstack.html +"TQPtrStack::autoDelete" tqptrstack.html#autoDelete +"TQPtrStack::clear" tqptrstack.html#clear +"TQPtrStack::count" tqptrstack.html#count +"TQPtrStack::current" tqptrstack.html#current +"TQPtrStack::isEmpty" tqptrstack.html#isEmpty +"TQPtrStack::operator type *" tqptrstack.html#operator-type-* +"TQPtrStack::operator=" tqptrstack.html#operator-eq +"TQPtrStack::pop" tqptrstack.html#pop +"TQPtrStack::push" tqptrstack.html#push +"TQPtrStack::read" tqptrstack.html#read +"TQPtrStack::remove" tqptrstack.html#remove +"TQPtrStack::setAutoDelete" tqptrstack.html#setAutoDelete +"TQPtrStack::top" tqptrstack.html#top +"TQPtrStack::write" tqptrstack.html#write +"TQPtrStack::~TQPtrStack" tqptrstack.html#~TQPtrStack +"TQPtrVector" tqptrvector.html +"TQPtrVector::at" tqptrvector.html#at +"TQPtrVector::bsearch" tqptrvector.html#bsearch +"TQPtrVector::clear" tqptrvector.html#clear +"TQPtrVector::compareItems" tqptrvector.html#compareItems +"TQPtrVector::contains" tqptrvector.html#contains +"TQPtrVector::containsRef" tqptrvector.html#containsRef +"TQPtrVector::count" tqptrvector.html#count +"TQPtrVector::data" tqptrvector.html#data +"TQPtrVector::fill" tqptrvector.html#fill +"TQPtrVector::find" tqptrvector.html#find +"TQPtrVector::findRef" tqptrvector.html#findRef +"TQPtrVector::insert" tqptrvector.html#insert +"TQPtrVector::isEmpty" tqptrvector.html#isEmpty +"TQPtrVector::isNull" tqptrvector.html#isNull +"TQPtrVector::operator=" tqptrvector.html#operator-eq +"TQPtrVector::operator==" tqptrvector.html#operator-eq-eq +"TQPtrVector::operator[]" tqptrvector.html#operator[] +"TQPtrVector::read" tqptrvector.html#read +"TQPtrVector::remove" tqptrvector.html#remove +"TQPtrVector::resize" tqptrvector.html#resize +"TQPtrVector::size" tqptrvector.html#size +"TQPtrVector::sort" tqptrvector.html#sort +"TQPtrVector::take" tqptrvector.html#take +"TQPtrVector::write" tqptrvector.html#write +"TQPtrVector::~TQPtrVector" tqptrvector.html#~TQPtrVector "QPushButton" ntqpushbutton.html "QPushButton::autoDefault" ntqpushbutton.html#autoDefault "QPushButton::autoDefault" ntqpushbutton.html#autoDefault-prop diff --git a/doc/html/listviews-example.html b/doc/html/listviews-example.html index 90f5c703..7b3d668a 100644 --- a/doc/html/listviews-example.html +++ b/doc/html/listviews-example.html @@ -55,7 +55,7 @@ and works like the main window of a mail client. #include <ntqstring.h> #include <tqobject.h> #include <ntqdatetime.h> -#include <ntqptrlist.h> +#include <tqptrlist.h> #include <ntqlistview.h> class TQListView; @@ -128,16 +128,16 @@ public: {} void addMessage( Message *m ) - { lstMessages.append( m ); } + { lstMessages.append( m ); } TQString folderName() { return fName; } - Message *firstMessage() { return lstMessages.first(); } - Message *nextMessage() { return lstMessages.next(); } + Message *firstMessage() { return lstMessages.first(); } + Message *nextMessage() { return lstMessages.next(); } protected: TQString fName; - TQPtrList<Message> lstMessages; + TQPtrList<Message> lstMessages; }; @@ -195,7 +195,7 @@ protected: TQLabel *message; TQPopupMenu* menu; - TQPtrList<Folder> lstFolders; + TQPtrList<Folder> lstFolders; protected slots: void slotFolderChanged( TQListViewItem* ); @@ -366,7 +366,7 @@ void FolderListItem::insertSubFolders( const setMargin( 5 ); TQValueList<int> lst; - lst.append( 170 ); + lst.append( 170 ); setSizes( lst ); } diff --git a/doc/html/mdi-example.html b/doc/html/mdi-example.html index 7abea925..52e941fa 100644 --- a/doc/html/mdi-example.html +++ b/doc/html/mdi-example.html @@ -51,7 +51,7 @@ that it provides a Multiple Document Interface (MDI). #define APPLICATION_H #include <ntqmainwindow.h> -#include <ntqptrlist.h> +#include <tqptrlist.h> class TQTextEdit; class TQToolBar; diff --git a/doc/html/ntqapplication.html b/doc/html/ntqapplication.html index 22ce1183..23534ff0 100644 --- a/doc/html/ntqapplication.html +++ b/doc/html/ntqapplication.html @@ -586,7 +586,7 @@ installed. Returns a list of all the widgets in the application.

    The list is created using new and must be deleted by the caller. -

    The list is empty (TQPtrList::isEmpty()) if there are no widgets. +

    The list is empty (TQPtrList::isEmpty()) if there are no widgets.

    Note that some of the widgets may be hidden.

    Example that updates all widgets:

    @@ -604,7 +604,7 @@ Returns a list of all the widgets in the application.
     file.
     

    Warning: Delete the list as soon as you have finished using it. The widgets in the list may be deleted by someone else at any time. -

    See also topLevelWidgets(), TQWidget::visible, and TQPtrList::isEmpty(). +

    See also topLevelWidgets(), TQWidget::visible, and TQPtrList::isEmpty().

    TQString TQApplication::applicationDirPath ()

    @@ -1638,7 +1638,7 @@ normally takes some time. Does nothing on other platforms. Returns a list of the top level widgets in the application.

    The list is created using new and must be deleted by the caller. -

    The list is empty (TQPtrList::isEmpty()) if there are no top level +

    The list is empty (TQPtrList::isEmpty()) if there are no top level widgets.

    Note that some of the top level widgets may be hidden, for example the tooltip if no tooltip is currently shown. @@ -1658,7 +1658,7 @@ the tooltip if no tooltip is currently shown.

    Warning: Delete the list as soon you have finished using it. The widgets in the list may be deleted by someone else at any time. -

    See also allWidgets(), TQWidget::isTopLevel, TQWidget::visible, and TQPtrList::isEmpty(). +

    See also allWidgets(), TQWidget::isTopLevel, TQWidget::visible, and TQPtrList::isEmpty().

    TQString TQApplication::translate ( const char * context, const char * sourceText, const char * comment = 0, Encoding encoding = DefaultCodec ) const

    Note: This function is reentrant when TQt is built with thread support.

    diff --git a/doc/html/ntqasciicache.html b/doc/html/ntqasciicache.html index 13df1f01..0c71987b 100644 --- a/doc/html/ntqasciicache.html +++ b/doc/html/ntqasciicache.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

    The TQAsciiCache class is a template class that provides a cache based on char* keys. More...

    #include <ntqasciicache.h> -

    Inherits TQPtrCollection. +

    Inherits TQPtrCollection.

    List of all member functions.

    Public Members

      @@ -76,17 +76,17 @@ the least recently used items in the cache are removed. item, returns it, and by default marks it as being the most recently used item.

      There are also methods to remove() or take() an object from the -cache. Calling setAutoDelete(TRUE) tells the cache to delete items that +cache. Calling setAutoDelete(TRUE) tells the cache to delete items that are removed. The default is to not delete items when then are removed (i.e., remove() and take() are equivalent).

      When inserting an item into the cache, only the pointer is copied, not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual -function TQPtrCollection::newItem() for the item to be inserted. -Inherit a cache and reimplement newItem() if you want deep copies. +function TQPtrCollection::newItem() for the item to be inserted. +Inherit a cache and reimplement newItem() if you want deep copies.

      When removing a cache item the virtual function -TQPtrCollection::deleteItem() is called. Its default implementation -in TQAsciiCache is to delete the item if auto-deletion is enabled. +TQPtrCollection::deleteItem() is called. Its default implementation +in TQAsciiCache is to delete the item if auto-deletion is enabled.

      There is a TQAsciiCacheIterator which may be used to traverse the items in the cache in arbitrary order.

      See also TQAsciiCacheIterator, TQCache, TQIntCache, Collection Classes, and Non-GUI Classes. @@ -122,19 +122,19 @@ All iterators that access this cache will be reset.

      void TQAsciiCache::clear () [virtual]

      -

      Removes all items from the cache, and deletes them if auto-deletion has been +

      Removes all items from the cache, and deletes them if auto-deletion has been enabled.

      All cache iterators that operate on this cache are reset.

      See also remove() and take(). -

      Reimplemented from TQPtrCollection. +

      Reimplemented from TQPtrCollection.

      uint TQAsciiCache::count () const [virtual]

      Returns the number of items in the cache.

      See also totalCost() and size(). -

      Reimplemented from TQPtrCollection. +

      Reimplemented from TQPtrCollection.

      type * TQAsciiCache::find ( const char * k, bool ref = TRUE ) const

      @@ -192,7 +192,7 @@ inserted last is returned.

      Removes the item with key k and returns TRUE if the item was present in the cache; otherwise returns FALSE.

      The item is deleted if auto-deletion has been enabled, i.e., if -you have called setAutoDelete(TRUE). +you have called setAutoDelete(TRUE).

      If there are two or more items with equal keys, the one that was inserted last is removed.

      All iterators that refer to the removed item are set to point to diff --git a/doc/html/ntqasciidict.html b/doc/html/ntqasciidict.html index 460792d7..7c74e202 100644 --- a/doc/html/ntqasciidict.html +++ b/doc/html/ntqasciidict.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

      The TQAsciiDict class is a template class that provides a dictionary based on char* keys. More...

      #include <ntqasciidict.h> -

      Inherits TQPtrCollection. +

      Inherits TQPtrCollection.

      List of all member functions.

      Public Members

        @@ -107,10 +107,10 @@ performace as a TQAsciiDict. In this example we use a dictionary to keep track of the line edits we're using. We insert each line edit into the dictionary with a unique name and then access the line edits via the -dictionary. See TQPtrDict, TQIntDict and TQDict. +dictionary. See TQPtrDict, TQIntDict and TQDict.

        See TQDict for full details, including the choice of dictionary size, and how deletions are handled. -

        See also TQAsciiDictIterator, TQDict, TQIntDict, TQPtrDict, Collection Classes, Collection Classes, and Non-GUI Classes. +

        See also TQAsciiDictIterator, TQDict, TQIntDict, TQPtrDict, Collection Classes, Collection Classes, and Non-GUI Classes.


        Member Function Documentation

        TQAsciiDict::TQAsciiDict ( int size = 17, bool caseSensitive = TRUE, bool copyKeys = TRUE ) @@ -141,30 +141,30 @@ pointers are copied (shallow copy).

        Removes all items from the dictionary and destroys it.

        The items are deleted if auto-delete is enabled.

        All iterators that access this dictionary will be reset. -

        See also setAutoDelete(). +

        See also setAutoDelete().

        bool TQPtrCollection::autoDelete () const

        Returns the setting of the auto-delete option. The default is FALSE. -

        See also setAutoDelete(). +

        See also setAutoDelete().

        void TQAsciiDict::clear () [virtual]

        Removes all items from the dictionary. -

        The removed items are deleted if auto-deletion is enabled. +

        The removed items are deleted if auto-deletion is enabled.

        All dictionary iterators that operate on dictionary are reset. -

        See also remove(), take(), and setAutoDelete(). +

        See also remove(), take(), and setAutoDelete(). -

        Reimplemented from TQPtrCollection. +

        Reimplemented from TQPtrCollection.

        uint TQAsciiDict::count () const [virtual]

        Returns the number of items in the dictionary.

        See also isEmpty(). -

        Reimplemented from TQPtrCollection. +

        Reimplemented from TQPtrCollection.

        type * TQAsciiDict::find ( const char * key ) const

        @@ -200,7 +200,7 @@ otherwise it returns FALSE. dictionary.

        This dictionary is first cleared and then each item in dict is inserted into this dictionary. Only the pointers are copied -(shallow copy) unless newItem() has been reimplemented(). +(shallow copy) unless newItem() has been reimplemented().

        type * TQAsciiDict::operator[] ( const char * key ) const

        @@ -214,7 +214,7 @@ was most recently inserted will be found.

        Equivalent to the find() function.

        See also find(). -

        TQDataStream & TQAsciiDict::read ( TQDataStream & s, TQPtrCollection::Item & item ) [virtual protected] +

        TQDataStream & TQAsciiDict::read ( TQDataStream & s, TQPtrCollection::Item & item ) [virtual protected]

        Reads a dictionary item from the stream s and returns a @@ -230,10 +230,10 @@ Returns TRUE if successful, i.e. if the key existed in the dictionary; otherwise returns FALSE.

        If there are two or more items with equal keys, then the most recently inserted item will be removed. -

        The removed item is deleted if auto-deletion is enabled. +

        The removed item is deleted if auto-deletion is enabled.

        All dictionary iterators that refer to the removed item will be set to point to the next item in the dictionary traversal order. -

        See also take(), clear(), and setAutoDelete(). +

        See also take(), clear(), and setAutoDelete().

        void TQAsciiDict::replace ( const char * key, const type * item )

        @@ -276,7 +276,7 @@ with two collections deleting the same items. in subclasses. For example, a subclass that has a remove() function will remove the item from its data structure, and if auto-delete is enabled, will also delete the item. -

        See also autoDelete(). +

        See also autoDelete().

        Examples: grapher/grapher.cpp, scribble/scribble.cpp, and table/bigtable/main.cpp.

        uint TQAsciiDict::size () const @@ -296,16 +296,16 @@ distribution using tqDebug().

        Takes the item associated with key out of the dictionary -without deleting it (even if auto-deletion is enabled). +without deleting it (even if auto-deletion is enabled).

        If there are two or more items with equal keys, then the most recently inserted item will be taken.

        Returns a pointer to the item taken out, or 0 if the key does not exist in the dictionary.

        All dictionary iterators that refer to the taken item will be set to point to the next item in the dictionary traversal order. -

        See also remove(), clear(), and setAutoDelete(). +

        See also remove(), clear(), and setAutoDelete(). -

        TQDataStream & TQAsciiDict::write ( TQDataStream & s, TQPtrCollection::Item ) const [virtual protected] +

        TQDataStream & TQAsciiDict::write ( TQDataStream & s, TQPtrCollection::Item ) const [virtual protected]

        Writes a dictionary item to the stream s and returns a diff --git a/doc/html/ntqcache.html b/doc/html/ntqcache.html index ed557bf5..da9c879d 100644 --- a/doc/html/ntqcache.html +++ b/doc/html/ntqcache.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

        The TQCache class is a template class that provides a cache based on TQString keys. More...

        #include <ntqcache.h> -

        Inherits TQPtrCollection. +

        Inherits TQPtrCollection.

        List of all member functions.

        Public Members

          @@ -79,16 +79,16 @@ operates on pointers to X, or X*. item, returns it, and by default marks it as being the most recently used item.

          There are also methods to remove() or take() an object from the -cache. Calling setAutoDelete(TRUE) for a cache tells it to delete +cache. Calling setAutoDelete(TRUE) for a cache tells it to delete items that are removed. The default is to not delete items when they are removed (i.e., remove() and take() are equivalent).

          When inserting an item into the cache, only the pointer is copied, not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual -function TQPtrCollection::newItem() for the item to be inserted. -Inherit a cache and reimplement newItem() if you want deep copies. +function TQPtrCollection::newItem() for the item to be inserted. +Inherit a cache and reimplement newItem() if you want deep copies.

          When removing a cache item, the virtual function -TQPtrCollection::deleteItem() is called. The default +TQPtrCollection::deleteItem() is called. The default implementation deletes the item if auto-deletion is enabled, and does nothing otherwise.

          There is a TQCacheIterator that can be used to traverse the items @@ -127,7 +127,7 @@ that access this cache will be reset.

          Returns the setting of the auto-delete option. The default is FALSE. -

          See also setAutoDelete(). +

          See also setAutoDelete().

          void TQCache::clear () [virtual]

          @@ -137,14 +137,14 @@ has been enabled.

          All cache iterators that operate this on cache are reset.

          See also remove() and take(). -

          Reimplemented from TQPtrCollection. +

          Reimplemented from TQPtrCollection.

          uint TQCache::count () const [virtual]

          Returns the number of items in the cache.

          See also totalCost(). -

          Reimplemented from TQPtrCollection. +

          Reimplemented from TQPtrCollection.

          type * TQCache::find ( const TQString & k, bool ref = TRUE ) const

          @@ -201,7 +201,7 @@ inserted last is returned.

          Removes the item associated with k, and returns TRUE if the item was present in the cache; otherwise returns FALSE.

          The item is deleted if auto-deletion has been enabled, i.e., if -you have called setAutoDelete(TRUE). +you have called setAutoDelete(TRUE).

          If there are two or more items with equal keys, the one that was inserted last is removed.

          All iterators that refer to the removed item are set to point to @@ -223,7 +223,7 @@ with two collections deleting the same items. in subclasses. For example, a subclass that has a remove() function will remove the item from its data structure, and if auto-delete is enabled, will also delete the item. -

          See also autoDelete(). +

          See also autoDelete().

          Examples: grapher/grapher.cpp, scribble/scribble.cpp, and table/bigtable/main.cpp.

          void TQCache::setMaxCost ( int m ) diff --git a/doc/html/ntqdict.html b/doc/html/ntqdict.html index cfca2729..e8eade98 100644 --- a/doc/html/ntqdict.html +++ b/doc/html/ntqdict.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } dictionary based on TQString keys. More...

          #include <ntqdict.h> -

          Inherits TQPtrCollection. +

          Inherits TQPtrCollection.

          List of all member functions.

          Public Members

            @@ -99,7 +99,7 @@ returns TRUE. You can change an item's value with replace are looked up with operator[](), or with find() which return a pointer to the value or 0 if the given key does not exist. You can take an item out of the dictionary with take(). -

            Calling setAutoDelete(TRUE) for a dictionary tells it to delete +

            Calling setAutoDelete(TRUE) for a dictionary tells it to delete items that are removed. The default behaviour is not to delete items when they are removed.

            When an item is inserted, the key is converted (hashed) to an @@ -115,11 +115,11 @@ the same dictionary. copied, not the item itself, i.e. a shallow copy is made. It is possible to make the dictionary copy all of the item's data (a deep copy) when an item is inserted. insert() calls the virtual -function TQPtrCollection::newItem() for the item to be inserted. -Inherit a dictionary and reimplement newItem() if you want deep +function TQPtrCollection::newItem() for the item to be inserted. +Inherit a dictionary and reimplement newItem() if you want deep copies.

            When removing a dictionary item, the virtual function -TQPtrCollection::deleteItem() is called. TQDict's default +TQPtrCollection::deleteItem() is called. TQDict's default implementation is to delete the item if auto-deletion is enabled.

            Example #1:

            @@ -191,7 +191,7 @@ letter the style will simply have no accelerator. If the first
             letter of the style name is not in the dictionary we use it for
             the accelerator and add it to the dictionary. Finally we create a
             TQAction for each style.
            -

            See also TQDictIterator, TQAsciiDict, TQIntDict, TQPtrDict, Collection Classes, and Non-GUI Classes. +

            See also TQDictIterator, TQAsciiDict, TQIntDict, TQPtrDict, Collection Classes, and Non-GUI Classes.


            Member Function Documentation

            TQDict::TQDict ( int size = 17, bool caseSensitive = TRUE ) @@ -216,32 +216,32 @@ pointers are copied (shallow copy).

            Removes all items from the dictionary and destroys it. If -setAutoDelete() is TRUE, each value is deleted. All iterators that +setAutoDelete() is TRUE, each value is deleted. All iterators that access this dictionary will be reset. -

            See also setAutoDelete(). +

            See also setAutoDelete().

            bool TQPtrCollection::autoDelete () const

            Returns the setting of the auto-delete option. The default is FALSE. -

            See also setAutoDelete(). +

            See also setAutoDelete().

            void TQDict::clear () [virtual]

            Removes all items from the dictionary. -

            The removed items are deleted if auto-deletion is enabled. +

            The removed items are deleted if auto-deletion is enabled.

            All dictionary iterators that operate on the dictionary are reset. -

            See also remove(), take(), and setAutoDelete(). +

            See also remove(), take(), and setAutoDelete(). -

            Reimplemented from TQPtrCollection. +

            Reimplemented from TQPtrCollection.

            uint TQDict::count () const [virtual]

            Returns the number of items in the dictionary.

            See also isEmpty(). -

            Reimplemented from TQPtrCollection. +

            Reimplemented from TQPtrCollection.

            type * TQDict::find ( const TQString & key ) const

            @@ -276,7 +276,7 @@ otherwise returns FALSE. dictionary.

            This dictionary is first cleared, then each item in dict is inserted into this dictionary. Only the pointers are copied -(shallow copy), unless newItem() has been reimplemented. +(shallow copy), unless newItem() has been reimplemented.

            type * TQDict::operator[] ( const TQString & key ) const

            @@ -288,7 +288,7 @@ recently inserted item will be found.

            Equivalent to the find() function.

            See also find(). -

            TQDataStream & TQDict::read ( TQDataStream & s, TQPtrCollection::Item & item ) [virtual protected] +

            TQDataStream & TQDict::read ( TQDataStream & s, TQPtrCollection::Item & item ) [virtual protected]

            Reads a dictionary item from the stream s and returns a @@ -304,10 +304,10 @@ successful, i.e. if the item is in the dictionary; otherwise returns FALSE.

            If there are two or more items with equal keys, then the last item that was inserted will be removed. -

            The removed item is deleted if auto-deletion is enabled. +

            The removed item is deleted if auto-deletion is enabled.

            All dictionary iterators that refer to the removed item will be set to point to the next item in the dictionary's traversal order. -

            See also take(), clear(), and setAutoDelete(). +

            See also take(), clear(), and setAutoDelete().

            void TQDict::replace ( const TQString & key, const type * item )

            @@ -350,7 +350,7 @@ with two collections deleting the same items. in subclasses. For example, a subclass that has a remove() function will remove the item from its data structure, and if auto-delete is enabled, will also delete the item. -

            See also autoDelete(). +

            See also autoDelete().

            Examples: grapher/grapher.cpp, scribble/scribble.cpp, and table/bigtable/main.cpp.

            uint TQDict::size () const @@ -370,16 +370,16 @@ distribution using tqDebug().

            Takes the item with key out of the dictionary without deleting -it (even if auto-deletion is enabled). +it (even if auto-deletion is enabled).

            If there are two or more items with equal keys, then the last item that was inserted will be taken.

            Returns a pointer to the item taken out, or 0 if the key does not exist in the dictionary.

            All dictionary iterators that refer to the taken item will be set to point to the next item in the dictionary traversal order. -

            See also remove(), clear(), and setAutoDelete(). +

            See also remove(), clear(), and setAutoDelete(). -

            TQDataStream & TQDict::write ( TQDataStream & s, TQPtrCollection::Item ) const [virtual protected] +

            TQDataStream & TQDict::write ( TQDataStream & s, TQPtrCollection::Item ) const [virtual protected]

            Writes a dictionary item to the stream s and returns a diff --git a/doc/html/ntqdir.html b/doc/html/ntqdir.html index 5066c4f9..89372c3b 100644 --- a/doc/html/ntqdir.html +++ b/doc/html/ntqdir.html @@ -451,7 +451,7 @@ list is owned by the TQDir object and will be reused on the next call to entryInfoList() for the same TQDir instance. If you want to keep the entries of the list after a subsequent call to this function you must copy them. -

            Note: TQFileInfoList is really a TQPtrList. +

            Note: TQFileInfoList is really a TQPtrList.

            See also entryList(), setNameFilter(), setSorting(), and setFilter().

            Examples: dirview/dirview.cpp and fileiconview/qfileiconview.cpp. @@ -470,7 +470,7 @@ list is owned by the TQDir object and will be reused on the next call to entryInfoList() for the same TQDir instance. If you want to keep the entries of the list after a subsequent call to this function you must copy them. -

            Note: TQFileInfoList is really a TQPtrList. +

            Note: TQFileInfoList is really a TQPtrList.

            See also entryList(), setNameFilter(), setSorting(), and setFilter().

            TQStringList TQDir::entryList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const [virtual] diff --git a/doc/html/ntqdockarea.html b/doc/html/ntqdockarea.html index 439d7a1e..83db618f 100644 --- a/doc/html/ntqdockarea.html +++ b/doc/html/ntqdockarea.html @@ -164,7 +164,7 @@ area.

            int TQDockArea::count () const

            Returns the number of dock windows in the dock area. See the "count" property for details. -

            TQPtrList<TQDockWindow> TQDockArea::dockWindowList () const +

            TQPtrList<TQDockWindow> TQDockArea::dockWindowList () const

            Returns a list of the dock windows in the dock area. diff --git a/doc/html/ntqintcache.html b/doc/html/ntqintcache.html index 8bd43af2..61587a90 100644 --- a/doc/html/ntqintcache.html +++ b/doc/html/ntqintcache.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

            The TQIntCache class is a template class that provides a cache based on long keys. More...

            #include <ntqintcache.h> -

            Inherits TQPtrCollection. +

            Inherits TQPtrCollection.

            List of all member functions.

            Public Members

              @@ -74,14 +74,14 @@ the cache are removed. item, returns it, and by default marks it as being the most recently used item.

              There are also methods to remove() or take() an object from the -cache. Calling setAutoDelete(TRUE) for a cache tells it to delete +cache. Calling setAutoDelete(TRUE) for a cache tells it to delete items that are removed. The default is to not delete items when they are removed (i.e. remove() and take() are equivalent).

              When inserting an item into the cache, only the pointer is copied, not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual -function TQPtrCollection::newItem() for the item to be inserted. -Inherit a dictionary and reimplement newItem() if you want deep +function TQPtrCollection::newItem() for the item to be inserted. +Inherit a dictionary and reimplement newItem() if you want deep copies.

              When removing a cache item, the item will be automatically deleted if auto-deletion is enabled. @@ -119,14 +119,14 @@ auto-deletion has been enabled.

              All cache iterators that operate this on cache are reset.

              See also remove() and take(). -

              Reimplemented from TQPtrCollection. +

              Reimplemented from TQPtrCollection.

              uint TQIntCache::count () const [virtual]

              Returns the number of items in the cache.

              See also totalCost(). -

              Reimplemented from TQPtrCollection. +

              Reimplemented from TQPtrCollection.

              type * TQIntCache::find ( long k, bool ref = TRUE ) const

              @@ -182,7 +182,7 @@ inserted most recently is returned.

              Removes the item associated with k, and returns TRUE if the item was present in the cache; otherwise returns FALSE.

              The item is deleted if auto-deletion has been enabled, i.e. if you -have called setAutoDelete(TRUE). +have called setAutoDelete(TRUE).

              If there are two or more items with equal keys, the one that was inserted most recently is removed.

              All iterators that refer to the removed item are set to point to diff --git a/doc/html/ntqintdict.html b/doc/html/ntqintdict.html index 9b13c49e..83339e18 100644 --- a/doc/html/ntqintdict.html +++ b/doc/html/ntqintdict.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

              The TQIntDict class is a template class that provides a dictionary based on long keys. More...

              #include <ntqintdict.h> -

              Inherits TQPtrCollection. +

              Inherits TQPtrCollection.

              List of all member functions.

              Public Members

                @@ -104,7 +104,7 @@ pointer. Dictionaries provide very fast insertion and lookup.

                See TQDict for full details, including the choice of dictionary size, and how deletions are handled. -

                See also TQIntDictIterator, TQDict, TQAsciiDict, TQPtrDict, Collection Classes, Collection Classes, and Non-GUI Classes. +

                See also TQIntDictIterator, TQDict, TQAsciiDict, TQPtrDict, Collection Classes, Collection Classes, and Non-GUI Classes.


                Member Function Documentation

                TQIntDict::TQIntDict ( int size = 17 ) @@ -127,30 +127,30 @@ pointers are copied (shallow copy).

                Removes all items from the dictionary and destroys it.

                All iterators that access this dictionary will be reset. -

                See also setAutoDelete(). +

                See also setAutoDelete().

                bool TQPtrCollection::autoDelete () const

                Returns the setting of the auto-delete option. The default is FALSE. -

                See also setAutoDelete(). +

                See also setAutoDelete().

                void TQIntDict::clear () [virtual]

                Removes all items from the dictionary. -

                The removed items are deleted if auto-deletion is enabled. +

                The removed items are deleted if auto-deletion is enabled.

                All dictionary iterators that access this dictionary will be reset. -

                See also remove(), take(), and setAutoDelete(). +

                See also remove(), take(), and setAutoDelete(). -

                Reimplemented from TQPtrCollection. +

                Reimplemented from TQPtrCollection.

                uint TQIntDict::count () const [virtual]

                Returns the number of items in the dictionary.

                See also isEmpty(). -

                Reimplemented from TQPtrCollection. +

                Reimplemented from TQPtrCollection.

                type * TQIntDict::find ( long key ) const

                @@ -185,7 +185,7 @@ item will be accessible using operator[](). dictionary.

                This dictionary is first cleared and then each item in dict is inserted into this dictionary. Only the pointers are copied -(shallow copy), unless newItem() has been reimplemented. +(shallow copy), unless newItem() has been reimplemented.

                type * TQIntDict::operator[] ( long key ) const

                @@ -197,7 +197,7 @@ recently inserted item will be found.

                Equivalent to the find() function.

                See also find(). -

                TQDataStream & TQIntDict::read ( TQDataStream & s, TQPtrCollection::Item & item ) [virtual protected] +

                TQDataStream & TQIntDict::read ( TQDataStream & s, TQPtrCollection::Item & item ) [virtual protected]

                Reads a dictionary item from the stream s and returns a @@ -213,11 +213,11 @@ Returns TRUE if successful, i.e. if the key is in the dictionary; otherwise returns FALSE.

                If there are two or more items with equal keys, then the most recently inserted item will be removed. -

                The removed item is deleted if auto-deletion is enabled. +

                The removed item is deleted if auto-deletion is enabled.

                All dictionary iterators that refer to the removed item will be set to point to the next item in the dictionary's traversal order. -

                See also take(), clear(), and setAutoDelete(). +

                See also take(), clear(), and setAutoDelete().

                Example: table/bigtable/main.cpp.

                void TQIntDict::replace ( long key, const type * item ) @@ -263,7 +263,7 @@ with two collections deleting the same items. in subclasses. For example, a subclass that has a remove() function will remove the item from its data structure, and if auto-delete is enabled, will also delete the item. -

                See also autoDelete(). +

                See also autoDelete().

                Examples: grapher/grapher.cpp, scribble/scribble.cpp, and table/bigtable/main.cpp.

                uint TQIntDict::size () const @@ -283,17 +283,17 @@ distribution using tqDebug().

                Takes the item associated with key out of the dictionary -without deleting it (even if auto-deletion is enabled). +without deleting it (even if auto-deletion is enabled).

                If there are two or more items with equal keys, then the most recently inserted item will be taken.

                Returns a pointer to the item taken out, or 0 if the key does not exist in the dictionary.

                All dictionary iterators that refer to the taken item will be set to point to the next item in the dictionary's traversing order. -

                See also remove(), clear(), and setAutoDelete(). +

                See also remove(), clear(), and setAutoDelete().

                Example: table/bigtable/main.cpp. -

                TQDataStream & TQIntDict::write ( TQDataStream & s, TQPtrCollection::Item ) const [virtual protected] +

                TQDataStream & TQIntDict::write ( TQDataStream & s, TQPtrCollection::Item ) const [virtual protected]

                Writes a dictionary item to the stream s and returns a diff --git a/doc/html/ntqmainwindow.html b/doc/html/ntqmainwindow.html index ce9fbc40..c70ddd85 100644 --- a/doc/html/ntqmainwindow.html +++ b/doc/html/ntqmainwindow.html @@ -525,7 +525,7 @@ within its dock area or moved to another dock area (including the Minimized and TearOff dock areas).

                See also getLocation(). -

                TQPtrList<TQDockWindow> TQMainWindow::dockWindows ( Dock dock ) const +

                TQPtrList<TQDockWindow> TQMainWindow::dockWindows ( Dock dock ) const

                Returns a list of all the dock windows which are in the dock dock area, regardless of their state. @@ -533,7 +533,7 @@ dock area, regardless of their state. windows but these are returned along with the visible dock windows. -

                TQPtrList<TQDockWindow> TQMainWindow::dockWindows () const +

                TQPtrList<TQDockWindow> TQMainWindow::dockWindows () const

                This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

                Returns the list of dock windows which belong to this main window, @@ -807,7 +807,7 @@ tip group too. This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

                -

                TQPtrList<TQToolBar> TQMainWindow::toolBars ( Dock dock ) const +

                TQPtrList<TQToolBar> TQMainWindow::toolBars ( Dock dock ) const

                Returns a list of all the toolbars which are in the dock dock area, regardless of their state. diff --git a/doc/html/ntqmemarray.html b/doc/html/ntqmemarray.html index cba6fdcc..de5956cc 100644 --- a/doc/html/ntqmemarray.html +++ b/doc/html/ntqmemarray.html @@ -101,7 +101,7 @@ only deal with simple types (i.e. C++ types, structs, and classes that have no constructors, destructors, or virtual functions). TQMemArray uses bitwise operations to copy and compare array elements. -

                The TQPtrVector collection class is also a kind of array. Like most +

                The TQPtrVector collection class is also a kind of array. Like most collection classes, it uses pointers to the contained items.

                TQMemArray uses explicit sharing with a diff --git a/doc/html/ntqstrlist.html b/doc/html/ntqstrlist.html index 1c2db91a..a5a72f04 100644 --- a/doc/html/ntqstrlist.html +++ b/doc/html/ntqstrlist.html @@ -1,5 +1,5 @@ - + @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

                The TQStrList class provides a doubly-linked list of char*. More...

                #include <ntqstrlist.h> -

                Inherits TQPtrList<char>. +

                Inherits TQPtrList<char>.

                Inherited by TQStrIList.

                List of all member functions.

                Public Members

                @@ -52,7 +52,7 @@ The TQStrList class provides a doubly-linked list of char*.

                If you want a string list of TQStrings use TQStringList. -

                This class is a TQPtrList<char> instance (a list of char*). +

                This class is a TQPtrList<char> instance (a list of char*).

                TQStrList can make deep or shallow copies of the strings that are inserted.

                A deep copy means that memory is allocated for the string and then @@ -67,12 +67,12 @@ 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.

                A TQStrList that operates on deep copies will, by default, turn on -auto-deletion (see setAutoDelete()). Thus, by default TQStrList +auto-deletion (see setAutoDelete()). Thus, by default TQStrList will deallocate any string copies it allocates. -

                The virtual compareItems() function is reimplemented and does a -case-sensitive string comparison. The inSort() function will +

                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 +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.

                The TQStrListIterator class is an iterator for TQStrList. diff --git a/doc/html/ntqtabbar.html b/doc/html/ntqtabbar.html index a9cb783b..6c2b28f1 100644 --- a/doc/html/ntqtabbar.html +++ b/doc/html/ntqtabbar.html @@ -285,7 +285,7 @@ Returns the tab with id id or 0 if there is no such tab. Returns the tab at position index.

                See also indexOf(). -

                TQPtrList<TQTab> * TQTabBar::tabList () [protected] +

                TQPtrList<TQTab> * TQTabBar::tabList () [protected]

                The list of TQTab objects in the tab bar.

                This list is unlikely to be in the order that the TQTab elements diff --git a/doc/html/ntqurloperator.html b/doc/html/ntqurloperator.html index 918e42c2..b42a245c 100644 --- a/doc/html/ntqurloperator.html +++ b/doc/html/ntqurloperator.html @@ -180,7 +180,7 @@ state changes. state describes the new state, which is a

                data is a string that describes the change of the connection. This can be used to display a message to the user. -

                TQPtrList<TQNetworkOperation> TQUrlOperator::copy ( const TQString & from, const TQString & to, bool move = FALSE, bool toPath = TRUE ) [virtual] +

                TQPtrList<TQNetworkOperation> TQUrlOperator::copy ( const TQString & from, const TQString & to, bool move = FALSE, bool toPath = TRUE ) [virtual]

                Copies the file from to to. If move is TRUE, the file is moved (copied and removed). from must point to a file and to @@ -479,7 +479,7 @@ operation object which contains all the information about the operation, including the state.

                See also TQNetworkOperation and TQNetworkProtocol. -

                void TQUrlOperator::startedNextCopy ( const TQPtrList<TQNetworkOperation> & lst ) [signal] +

                void TQUrlOperator::startedNextCopy ( const TQPtrList<TQNetworkOperation> & lst ) [signal]

                This signal is emitted if copy() starts a new copy operation. lst contains all TQNetworkOperations related to this copy diff --git a/doc/html/ntqworkspace.html b/doc/html/ntqworkspace.html index 8a5e7a45..86f10f3e 100644 --- a/doc/html/ntqworkspace.html +++ b/doc/html/ntqworkspace.html @@ -190,8 +190,8 @@ Returns a list of all windows. If order is CreationOrder had been inserted into the workspace. If order is StackingOrder the windows are listed in their stacking order, with the topmost window being the last window in the list. -

                TQWidgetList is the same as TQPtrList. -

                See also TQPtrList. +

                TQWidgetList is the same as TQPtrList. +

                See also TQPtrList.

                Example: mdi/application.cpp.

                TQWidgetList TQWorkspace::windowList () const diff --git a/doc/html/porting.html b/doc/html/porting.html index e0850be8..db22665e 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -305,7 +305,7 @@ new code.
              • TQCanvasItem::enabled() const
              • TQCanvasItem::selected() const
              • TQCanvasItem::visible() const -
              • TQCanvasPixmapArray::TQCanvasPixmapArray( TQPtrList<TQPixmap> list, TQPtrList<TQPoint> hotspots ) +
              • TQCanvasPixmapArray::TQCanvasPixmapArray( TQPtrList<TQPixmap> list, TQPtrList<TQPoint> hotspots )
              • TQCanvasPixmapArray::operator!()
              • TQColorGroup::TQColorGroup( const TQColor & foreground, const TQColor & background, const TQColor & light, const TQColor & dark, const TQColor & mid, const TQColor & text, const TQColor & base )
              • TQComboBox::autoResize() const @@ -417,12 +417,12 @@ names are no longer avaialable.

                Old Name New Name New Header File
                TQArray TQMemArray <ntqmemarray.h> -
                TQCollection TQPtrCollection <ntqptrcollection.h> -
                TQList TQPtrList <ntqptrlist.h> -
                TQListIterator TQPtrListIterator <ntqptrlist.h> -
                TQQueue TQPtrQueue <ntqptrqueue.h> -
                TQStack TQPtrStack <ntqptrstack.h> -
                TQVector TQPtrVector <ntqptrvector.h> +
                TQCollection TQPtrCollection <tqptrcollection.h> +
                TQList TQPtrList <tqptrlist.h> +
                TQListIterator TQPtrListIterator <tqptrlist.h> +
                TQQueue TQPtrQueue <tqptrqueue.h> +
                TQStack TQPtrStack <tqptrstack.h> +
                TQVector TQPtrVector <tqptrvector.h>

                TQButtonGroup

                @@ -650,7 +650,7 @@ modal dialog instead.

                TQSortedList

                The TQSortedList class is now obsolete. Consider using a TQDict, a TQMap -or a plain TQPtrList instead. +or a plain TQPtrList instead.

                TQTableView

                The TQTableView class has been obsoleted and is no longer a part of the diff --git a/doc/html/qasciicache-members.html b/doc/html/qasciicache-members.html index dc6e4356..7bc0d2e4 100644 --- a/doc/html/qasciicache-members.html +++ b/doc/html/qasciicache-members.html @@ -36,18 +36,18 @@ body { background: #ffffff; color: black; }

                • ~TQAsciiCache() -
                • autoDelete() +
                • autoDelete()
                • clear()
                • count() -
                • deleteItem() +
                • deleteItem()
                • find()
                • insert()
                • isEmpty()
                • maxCost() -
                • newItem() +
                • newItem()
                • operator[]()
                • remove() -
                • setAutoDelete() +
                • setAutoDelete()
                • setMaxCost()
                • size()
                • statistics() diff --git a/doc/html/qasciidict-members.html b/doc/html/qasciidict-members.html index e9da9679..d5cac096 100644 --- a/doc/html/qasciidict-members.html +++ b/doc/html/qasciidict-members.html @@ -37,21 +37,21 @@ body { background: #ffffff; color: black; }
                  • TQAsciiDict()
                  • ~TQAsciiDict() -
                  • autoDelete() +
                  • autoDelete()
                  • clear()
                  • count() -
                  • deleteItem() +
                  • deleteItem()
                  • find()
                  • insert()
                  • isEmpty() -
                  • newItem() +
                  • newItem()
                  • operator=()
                  • operator[]()
                  • read()
                  • remove()
                  • replace()
                  • resize() -
                  • setAutoDelete() +
                  • setAutoDelete()
                  • size()
                  • statistics()
                  • take() diff --git a/doc/html/qcache-members.html b/doc/html/qcache-members.html index 05dd1bc8..e6de67e7 100644 --- a/doc/html/qcache-members.html +++ b/doc/html/qcache-members.html @@ -36,18 +36,18 @@ body { background: #ffffff; color: black; }
                    • ~TQCache() -
                    • autoDelete() +
                    • autoDelete()
                    • clear()
                    • count() -
                    • deleteItem() +
                    • deleteItem()
                    • find()
                    • insert()
                    • isEmpty()
                    • maxCost() -
                    • newItem() +
                    • newItem()
                    • operator[]()
                    • remove() -
                    • setAutoDelete() +
                    • setAutoDelete()
                    • setMaxCost()
                    • size()
                    • statistics() diff --git a/doc/html/qdict-members.html b/doc/html/qdict-members.html index 103ab44b..124d9ab9 100644 --- a/doc/html/qdict-members.html +++ b/doc/html/qdict-members.html @@ -37,21 +37,21 @@ body { background: #ffffff; color: black; }
                      • TQDict()
                      • ~TQDict() -
                      • autoDelete() +
                      • autoDelete()
                      • clear()
                      • count() -
                      • deleteItem() +
                      • deleteItem()
                      • find()
                      • insert()
                      • isEmpty() -
                      • newItem() +
                      • newItem()
                      • operator=()
                      • operator[]()
                      • read()
                      • remove()
                      • replace()
                      • resize() -
                      • setAutoDelete() +
                      • setAutoDelete()
                      • size()
                      • statistics()
                      • take() diff --git a/doc/html/qdockarea-h.html b/doc/html/qdockarea-h.html index 50d7c113..65517055 100644 --- a/doc/html/qdockarea-h.html +++ b/doc/html/qdockarea-h.html @@ -79,7 +79,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "tqwidget.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqdockwindow.h" #include "ntqlayout.h" #include "tqvaluelist.h" diff --git a/doc/html/qfontmanager_qws-h.html b/doc/html/qfontmanager_qws-h.html index 1ea95d14..40f47881 100644 --- a/doc/html/qfontmanager_qws-h.html +++ b/doc/html/qfontmanager_qws-h.html @@ -77,7 +77,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "ntqfont.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include <private/qtextengine_p.h> #endif // QT_H diff --git a/doc/html/qintcache-members.html b/doc/html/qintcache-members.html index c6762f89..570dbd6d 100644 --- a/doc/html/qintcache-members.html +++ b/doc/html/qintcache-members.html @@ -36,18 +36,18 @@ body { background: #ffffff; color: black; }
                        • ~TQIntCache() -
                        • autoDelete() +
                        • autoDelete()
                        • clear()
                        • count() -
                        • deleteItem() +
                        • deleteItem()
                        • find()
                        • insert()
                        • isEmpty()
                        • maxCost() -
                        • newItem() +
                        • newItem()
                        • operator[]()
                        • remove() -
                        • setAutoDelete() +
                        • setAutoDelete()
                        • setMaxCost()
                        • size()
                        • statistics() diff --git a/doc/html/qintdict-members.html b/doc/html/qintdict-members.html index 7839c1dd..d84ef48a 100644 --- a/doc/html/qintdict-members.html +++ b/doc/html/qintdict-members.html @@ -37,21 +37,21 @@ body { background: #ffffff; color: black; }
                          • TQIntDict()
                          • ~TQIntDict() -
                          • autoDelete() +
                          • autoDelete()
                          • clear()
                          • count() -
                          • deleteItem() +
                          • deleteItem()
                          • find()
                          • insert()
                          • isEmpty() -
                          • newItem() +
                          • newItem()
                          • operator=()
                          • operator[]()
                          • read()
                          • remove()
                          • replace()
                          • resize() -
                          • setAutoDelete() +
                          • setAutoDelete()
                          • size()
                          • statistics()
                          • take() diff --git a/doc/html/qlistviewitemiterator.html b/doc/html/qlistviewitemiterator.html index 907797f9..cc82a475 100644 --- a/doc/html/qlistviewitemiterator.html +++ b/doc/html/qlistviewitemiterator.html @@ -72,21 +72,21 @@ sibling, the next sibling of the parent becomes current. been selected by the user, storing pointers to the items in a TQPtrList:
                            -    TQPtrList<TQListViewItem> lst;
                            +    TQPtrList<TQListViewItem> lst;
                                 TQListViewItemIterator it( myListView );
                                 while ( it.current() ) {
                                     if ( it.current()->isSelected() )
                            -            lst.append( it.current() );
                            +            lst.append( it.current() );
                                     ++it;
                                 }
                                 

                            An alternative approach is to use an IteratorFlag:

                            -    TQPtrList<TQListViewItem> lst;
                            +    TQPtrList<TQListViewItem> lst;
                                 TQListViewItemIterator it( myListView, TQListViewItemIterator::Selected );
                                 while ( it.current() ) {
                            -        lst.append( it.current() );
                            +        lst.append( it.current() );
                                     ++it;
                                 }
                                 
                            diff --git a/doc/html/qmacmime.html b/doc/html/qmacmime.html index 03ccf64e..04208b70 100644 --- a/doc/html/qmacmime.html +++ b/doc/html/qmacmime.html @@ -96,7 +96,7 @@ globally accessed list of available convertors. Destroys a conversion object, removing it from the global list of available convertors. -

                            TQPtrList<TQMacMime> TQMacMime::all ( TQMacMimeType t ) [static] +

                            TQPtrList<TQMacMime> TQMacMime::all ( TQMacMimeType t ) [static]

                            Returns a list of all currently defined TQMacMime objects of type t. diff --git a/doc/html/qmainwindow-h.html b/doc/html/qmainwindow-h.html index 7fbbea8a..f87aab5b 100644 --- a/doc/html/qmainwindow-h.html +++ b/doc/html/qmainwindow-h.html @@ -80,7 +80,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "tqwidget.h" #include "ntqtoolbar.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqtextstream.h" #endif // QT_H diff --git a/doc/html/qmenudata-h.html b/doc/html/qmenudata-h.html index fb6dfa4d..d06d5dcc 100644 --- a/doc/html/qmenudata-h.html +++ b/doc/html/qmenudata-h.html @@ -154,7 +154,7 @@ private: // Disabled copy constructor and operator= #endif }; -#include "ntqptrlist.h" +#include "tqptrlist.h" typedef TQPtrList<TQMenuItem> TQMenuItemList; typedef TQPtrListIterator<TQMenuItem> TQMenuItemListIt; diff --git a/doc/html/qmime-h.html b/doc/html/qmime-h.html index 015b91e5..c9a402b3 100644 --- a/doc/html/qmime-h.html +++ b/doc/html/qmime-h.html @@ -161,7 +161,7 @@ private: #if defined(TQ_WS_WIN) #ifndef QT_H -#include "ntqptrlist.h" // down here for GCC 2.7.* compatibility +#include "tqptrlist.h" // down here for GCC 2.7.* compatibility #endif // QT_H /* @@ -197,7 +197,7 @@ public: #if defined(TQ_WS_MAC) #ifndef QT_H -#include "ntqptrlist.h" // down here for GCC 2.7.* compatibility +#include "tqptrlist.h" // down here for GCC 2.7.* compatibility #endif // QT_H /* diff --git a/doc/html/qptrlist-members.html b/doc/html/qptrlist-members.html deleted file mode 100644 index 0c964296..00000000 --- a/doc/html/qptrlist-members.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - -TQPtrList Member List - - - - - - - -
                            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

                            Complete Member List for TQPtrList

                            - -

                            This is the complete list of member functions for -TQPtrList, including inherited members. - -

                            - -


                            - -
                            Copyright © 2007 -TrolltechTrademarks -
                            TQt 3.3.8
                            -
                            - diff --git a/doc/html/qptrvector-members.html b/doc/html/qptrvector-members.html deleted file mode 100644 index a5a5a3b8..00000000 --- a/doc/html/qptrvector-members.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - -TQPtrVector Member List - - - - - - - -
                            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

                            Complete Member List for TQPtrVector

                            - -

                            This is the complete list of member functions for -TQPtrVector, including inherited members. - -

                            - -


                            - -
                            Copyright © 2007 -TrolltechTrademarks -
                            TQt 3.3.8
                            -
                            - diff --git a/doc/html/qstrilist-members.html b/doc/html/qstrilist-members.html index 2a58e291..3f4fd3dc 100644 --- a/doc/html/qstrilist-members.html +++ b/doc/html/qstrilist-members.html @@ -37,48 +37,48 @@ body { background: #ffffff; color: black; }


                            diff --git a/doc/html/qstrilist.html b/doc/html/qstrilist.html index 417f7c6b..26b2b887 100644 --- a/doc/html/qstrilist.html +++ b/doc/html/qstrilist.html @@ -1,5 +1,5 @@ - + @@ -49,12 +49,12 @@ The TQStrIList class provides a doubly-linked list of char* with case-insensitive comparison.

                            -

                            This class is a TQPtrList<char> instance (a list of char*). +

                            This class is a TQPtrList<char> instance (a list of char*).

                            TQStrIList is identical to TQStrList except that the virtual -compareItems() function is reimplemented to compare strings -case-insensitively. The inSort() function inserts strings in a +compareItems() function is reimplemented to compare strings +case-insensitively. The inSort() function inserts strings in a 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 +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.

                            The TQStrListIterator class works for TQStrIList.

                            See also TQStringList, Collection Classes, and Non-GUI Classes. diff --git a/doc/html/qstrlist-h.html b/doc/html/qstrlist-h.html index 4624cfca..798614f4 100644 --- a/doc/html/qstrlist-h.html +++ b/doc/html/qstrlist-h.html @@ -79,7 +79,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "ntqstring.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqdatastream.h" #endif // QT_H diff --git a/doc/html/qstrlist-members.html b/doc/html/qstrlist-members.html index 48fcff3a..2fe06f41 100644 --- a/doc/html/qstrlist-members.html +++ b/doc/html/qstrlist-members.html @@ -37,48 +37,48 @@ body { background: #ffffff; color: black; }


                            diff --git a/doc/html/qstrlistiterator-members.html b/doc/html/qstrlistiterator-members.html index c4f095fc..2a9c4af4 100644 --- a/doc/html/qstrlistiterator-members.html +++ b/doc/html/qstrlistiterator-members.html @@ -35,21 +35,21 @@ body { background: #ffffff; color: black; } TQStrListIterator, including inherited members.


                            diff --git a/doc/html/qstrlistiterator.html b/doc/html/qstrlistiterator.html index 77fb6185..920d3d98 100644 --- a/doc/html/qstrlistiterator.html +++ b/doc/html/qstrlistiterator.html @@ -1,5 +1,5 @@ - + @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } and TQStrIList classes. More...

                            #include <ntqstrlist.h> -

                            Inherits TQPtrListIterator<char>. +

                            Inherits TQPtrListIterator<char>.

                            List of all member functions.


                            Detailed Description

                            @@ -43,7 +43,7 @@ and TQStrIList classes. The TQStrListIterator class is an iterator for the TQStrList and TQStrIList classes.

                            -

                            This class is a TQPtrListIterator<char> instance. It can traverse +

                            This class is a TQPtrListIterator<char> instance. It can traverse the strings in the TQStrList and TQStrIList classes.

                            See also Non-GUI Classes. diff --git a/doc/html/qstylesheet-h.html b/doc/html/qstylesheet-h.html index 09f04248..32f9d863 100644 --- a/doc/html/qstylesheet-h.html +++ b/doc/html/qstylesheet-h.html @@ -80,7 +80,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "ntqstring.h" #include "tqvaluelist.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "ntqdict.h" #include "tqobject.h" #endif // QT_H diff --git a/doc/html/qt-template-lib.html b/doc/html/qt-template-lib.html index 29677844..a96e9b7f 100644 --- a/doc/html/qt-template-lib.html +++ b/doc/html/qt-template-lib.html @@ -51,11 +51,11 @@ of the STL container API. Compared with the STL, TQTL has no platform differences, but is often a little slower and often expands to less object code.

                            If you cannot make copies of the objects you want to store you should -use TQPtrCollection and friends, all of which operate on pointers +use TQPtrCollection and friends, all of which operate on pointers rather than values. This applies, for example, to all classes derived from TQObject. A TQObject does not have a copy constructor, so using it as value is impossible. You may choose to store pointers to -TQObjects in a TQValueList, but using TQPtrList directly seems to be the +TQObjects in a TQValueList, but using TQPtrList directly seems to be the better choice for this kind of application domain. TQPtrList, like all other TQPtrCollection based containers, provides far more sanity checking than a speed-optimized value based container. @@ -76,7 +76,7 @@ your data's class. TQString and all simple C++ types, such as int, bool or double.

                            The TQt Template Library is designed for speed. Iterators are extremely fast. To achieve this performance, less error checking is done than in -the TQPtrCollection based containers. A TQTL container, for example, +the TQPtrCollection based containers. A TQTL container, for example, does not track any associated iterators. This makes certain validity checks, for example when removing items, impossible to perform automatically, but does lead to extremely good performance. diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf index e6530294..85fcc0af 100644 --- a/doc/html/qt.dcf +++ b/doc/html/qt.dcf @@ -5805,189 +5805,189 @@

                            -
                            - QPtrCollection - Item - autoDelete - clear - count - deleteItem - newItem - setAutoDelete - ~QPtrCollection -
                            -
                            -
                            -
                            - QPtrDict - clear - count - find - insert - isEmpty - operator= - operator[] - read - remove - replace - resize - size - statistics - take - write - ~QPtrDict -
                            -
                            -
                            -
                            - QPtrDictIterator - count - current - currentKey - isEmpty - operator type * - operator() - operator++ - operator+= - toFirst - ~QPtrDictIterator -
                            -
                            -
                            -
                            - QPtrList - append - at - clear - compareItems - contains - containsRef - count - current - currentNode - find - findNext - findNextRef - findRef - first - getFirst - getLast - inSort - insert - isEmpty - last - next - operator!= - operator= - operator== - prepend - prev - read - remove - removeFirst - removeLast - removeNode - removeRef - replace - sort - take - takeNode - toVector - write - ~QPtrList -
                            -
                            -
                            -
                            - QPtrListIterator - atFirst - atLast - count - current - isEmpty - operator type * - operator() - operator* - operator++ - operator+= - operator-- - operator-= - operator= - toFirst - toLast - ~QPtrListIterator -
                            -
                            -
                            -
                            - QPtrQueue - autoDelete - clear - count - current - dequeue - enqueue - head - isEmpty - operator type * - operator= - read - remove - setAutoDelete - write - ~QPtrQueue -
                            -
                            -
                            -
                            - QPtrStack - autoDelete - clear - count - current - isEmpty - operator type * - operator= - pop - push - read - remove - setAutoDelete - top - write - ~QPtrStack -
                            -
                            -
                            -
                            - QPtrVector - at - bsearch - clear - compareItems - contains - containsRef - count - data - fill - find - findRef - insert - isEmpty - isNull - operator= - operator== - operator[] - read - remove - resize - size - sort - take - write - ~QPtrVector -
                            -
                            +
                            + TQPtrCollection + Item + autoDelete + clear + count + deleteItem + newItem + setAutoDelete + ~TQPtrCollection +
                            +
                            +
                            +
                            + TQPtrDict + clear + count + find + insert + isEmpty + operator= + operator[] + read + remove + replace + resize + size + statistics + take + write + ~TQPtrDict +
                            +
                            +
                            +
                            + TQPtrDictIterator + count + current + currentKey + isEmpty + operator type * + operator() + operator++ + operator+= + toFirst + ~TQPtrDictIterator +
                            +
                            +
                            +
                            + TQPtrList + append + at + clear + compareItems + contains + containsRef + count + current + currentNode + find + findNext + findNextRef + findRef + first + getFirst + getLast + inSort + insert + isEmpty + last + next + operator!= + operator= + operator== + prepend + prev + read + remove + removeFirst + removeLast + removeNode + removeRef + replace + sort + take + takeNode + toVector + write + ~TQPtrList +
                            +
                            +
                            +
                            + TQPtrListIterator + atFirst + atLast + count + current + isEmpty + operator type * + operator() + operator* + operator++ + operator+= + operator-- + operator-= + operator= + toFirst + toLast + ~TQPtrListIterator +
                            +
                            +
                            +
                            + TQPtrQueue + autoDelete + clear + count + current + dequeue + enqueue + head + isEmpty + operator type * + operator= + read + remove + setAutoDelete + write + ~TQPtrQueue +
                            +
                            +
                            +
                            + TQPtrStack + autoDelete + clear + count + current + isEmpty + operator type * + operator= + pop + push + read + remove + setAutoDelete + top + write + ~TQPtrStack +
                            +
                            +
                            +
                            + TQPtrVector + at + bsearch + clear + compareItems + contains + containsRef + count + data + fill + find + findRef + insert + isEmpty + isNull + operator= + operator== + operator[] + read + remove + resize + size + sort + take + write + ~TQPtrVector +
                            +
                            QPushButton diff --git a/doc/html/qtabbar-h.html b/doc/html/qtabbar-h.html index 1efa0cf3..9684d554 100644 --- a/doc/html/qtabbar-h.html +++ b/doc/html/qtabbar-h.html @@ -77,7 +77,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "tqwidget.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #endif // QT_H #ifndef TQT_NO_TABBAR diff --git a/doc/html/qtable-h.html b/doc/html/qtable-h.html index 362ba7f6..5b454902 100644 --- a/doc/html/qtable-h.html +++ b/doc/html/qtable-h.html @@ -79,10 +79,10 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "ntqscrollview.h" #include "ntqpixmap.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "ntqheader.h" #include "ntqmemarray.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqguardedptr.h" #include "ntqshared.h" #include "ntqintdict.h" diff --git a/doc/html/qtextbrowser-h.html b/doc/html/qtextbrowser-h.html index 65596b23..0932d283 100644 --- a/doc/html/qtextbrowser-h.html +++ b/doc/html/qtextbrowser-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQTEXTBROWSER_H #ifndef QT_H -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqpixmap.h" #include "ntqcolor.h" #include "ntqtextedit.h" diff --git a/doc/html/qtextedit-h.html b/doc/html/qtextedit-h.html index 8cda9e17..c0374780 100644 --- a/doc/html/qtextedit-h.html +++ b/doc/html/qtextedit-h.html @@ -80,9 +80,9 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "ntqscrollview.h" #include "ntqstylesheet.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "tqvaluelist.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #endif // QT_H #ifndef TQT_NO_TEXTEDIT diff --git a/doc/html/qurloperator-h.html b/doc/html/qurloperator-h.html index 8d873451..18887aad 100644 --- a/doc/html/qurloperator-h.html +++ b/doc/html/qurloperator-h.html @@ -80,7 +80,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "tqobject.h" #include "ntqurl.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqnetworkprotocol.h" #include "ntqstringlist.h" // TQString->TQStringList conversion #endif // QT_H diff --git a/doc/html/qwerty-example.html b/doc/html/qwerty-example.html index a69de600..09d52e78 100644 --- a/doc/html/qwerty-example.html +++ b/doc/html/qwerty-example.html @@ -117,7 +117,7 @@ private: #include <ntqpainter.h> #include <ntqmessagebox.h> #include <ntqpaintdevicemetrics.h> -#include <ntqptrlist.h> +#include <tqptrlist.h> #include <ntqfontdialog.h> #include <ntqtextcodec.h> @@ -205,12 +205,12 @@ Editor::~Editor() void Editor::rebuildCodecList() { delete codecList; - codecList = new TQPtrList<TQTextCodec>; + codecList = new TQPtrList<TQTextCodec>; TQTextCodec *codec; int i; for (i = 0; (codec = TQTextCodec::codecForIndex(i)); i++) - codecList->append( codec ); - int n = codecList->count(); + codecList->append( codec ); + int n = codecList->count(); for (int pm=0; pm<2; pm++) { TQPopupMenu* menu = pm ? open_as : save_as; menu->clear(); @@ -224,7 +224,7 @@ void Editor::rebuildCodecList() if ( pm ) menu->insertItem( "[guess]", Guess ); for ( i = 0; i < n; i++ ) - menu->insertItem( codecList->at(i)->name(), Codec + i ); + menu->insertItem( codecList->at(i)->name(), Codec + i ); } } @@ -260,7 +260,7 @@ void Editor::load( const TQString& fileName, in TQTextStream t(&f); if ( code >= Codec ) - t.setCodec( codecList->at(code-Codec) ); + t.setCodec( codecList->at(code-Codec) ); else if ( code == Uni ) t.setEncoding( TQTextStream::Unicode ); else if ( code == MBug ) @@ -360,7 +360,7 @@ bool Editor::saveAs( const TQString< } TQTextStream t(&f); if ( code >= Codec ) - t.setCodec( codecList->at(code-Codec) ); + t.setCodec( codecList->at(code-Codec) ); else if ( code == Uni ) t.setEncoding( TQTextStream::Unicode ); else if ( code == MBug ) diff --git a/doc/html/qwindowsmime.html b/doc/html/qwindowsmime.html index 537ef618..b4781018 100644 --- a/doc/html/qwindowsmime.html +++ b/doc/html/qwindowsmime.html @@ -103,7 +103,7 @@ list of available convertors. Destroys a conversion object, removing it from the global list of available convertors. -

                            TQPtrList<TQWindowsMime> TQWindowsMime::all () [static] +

                            TQPtrList<TQWindowsMime> TQWindowsMime::all () [static]

                            Returns a list of all currently defined TQWindowsMime objects. diff --git a/doc/html/qwindowsystem_qws-h.html b/doc/html/qwindowsystem_qws-h.html index 998606cd..02a40b3a 100644 --- a/doc/html/qwindowsystem_qws-h.html +++ b/doc/html/qwindowsystem_qws-h.html @@ -79,7 +79,7 @@ body { background: #ffffff; color: black; } #include "qwssocket_qws.h" #include "tqmap.h" #include "ntqdatetime.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqimage.h" #include "qwsproperty_qws.h" diff --git a/doc/html/qwsserver.html b/doc/html/qwsserver.html index 48863b51..9467193d 100644 --- a/doc/html/qwsserver.html +++ b/doc/html/qwsserver.html @@ -159,7 +159,7 @@ parent is parent and it is called name.
              • Destruct TQWSServer -

                const TQPtrList<TQWSWindow> & TQWSServer::clientWindows () +

                const TQPtrList<TQWSWindow> & TQWSServer::clientWindows ()

                Returns the list of top-level windows. This list will change as diff --git a/doc/html/scribble-example.html b/doc/html/scribble-example.html index 5c60e259..753a8754 100644 --- a/doc/html/scribble-example.html +++ b/doc/html/scribble-example.html @@ -280,7 +280,7 @@ void Scribble::slotSave() { TQPopupMenu *menu = new TQPopupMenu( 0 ); TQIntDict<TQString> formats; - formats.setAutoDelete( TRUE ); + formats.setAutoDelete( TRUE ); for ( unsigned int i = 0; i < TQImageIO::outputFormats().count(); i++ ) { TQString str = TQString( TQImageIO::outputFormats().at( i ) ); diff --git a/doc/html/showimg-example.html b/doc/html/showimg-example.html index 218dcf0a..561715f3 100644 --- a/doc/html/showimg-example.html +++ b/doc/html/showimg-example.html @@ -181,7 +181,7 @@ private slots: TQStrList fmt = TQImage::outputFormats(); saveimage = new TQPopupMenu( menubar ); savepixmap = new TQPopupMenu( menubar ); - for (const char* f = fmt.first(); f; f = fmt.next()) { + for (const char* f = fmt.first(); f; f = fmt.next()) { saveimage->insertItem( f ); savepixmap->insertItem( f ); } diff --git a/doc/html/table-bigtable-main-cpp.html b/doc/html/table-bigtable-main-cpp.html index 1c541910..5333f34f 100644 --- a/doc/html/table-bigtable-main-cpp.html +++ b/doc/html/table-bigtable-main-cpp.html @@ -54,8 +54,8 @@ class MyTable : public TQTable { public: MyTable( int r, int c ) : TQTable( r, c ) { - items.setAutoDelete( TRUE ); - widgets.setAutoDelete( TRUE ); + items.setAutoDelete( TRUE ); + widgets.setAutoDelete( TRUE ); setCaption( tr( "A 1 Million x 1 Million Cell Table" ) ); setLeftMargin( fontMetrics().width( "W999999W" ) ); } @@ -66,9 +66,9 @@ public: void clearCell( int r, int c ) { items.remove( indexOf( r, c ) ); } void takeItem( TQTableItem *item ) { - items.setAutoDelete( FALSE ); + items.setAutoDelete( FALSE ); items.remove( indexOf( item->row(), item->col() ) ); - items.setAutoDelete( TRUE ); + items.setAutoDelete( TRUE ); } void insertWidget( int r, int c, TQWidget *w ) { widgets.replace( indexOf( r, c ), w ); } TQWidget *cellWidget( int r, int c ) const { return widgets.find( indexOf( r, c ) ); } diff --git a/doc/html/tagreader-with-features-example.html b/doc/html/tagreader-with-features-example.html index 43725f28..fa71f253 100644 --- a/doc/html/tagreader-with-features-example.html +++ b/doc/html/tagreader-with-features-example.html @@ -53,7 +53,7 @@ $Id: qt/structureparser.h 3.3.8 edited May 27 2003 $ #define STRUCTUREPARSER_H #include <tqxml.h> -#include <ntqptrstack.h> +#include <tqptrstack.h> class TQListView; class TQListViewItem; @@ -70,7 +70,7 @@ public: void setListView( TQListView * ); private: - TQPtrStack<TQListViewItem> stack; + TQPtrStack<TQListViewItem> stack; TQListView * table; }; diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html index 2fd58a3c..ae481296 100644 --- a/doc/html/tictac-example.html +++ b/doc/html/tictac-example.html @@ -55,7 +55,7 @@ widget. #include <ntqpushbutton.h> -#include <ntqptrvector.h> +#include <tqptrvector.h> class TQComboBox; class TQLabel; diff --git a/doc/html/titleindex b/doc/html/titleindex index fcb74f45..a639bbc1 100644 --- a/doc/html/titleindex +++ b/doc/html/titleindex @@ -697,22 +697,22 @@ QProgressBar Class | ntqprogressbar.html QProgressBar Member List | qprogressbar-members.html QProgressDialog Class | ntqprogressdialog.html QProgressDialog Member List | qprogressdialog-members.html -QPtrCollection Class | ntqptrcollection.html -QPtrCollection Member List | qptrcollection-members.html -QPtrDict Class | ntqptrdict.html -QPtrDict Member List | qptrdict-members.html -QPtrDictIterator Class | qptrdictiterator.html -QPtrDictIterator Member List | qptrdictiterator-members.html -QPtrList Class | ntqptrlist.html -QPtrList Member List | qptrlist-members.html -QPtrListIterator Class | qptrlistiterator.html -QPtrListIterator Member List | qptrlistiterator-members.html -QPtrQueue Class | ntqptrqueue.html -QPtrQueue Member List | qptrqueue-members.html -QPtrStack Class | ntqptrstack.html -QPtrStack Member List | qptrstack-members.html -QPtrVector Class | ntqptrvector.html -QPtrVector Member List | qptrvector-members.html +TQPtrCollection Class | tqptrcollection.html +TQPtrCollection Member List | tqptrcollection-members.html +TQPtrDict Class | tqptrdict.html +TQPtrDict Member List | tqptrdict-members.html +TQPtrDictIterator Class | tqptrdictiterator.html +TQPtrDictIterator Member List | tqptrdictiterator-members.html +TQPtrList Class | tqptrlist.html +TQPtrList Member List | tqptrlist-members.html +TQPtrListIterator Class | tqptrlistiterator.html +TQPtrListIterator Member List | tqptrlistiterator-members.html +TQPtrQueue Class | tqptrqueue.html +TQPtrQueue Member List | tqptrqueue-members.html +TQPtrStack Class | tqptrstack.html +TQPtrStack Member List | tqptrstack-members.html +TQPtrVector Class | tqptrvector.html +TQPtrVector Member List | tqptrvector-members.html QPushButton Class | ntqpushbutton.html QPushButton Member List | qpushbutton-members.html QRadioButton Class | ntqradiobutton.html @@ -1321,12 +1321,12 @@ ntqprinter.h Include File | qprinter-h.html ntqprocess.h Include File | qprocess-h.html ntqprogressbar.h Include File | qprogressbar-h.html ntqprogressdialog.h Include File | qprogressdialog-h.html -ntqptrcollection.h Include File | qptrcollection-h.html -ntqptrdict.h Include File | qptrdict-h.html -ntqptrlist.h Include File | qptrlist-h.html -ntqptrqueue.h Include File | qptrqueue-h.html -ntqptrstack.h Include File | qptrstack-h.html -ntqptrvector.h Include File | qptrvector-h.html +tqptrcollection.h Include File | tqptrcollection-h.html +tqptrdict.h Include File | tqptrdict-h.html +tqptrlist.h Include File | tqptrlist-h.html +tqptrqueue.h Include File | tqptrqueue-h.html +tqptrstack.h Include File | tqptrstack-h.html +tqptrvector.h Include File | tqptrvector-h.html ntqpushbutton.h Include File | qpushbutton-h.html ntqradiobutton.h Include File | qradiobutton-h.html ntqrangecontrol.h Include File | qrangecontrol-h.html diff --git a/doc/html/tools.html b/doc/html/tools.html index 7a2969da..9d55de4f 100644 --- a/doc/html/tools.html +++ b/doc/html/tools.html @@ -63,14 +63,14 @@ classes. TQObjectListTQPtrList of TQObjects TQObjectListIteratorIterator for TQObjectLists TQPairValue-based template class that provides a pair of elements -TQPtrCollectionThe base class of most pointer-based TQt collections -TQPtrDictTemplate class that provides a dictionary based on void* keys -TQPtrDictIteratorIterator for TQPtrDict collections -TQPtrListTemplate class that provides a list -TQPtrListIteratorIterator for TQPtrList collections -TQPtrQueueTemplate class that provides a queue -TQPtrStackTemplate class that provides a stack -TQPtrVectorTemplate collection class that provides a vector (array) +TQPtrCollectionThe base class of most pointer-based TQt collections +TQPtrDictTemplate class that provides a dictionary based on void* keys +TQPtrDictIteratorIterator for TQPtrDict collections +TQPtrListTemplate class that provides a list +TQPtrListIteratorIterator for TQPtrList collections +TQPtrQueueTemplate class that provides a queue +TQPtrStackTemplate class that provides a stack +TQPtrVectorTemplate collection class that provides a vector (array) TQRegExpPattern matching using regular expressions TQStrIListDoubly-linked list of char* with case-insensitive comparison TQStringAbstraction of Unicode text and the classic C '\0'-terminated char array diff --git a/doc/html/tqcanvas-h.html b/doc/html/tqcanvas-h.html index 477dc2c0..281ea932 100644 --- a/doc/html/tqcanvas-h.html +++ b/doc/html/tqcanvas-h.html @@ -80,7 +80,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "ntqscrollview.h" #include "ntqpixmap.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqbrush.h" #include "ntqpen.h" #include "tqvaluelist.h" diff --git a/doc/html/tqcanvaspixmaparray.html b/doc/html/tqcanvaspixmaparray.html index d7c25967..4e011751 100644 --- a/doc/html/tqcanvaspixmaparray.html +++ b/doc/html/tqcanvaspixmaparray.html @@ -96,7 +96,7 @@ the first (and only) frame. an image, or some other error occurs, the array ends up empty and isValid() returns FALSE. -

                TQCanvasPixmapArray::TQCanvasPixmapArray ( TQPtrList<TQPixmap> list, TQPtrList<TQPoint> hotspots ) +

                TQCanvasPixmapArray::TQCanvasPixmapArray ( TQPtrList<TQPixmap> list, TQPtrList<TQPoint> hotspots )

                This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

                Use TQCanvasPixmapArray::TQCanvasPixmapArray( TQValueList, TQPointArray ) diff --git a/doc/html/tqmap.html b/doc/html/tqmap.html index 14a006d9..57080728 100644 --- a/doc/html/tqmap.html +++ b/doc/html/tqmap.html @@ -110,7 +110,7 @@ available on all your target platforms. TQMap is part of the TQPtrList and TQDict are pointer-based. +value-based, whereas TQPtrList and TQDict are pointer-based.

                TQMap contains and manages a collection of objects of type Data with associated key values of type Key and provides iterators that allow the contained objects to be addressed. TQMap owns the diff --git a/doc/html/tqobject.html b/doc/html/tqobject.html index 43c77e4d..58f4792c 100644 --- a/doc/html/tqobject.html +++ b/doc/html/tqobject.html @@ -158,7 +158,7 @@ certain functions to exhibit undefined behaviour. isWidgetType() returns whether an object is actually a widget. It is much faster than inherits( "TQWidget" ).

                Some TQObject functions, e.g. children(), objectTrees() and -queryList() return a TQObjectList. A TQObjectList is a TQPtrList of +queryList() return a TQObjectList. A TQObjectList is a TQPtrList of TQObjects. TQObjectLists support the same operations as TQPtrLists and have an iterator class, TQObjectListIt.

                See also Object Model. @@ -255,8 +255,8 @@ in functions that depend on the state. One notable example is children.

                The TQObjectList class is defined in the tqobjectlist.h header file. -

                The first child added is the first -object in the list and the last child added is the last object in the list, i.e. new +

                The first child added is the first +object in the list and the last child added is the last object in the list, i.e. new children are appended at the end.

                Note that the list order changes when TQWidget children are raised or lowered. A widget that is raised becomes the last object in the list, and a widget that is lowered becomes the first object @@ -710,8 +710,8 @@ Returns a pointer to the list of all object trees (their root objects), or 0 if there are no objects.

                The TQObjectList class is defined in the tqobjectlist.h header file. -

                The most recent root object created is the first object in the list and the first root object added -is the last object in the list. +

                The most recent root object created is the first object in the list and the first root object added +is the last object in the list.

                See also children(), parent(), insertChild(), and removeChild().

                TQObject * TQObject::parent () const diff --git a/doc/html/tqobjectlist-h.html b/doc/html/tqobjectlist-h.html index c1ca928b..606061eb 100644 --- a/doc/html/tqobjectlist-h.html +++ b/doc/html/tqobjectlist-h.html @@ -79,7 +79,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "tqobject.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #endif // QT_H diff --git a/doc/html/tqobjectlist-members.html b/doc/html/tqobjectlist-members.html index a75d12fb..606b9e3a 100644 --- a/doc/html/tqobjectlist-members.html +++ b/doc/html/tqobjectlist-members.html @@ -37,48 +37,48 @@ body { background: #ffffff; color: black; }


                diff --git a/doc/html/tqobjectlist.html b/doc/html/tqobjectlist.html index 0b4a9253..28d8c4d4 100644 --- a/doc/html/tqobjectlist.html +++ b/doc/html/tqobjectlist.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

                The TQObjectList class is a TQPtrList of TQObjects. More...

                #include <tqobjectlist.h> -

                Inherits TQPtrList<TQObject>. +

                Inherits TQPtrList<TQObject>.

                List of all member functions.

                Public Members

                  @@ -46,11 +46,11 @@ body { background: #ffffff; color: black; }

                  Detailed Description

                  -The TQObjectList class is a TQPtrList of TQObjects. +The TQObjectList class is a TQPtrList of TQObjects.

                  -

                  A TQObjectList is a TQPtrList<TQObject>. The list can be traversed using -inherited functions, e.g. getFirst(), next(), etc., or using a +

                  A TQObjectList is a TQPtrList<TQObject>. The list can be traversed using +inherited functions, e.g. getFirst(), next(), etc., or using a TQObjectListIterator iterator.

                  See TQObject::queryList() for an example of use.

                  See also TQObjectListIterator, TQObject, Collection Classes, and Non-GUI Classes. @@ -65,7 +65,7 @@ inherited functions, e.g. getFirst(),

                  Constructs a copy of list. -

                  Each item in list is appended to this +

                  Each item in list is appended to this list. Only the pointers are copied (shallow copy).

                  TQObjectList::~TQObjectList () @@ -74,14 +74,14 @@ list. Only the pointers are copied (shallow copy).

                  Removes all the object pointers from the list and destroys the list.

                  All list iterators that access this list will be reset. -

                  See also setAutoDelete(). +

                  See also setAutoDelete().

                  TQObjectList & TQObjectList::operator= ( const TQObjectList & list )

                  Assigns list to this list and returns a reference to this list. -

                  This list is first cleared and then each item in list is appended to this list. Only the pointers are -copied (shallow copy) unless newItem() has been reimplemented(). +

                  This list is first cleared and then each item in list is appended to this list. Only the pointers are +copied (shallow copy) unless newItem() has been reimplemented().


                  diff --git a/doc/html/tqobjectlistiterator-members.html b/doc/html/tqobjectlistiterator-members.html index f1d64f48..6a590d96 100644 --- a/doc/html/tqobjectlistiterator-members.html +++ b/doc/html/tqobjectlistiterator-members.html @@ -36,21 +36,21 @@ body { background: #ffffff; color: black; }


                  diff --git a/doc/html/tqobjectlistiterator.html b/doc/html/tqobjectlistiterator.html index aa89ee17..757d956b 100644 --- a/doc/html/tqobjectlistiterator.html +++ b/doc/html/tqobjectlistiterator.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } TQObjectLists. More...

                  #include <tqobjectlist.h> -

                  Inherits TQPtrListIterator<TQObject>. +

                  Inherits TQPtrListIterator<TQObject>.

                  List of all member functions.

                  Public Members

                    @@ -49,7 +49,7 @@ The TQObjectListIterator class provides an iterator for TQObjectLists.

                    -

                    A TQObjectListIterator iterator is a TQPtrListIterator<TQObject>. +

                    A TQObjectListIterator iterator is a TQPtrListIterator<TQObject>.

                    See TQObject::queryList() for an example of use.

                    See also TQObjectList, Collection Classes, and Non-GUI Classes. diff --git a/doc/html/tqpair.html b/doc/html/tqpair.html index 23a14401..06358d91 100644 --- a/doc/html/tqpair.html +++ b/doc/html/tqpair.html @@ -62,12 +62,12 @@ values that contains two values of type T1 and T2. Please note that TQPair does not store pointers to the two elements; it holds a copy of every member. This is why these kinds of classes are called value based. If you're interested in pointer based -classes see, for example, TQPtrList and TQDict. +classes see, for example, TQPtrList and TQDict.

                    TQPair holds one copy of type T1 and one copy of type T2, but does not provide iterators to access these elements. Instead, the two elements (first and second) are public member variables of the pair. TQPair owns the contained elements. For more relaxed -ownership semantics, see TQPtrCollection and friends which are +ownership semantics, see TQPtrCollection and friends which are pointer-based containers.

                    Some classes cannot be used within a TQPair: for example, all classes derived from TQObject and thus all classes that implement diff --git a/doc/html/qptrcollection-h.html b/doc/html/tqptrcollection-h.html similarity index 94% rename from doc/html/qptrcollection-h.html rename to doc/html/tqptrcollection-h.html index de63bc4f..6ccde386 100644 --- a/doc/html/qptrcollection-h.html +++ b/doc/html/tqptrcollection-h.html @@ -1,9 +1,9 @@ - + -ntqptrcollection.h Include File +tqptrcollection.h Include File + + + + + + +
                    + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

                    Complete Member List for TQPtrList

                    + +

                    This is the complete list of member functions for +TQPtrList, including inherited members. + +

                    + +


                    + +
                    Copyright © 2007 +TrolltechTrademarks +
                    TQt 3.3.8
                    +
                    + diff --git a/doc/html/ntqptrlist.html b/doc/html/tqptrlist.html similarity index 88% rename from doc/html/ntqptrlist.html rename to doc/html/tqptrlist.html index 4b00f377..15b7913c 100644 --- a/doc/html/ntqptrlist.html +++ b/doc/html/tqptrlist.html @@ -1,5 +1,5 @@ - + @@ -33,10 +33,10 @@ body { background: #ffffff; color: black; }

                    The TQPtrList class is a template class that provides a list. More... -

                    #include <ntqptrlist.h> -

                    Inherits TQPtrCollection. +

                    #include <tqptrlist.h> +

                    Inherits TQPtrCollection.

                    Inherited by TQObjectList and TQStrList. -

                    List of all member functions. +

                    List of all member functions.

                    Public Members

                Returns the setting of the auto-delete option. The default is FALSE. -

                See also setAutoDelete(). +

                See also setAutoDelete().

                void TQPtrList::clear () [virtual]

                Removes all items from the list. -

                The removed items are deleted if auto-deletion is enabled. +

                The removed items are deleted if auto-deletion is enabled.

                All list iterators that access this list will be reset. -

                See also remove(), take(), and setAutoDelete(). +

                See also remove(), take(), and setAutoDelete(). -

                Reimplemented from TQPtrCollection. -

                int TQPtrList::compareItems ( TQPtrCollection::Item item1, TQPtrCollection::Item item2 ) [virtual protected] +

                Reimplemented from TQPtrCollection. +

                int TQPtrList::compareItems ( TQPtrCollection::Item item1, TQPtrCollection::Item item2 ) [virtual protected]

                This virtual function compares two list items. @@ -321,7 +321,7 @@ contains() compares item with each list item using

                See also isEmpty().

                Examples: customlayout/border.cpp, customlayout/card.cpp, customlayout/flow.cpp, dirview/dirview.cpp, grapher/grapher.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. -

                Reimplemented from TQPtrCollection. +

                Reimplemented from TQPtrCollection.

                type * TQPtrList::current () const

                @@ -470,20 +470,20 @@ function call was the last item, the current item will be set to

                See also first(), last(), prev(), and current().

                Examples: grapher/grapher.cpp, listviews/listviews.h, and showimg/showimg.cpp. -

                bool TQPtrList::operator!= ( const TQPtrList<type> & list ) const +

                bool TQPtrList::operator!= ( const TQPtrList<type> & list ) const

                Compares this list with list. Returns TRUE if the lists contain different data; otherwise returns FALSE. -

                TQPtrList<type> & TQPtrList::operator= ( const TQPtrList<type> & list ) +

                TQPtrList<type> & TQPtrList::operator= ( const TQPtrList<type> & list )

                Assigns list to this list and returns a reference to this list.

                This list is first cleared and then each item in list is appended to this list. Only the pointers are -copied (shallow copy) unless newItem() has been reimplemented. +copied (shallow copy) unless newItem() has been reimplemented. -

                bool TQPtrList::operator== ( const TQPtrList<type> & list ) const +

                bool TQPtrList::operator== ( const TQPtrList<type> & list ) const

                Compares this list with list. Returns TRUE if the lists contain @@ -508,7 +508,7 @@ function call was the first item, the current item will be set to 0. If the current item was 0, this function does nothing.

                See also first(), last(), next(), and current(). -

                TQDataStream & TQPtrList::read ( TQDataStream & s, TQPtrCollection::Item & item ) [virtual protected] +

                TQDataStream & TQPtrList::read ( TQDataStream & s, TQPtrCollection::Item & item ) [virtual protected]

                Reads a list item from the stream s and returns a reference to @@ -523,13 +523,13 @@ the stream.

                Returns TRUE if successful, i.e. if index is in range; otherwise returns FALSE. The valid range is 0..(count() - 1) inclusive. -

                The removed item is deleted if auto-deletion is enabled. +

                The removed item is deleted if auto-deletion is enabled.

                The item after the removed item becomes the new current list item if the removed item is not the last item in the list. If the last item is removed, the new last item becomes the current item.

                All list iterators that refer to the removed item will be set to point to the new current item. -

                See also take(), clear(), setAutoDelete(), current(), and removeRef(). +

                See also take(), clear(), setAutoDelete(), current(), and removeRef().

                bool TQPtrList::remove ()

                @@ -538,14 +538,14 @@ point to the new current item.

                Removes the current list item.

                Returns TRUE if successful, i.e. if the current item isn't 0; otherwise returns FALSE. -

                The removed item is deleted if auto-deletion is enabled. +

                The removed item is deleted if auto-deletion is enabled.

                The item after the removed item becomes the new current list item if the removed item is not the last item in the list. If the last item is removed, the new last item becomes the current item. The current item is set to 0 if the list becomes empty.

                All list iterators that refer to the removed item will be set to point to the new current item. -

                See also take(), clear(), setAutoDelete(), current(), and removeRef(). +

                See also take(), clear(), setAutoDelete(), current(), and removeRef().

                bool TQPtrList::remove ( const type * item )

                @@ -554,7 +554,7 @@ point to the new current item.

                Removes the first occurrence of item from the list.

                Returns TRUE if successful, i.e. if item is in the list; otherwise returns FALSE. -

                The removed item is deleted if auto-deletion is enabled. +

                The removed item is deleted if auto-deletion is enabled.

                The compareItems() function is called when searching for the item in the list. If compareItems() is not reimplemented, it is more efficient to call removeRef(). @@ -565,38 +565,38 @@ item is removed, the new last item becomes the current item. The current item is set to 0 if the list becomes empty.

                All list iterators that refer to the removed item will be set to point to the new current item. -

                See also removeRef(), take(), clear(), setAutoDelete(), compareItems(), and current(). +

                See also removeRef(), take(), clear(), setAutoDelete(), compareItems(), and current().

                bool TQPtrList::removeFirst ()

                Removes the first item from the list. Returns TRUE if successful, i.e. if the list isn't empty; otherwise returns FALSE. -

                The removed item is deleted if auto-deletion is enabled. +

                The removed item is deleted if auto-deletion is enabled.

                The first item in the list becomes the new current list item. The current item is set to 0 if the list becomes empty.

                All list iterators that refer to the removed item will be set to point to the new current item. -

                See also removeLast(), setAutoDelete(), current(), and remove(). +

                See also removeLast(), setAutoDelete(), current(), and remove().

                bool TQPtrList::removeLast ()

                Removes the last item from the list. Returns TRUE if successful, i.e. if the list isn't empty; otherwise returns FALSE. -

                The removed item is deleted if auto-deletion is enabled. +

                The removed item is deleted if auto-deletion is enabled.

                The last item in the list becomes the new current list item. The current item is set to 0 if the list becomes empty.

                All list iterators that refer to the removed item will be set to point to the new current item. -

                See also removeFirst(), setAutoDelete(), and current(). +

                See also removeFirst(), setAutoDelete(), and current().

                void TQPtrList::removeNode ( TQLNode * node )

                Removes the node from the list.

                This node must exist in the list, otherwise the program may crash. -

                The removed item is deleted if auto-deletion is enabled. +

                The removed item is deleted if auto-deletion is enabled.

                The first item in the list will become the new current list item. The current item is set to 0 if the list becomes empty.

                All list iterators that refer to the removed item will be set to @@ -611,7 +611,7 @@ the removed item was the last item.

                Removes the first occurrence of item from the list.

                Returns TRUE if successful, i.e. if item is in the list; otherwise returns FALSE. -

                The removed item is deleted if auto-deletion is enabled. +

                The removed item is deleted if auto-deletion is enabled.

                Equivalent to:

                         if ( list.findRef( item ) != -1 )
                @@ -624,7 +624,7 @@ item is removed, the new last item becomes the current item. The
                 current item is set to 0 if the list becomes empty.
                 

                All list iterators that refer to the removed item will be set to point to the new current item. -

                See also remove(), clear(), setAutoDelete(), and current(). +

                See also remove(), clear(), setAutoDelete(), and current().

                bool TQPtrList::replace ( uint index, const type * item )

                @@ -649,7 +649,7 @@ with two collections deleting the same items. in subclasses. For example, a subclass that has a remove() function will remove the item from its data structure, and if auto-delete is enabled, will also delete the item. -

                See also autoDelete(). +

                See also autoDelete().

                Examples: grapher/grapher.cpp, scribble/scribble.cpp, and table/bigtable/main.cpp.

                void TQPtrList::sort () @@ -666,7 +666,7 @@ the sorting problem.

                Takes the item at position index out of the list without -deleting it (even if auto-deletion +deleting it (even if auto-deletion is enabled).

                Returns a pointer to the item taken out of the list, or 0 if the index is out of range. The valid range is 0..(count() - 1) @@ -685,7 +685,7 @@ point to the new current item.

                This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

                Takes the current item out of the list without deleting it (even -if auto-deletion is enabled). +if auto-deletion is enabled).

                Returns a pointer to the item taken out of the list, or 0 if the current item is 0.

                The item after the removed item becomes the new current list item @@ -700,7 +700,7 @@ point to the new current item.

                Takes the node out of the list without deleting its item (even -if auto-deletion is enabled). +if auto-deletion is enabled). Returns a pointer to the item taken out of the list.

                This node must exist in the list, otherwise the program may crash.

                The first item in the list becomes the new current list item. @@ -717,7 +717,7 @@ the taken item was the last item.

                The vector must be of the same item type, otherwise the result will be undefined. -

                TQDataStream & TQPtrList::write ( TQDataStream & s, TQPtrCollection::Item item ) const [virtual protected] +

                TQDataStream & TQPtrList::write ( TQDataStream & s, TQPtrCollection::Item item ) const [virtual protected]

                Writes a list item, item to the stream s and returns a diff --git a/doc/html/qptrlistiterator-members.html b/doc/html/tqptrlistiterator-members.html similarity index 57% rename from doc/html/qptrlistiterator-members.html rename to doc/html/tqptrlistiterator-members.html index 468b6fd1..cc693c1c 100644 --- a/doc/html/qptrlistiterator-members.html +++ b/doc/html/tqptrlistiterator-members.html @@ -1,5 +1,5 @@ - + @@ -32,26 +32,26 @@ body { background: #ffffff; color: black; }

                Complete Member List for TQPtrListIterator

                This is the complete list of member functions for -TQPtrListIterator, including inherited members. +TQPtrListIterator, including inherited members.


                diff --git a/doc/html/qptrlistiterator.html b/doc/html/tqptrlistiterator.html similarity index 84% rename from doc/html/qptrlistiterator.html rename to doc/html/tqptrlistiterator.html index 688404fe..555aa4d8 100644 --- a/doc/html/qptrlistiterator.html +++ b/doc/html/tqptrlistiterator.html @@ -1,5 +1,5 @@ - + @@ -34,9 +34,9 @@ body { background: #ffffff; color: black; }

                The TQPtrListIterator class provides an iterator for TQPtrList collections. More... -

                #include <ntqptrlist.h> +

                #include <tqptrlist.h>

                Inherited by TQObjectListIterator and TQStrListIterator. -

                List of all member functions. +

                List of all member functions.

                Public Members

                • TQPtrListIterator ( const TQPtrList<type> & list )
                • @@ -61,19 +61,19 @@ TQPtrList collections. The TQPtrListIterator class provides an iterator for -TQPtrList collections. +TQPtrList collections.

                  Define a template instance TQPtrListIterator<X> to create a list iterator that operates on TQPtrList<X> (list of X*). -

                  The following example is similar to the example in the TQPtrList class documentation, but it uses TQPtrListIterator. The class Employee is +

                  The following example is similar to the example in the TQPtrList class documentation, but it uses TQPtrListIterator. The class Employee is defined there.

                  -    TQPtrList<Employee> list;
                  +    TQPtrList<Employee> list;
                   
                  -    list.append( new Employee("John", "Doe", 50000) );
                  -    list.append( new Employee("Jane", "Williams", 80000) );
                  -    list.append( new Employee("Tom", "Jones", 60000) );
                  +    list.append( new Employee("John", "Doe", 50000) );
                  +    list.append( new Employee("Jane", "Williams", 80000) );
                  +    list.append( new Employee("Tom", "Jones", 60000) );
                   
                       TQPtrListIterator<Employee> it( list );
                       Employee *employee;
                  @@ -93,17 +93,17 @@ defined there.
                       

                  Using a list iterator is a more robust way of traversing the list -than using the TQPtrList member functions first(), next(), current(), etc., as many iterators can +than using the TQPtrList member functions first(), next(), current(), etc., as many iterators can traverse the same list independently.

                  An iterator has its own current list item and can get the next and previous list items. It doesn't modify the list in any way.

                  When an item is removed from the list, all iterators that point to -that item are updated to point to TQPtrList::current() instead to +that item are updated to point to TQPtrList::current() instead to avoid dangling references. -

                  See also TQPtrList, Collection Classes, and Non-GUI Classes. +

                  See also TQPtrList, Collection Classes, and Non-GUI Classes.


                  Member Function Documentation

                  -

                  TQPtrListIterator::TQPtrListIterator ( const TQPtrList<type> & list ) +

                  TQPtrListIterator::TQPtrListIterator ( const TQPtrList<type> & list )

                  Constructs an iterator for list. The current iterator item is @@ -199,7 +199,7 @@ it was 0, 0 is returned.

                  Returns the item jump positions before the current item or 0 if it is beyond the first item. Makes this the current item. -

                  TQPtrListIterator<type> & TQPtrListIterator::operator= ( const TQPtrListIterator<type> & it ) +

                  TQPtrListIterator<type> & TQPtrListIterator::operator= ( const TQPtrListIterator<type> & it )

                  Assignment. Makes a copy of the iterator it and returns a diff --git a/doc/html/qptrqueue-h.html b/doc/html/tqptrqueue-h.html similarity index 94% rename from doc/html/qptrqueue-h.html rename to doc/html/tqptrqueue-h.html index b7a69b43..8bc2e130 100644 --- a/doc/html/qptrqueue-h.html +++ b/doc/html/tqptrqueue-h.html @@ -1,9 +1,9 @@ - + -ntqptrqueue.h Include File +tqptrqueue.h Include File + + + + + + +
                  + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

                  Complete Member List for TQPtrVector

                  + +

                  This is the complete list of member functions for +TQPtrVector, including inherited members. + +

                  + +


                  + +
                  Copyright © 2007 +TrolltechTrademarks +
                  TQt 3.3.8
                  +
                  + diff --git a/doc/html/ntqptrvector.html b/doc/html/tqptrvector.html similarity index 91% rename from doc/html/ntqptrvector.html rename to doc/html/tqptrvector.html index c4eef2b3..44e4cdce 100644 --- a/doc/html/ntqptrvector.html +++ b/doc/html/tqptrvector.html @@ -1,5 +1,5 @@ - + @@ -34,9 +34,9 @@ body { background: #ffffff; color: black; }

                  The TQPtrVector class is a template collection class that provides a vector (array). More... -

                  #include <ntqptrvector.h> -

                  Inherits TQPtrCollection. -

                  List of all member functions. +

                  #include <tqptrvector.h> +

                  Inherits TQPtrCollection. +

                  List of all member functions.

                  Public Members

                  • TQPtrVector ()
                  • @@ -95,10 +95,10 @@ TQMemArray is value-based and TQPtrVector is pointer-based). removed with remove(). You can get a pointer to an item at a particular index position using at().

                    Unless otherwise stated, all functions that remove items from the -vector will also delete the element pointed to if auto-deletion is enabled. By default, -auto-deletion is disabled; see setAutoDelete(). This behaviour can +vector will also delete the element pointed to if auto-deletion is enabled. By default, +auto-deletion is disabled; see setAutoDelete(). This behaviour can be changed in a subclass by reimplementing the virtual function -deleteItem(). +deleteItem().

                    Functions that compare items (find() and sort() for example) will do so using the virtual function compareItems(). The default implementation of this function only compares the pointer values. @@ -125,7 +125,7 @@ vector if size == 0.

                    All size positions in the vector are initialized to 0.

                    See also size(), resize(), and isNull(). -

                    TQPtrVector::TQPtrVector ( const TQPtrVector<type> & v ) +

                    TQPtrVector::TQPtrVector ( const TQPtrVector<type> & v )

                    Constructs a copy of v. Only the pointers are copied (i.e. @@ -147,7 +147,7 @@ that position. i must be less than size().

                    Returns the setting of the auto-delete option. The default is FALSE. -

                    See also setAutoDelete(). +

                    See also setAutoDelete().

                    int TQPtrVector::bsearch ( const type * d ) const

                    @@ -166,8 +166,8 @@ than find(), which performs a linear search.

                    The vector becomes a null vector.

                    See also isNull(). -

                    Reimplemented from TQPtrCollection. -

                    int TQPtrVector::compareItems ( TQPtrCollection::Item d1, TQPtrCollection::Item d2 ) [virtual protected] +

                    Reimplemented from TQPtrCollection. +

                    int TQPtrVector::compareItems ( TQPtrCollection::Item d1, TQPtrCollection::Item d2 ) [virtual protected]

                    This virtual function compares two list items. @@ -211,7 +211,7 @@ vector. count() == 0.

                    See also isEmpty(), size(), and isNull(). -

                    Reimplemented from TQPtrCollection. +

                    Reimplemented from TQPtrCollection.

                    type ** TQPtrVector::data () const

                    @@ -277,7 +277,7 @@ removed.

                    A null vector has size() == 0 and data() == 0.

                    See also size(). -

                    TQPtrVector<type> & TQPtrVector::operator= ( const TQPtrVector<type> & v ) +

                    TQPtrVector<type> & TQPtrVector::operator= ( const TQPtrVector<type> & v )

                    Assigns v to this vector and returns a reference to this @@ -286,7 +286,7 @@ vector. copied into the vector. Only the pointers are copied (i.e. shallow copy).

                    See also clear(). -

                    bool TQPtrVector::operator== ( const TQPtrVector<type> & v ) const +

                    bool TQPtrVector::operator== ( const TQPtrVector<type> & v ) const

                    Returns TRUE if this vector and v are equal; otherwise returns @@ -300,7 +300,7 @@ that position. i must be less than size().

                    Equivalent to at( i ).

                    See also at(). -

                    TQDataStream & TQPtrVector::read ( TQDataStream & s, TQPtrCollection::Item & item ) [virtual protected] +

                    TQDataStream & TQPtrVector::read ( TQDataStream & s, TQPtrCollection::Item & item ) [virtual protected]

                    Reads a vector item, item, from the stream s and returns a @@ -342,7 +342,7 @@ with two collections deleting the same items. in subclasses. For example, a subclass that has a remove() function will remove the item from its data structure, and if auto-delete is enabled, will also delete the item. -

                    See also autoDelete(). +

                    See also autoDelete().

                    Examples: grapher/grapher.cpp, scribble/scribble.cpp, and table/bigtable/main.cpp.

                    uint TQPtrVector::size () const @@ -368,11 +368,11 @@ put last.

                    Returns the item at position i in the vector, and removes that item from the vector. i must be less than size(). If there is no item at position i, 0 is returned. -

                    Unlike remove(), this function does not call deleteItem() for +

                    Unlike remove(), this function does not call deleteItem() for the removed item.

                    See also remove() and at(). -

                    TQDataStream & TQPtrVector::write ( TQDataStream & s, TQPtrCollection::Item item ) const [virtual protected] +

                    TQDataStream & TQPtrVector::write ( TQDataStream & s, TQPtrCollection::Item item ) const [virtual protected]

                    Writes a vector item, item, to the stream s and returns a diff --git a/doc/html/tqsqldriver-h.html b/doc/html/tqsqldriver-h.html index de499fb1..0c9242d1 100644 --- a/doc/html/tqsqldriver-h.html +++ b/doc/html/tqsqldriver-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "tqobject.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqstring.h" #include "tqsqlerror.h" #include "tqsqlquery.h" diff --git a/doc/html/tqvaluelist.html b/doc/html/tqvaluelist.html index e375b194..bd899893 100644 --- a/doc/html/tqvaluelist.html +++ b/doc/html/tqvaluelist.html @@ -130,11 +130,11 @@ available for your target platform(s). TQValueList is part of the values that all have the class T. Note that TQValueList does not store pointers to the members of the list; it holds a copy of every member. This is why these kinds of classes are called "value -based"; TQPtrList and TQDict are "pointer based". +based"; TQPtrList and TQDict are "pointer based".

                    TQValueList contains and manages a collection of objects of type T and provides iterators that allow the contained objects to be addressed. TQValueList owns the contained items. For more relaxed -ownership semantics, see TQPtrCollection and friends which are +ownership semantics, see TQPtrCollection and friends which are pointer-based containers.

                    Some classes cannot be used within a TQValueList, for example, all classes derived from TQObject and thus all classes that implement diff --git a/doc/html/tqvaluestack.html b/doc/html/tqvaluestack.html index 114dcc59..86ed01bb 100644 --- a/doc/html/tqvaluestack.html +++ b/doc/html/tqvaluestack.html @@ -59,7 +59,7 @@ The TQValueStack class is a value-based template class that provides a stack. values that all have the class X. TQValueStack is part of the TQt Template Library.

                    Note that TQValueStack does not store pointers to the members of the stack; it holds a copy of every member. That is why these -kinds of classes are called "value based"; TQPtrStack, TQPtrList, +kinds of classes are called "value based"; TQPtrStack, TQPtrList, TQDict, etc., are "pointer based".

                    A stack is a last in, first out (LIFO) structure. Items are added to the top of the stack with push() and retrieved from the top @@ -81,7 +81,7 @@ without removing it.

                TQValueStack is a specialized TQValueList provided for convenience. -All of TQValueList's functionality also applies to TQPtrStack, for +All of TQValueList's functionality also applies to TQPtrStack, for example the facility to iterate over all elements using TQValueStack::Iterator. See TQValueListIterator for further details. diff --git a/doc/html/tqvaluevector.html b/doc/html/tqvaluevector.html index 5930a8cd..a8a28bdf 100644 --- a/doc/html/tqvaluevector.html +++ b/doc/html/tqvaluevector.html @@ -110,11 +110,11 @@ part of the TQt Template Library. of values that all have the class T. TQValueVector does not store pointers to the members of the vector; it holds a copy of every member. TQValueVector is said to be value based; in contrast, -TQPtrList and TQDict are pointer based. +TQPtrList and TQDict are pointer based.

                TQValueVector contains and manages a collection of objects of type T and provides random access iterators that allow the contained objects to be addressed. TQValueVector owns the contained -elements. For more relaxed ownership semantics, see TQPtrCollection +elements. For more relaxed ownership semantics, see TQPtrCollection and friends, which are pointer-based containers.

                TQValueVector provides good performance if you append or remove elements from the end of the vector. If you insert or remove diff --git a/doc/html/tqwidgetfactory-h.html b/doc/html/tqwidgetfactory-h.html index 78e8155d..47a6e40d 100644 --- a/doc/html/tqwidgetfactory-h.html +++ b/doc/html/tqwidgetfactory-h.html @@ -71,7 +71,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include <ntqstring.h> -#include <ntqptrlist.h> +#include <tqptrlist.h> #include <ntqimage.h> #include <ntqpixmap.h> #include <tqvaluelist.h> diff --git a/doc/html/tqwidgetstack-h.html b/doc/html/tqwidgetstack-h.html index 1ad40bfc..275bd318 100644 --- a/doc/html/tqwidgetstack-h.html +++ b/doc/html/tqwidgetstack-h.html @@ -80,7 +80,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "ntqframe.h" #include "ntqintdict.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #endif // QT_H #ifndef TQT_NO_WIDGETSTACK diff --git a/doc/html/whatsthis b/doc/html/whatsthis index 6a529e32..df2ed25f 100644 --- a/doc/html/whatsthis +++ b/doc/html/whatsthis @@ -209,8 +209,8 @@ Iterator for QIntDict collections. | QIntDictIterator Iterator for TQMap. | TQMapConstIterator Iterator for TQMap. | TQMapIterator Iterator for TQObjectLists. | TQObjectListIterator -Iterator for QPtrDict collections. | QPtrDictIterator -Iterator for QPtrList collections. | QPtrListIterator +Iterator for TQPtrDict collections. | TQPtrDictIterator +Iterator for TQPtrList collections. | TQPtrListIterator Iterator for TQValueList. | TQValueListIterator Iterator for collections of QListViewItems. | QListViewItemIterator Iterator for the QStrList and QStrIList classes. | QStrListIterator @@ -285,7 +285,7 @@ Popup menu widget. | QPopupMenu Powerful single-page rich text editor. | QTextEdit TQObject that is a web browser plugin. | QNPInstance TQObject that wraps a COM object. | QAxObject -QPtrList of TQObjects. | TQObjectList +TQPtrList of TQObjects. | TQObjectList TQWidget that is a web browser plugin window. | QNPWidget TQWidget that wraps an ActiveX control. | QAxWidget Quick-access button to commands or options, usually used inside a QToolBar. | QToolButton @@ -348,14 +348,14 @@ Template class that provides a cache based on long keys. | QIntCache Template class that provides a dictionary based on TQString keys. | QDict Template class that provides a dictionary based on char* keys. | QAsciiDict Template class that provides a dictionary based on long keys. | QIntDict -Template class that provides a dictionary based on void* keys. | QPtrDict -Template class that provides a list. | QPtrList -Template class that provides a queue. | QPtrQueue -Template class that provides a stack. | QPtrStack +Template class that provides a dictionary based on void* keys. | TQPtrDict +Template class that provides a list. | TQPtrList +Template class that provides a queue. | TQPtrQueue +Template class that provides a stack. | TQPtrStack Template class that provides arrays of simple types. | QMemArray Template class that provides guarded pointers to TQObjects. | QGuardedPtr Template class which ensures that implicitly shared and explicitly shared classes reference unique data. | QDeepCopy -Template collection class that provides a vector (array). | QPtrVector +Template collection class that provides a vector (array). | TQPtrVector Text object on a TQCanvas. | TQCanvasText Text or image display. | QLabel The QDialog API for Motif-based dialogs. | QMotifDialog @@ -370,7 +370,7 @@ The base class of all list box items. | QListBoxItem The base class of all user interface objects. | TQWidget The base class of dialog windows. | QDialog The base class of geometry managers. | QLayout -The base class of most pointer-based TQt collections. | QPtrCollection +The base class of most pointer-based TQt collections. | TQPtrCollection The base class of objects that can be painted. | QPaintDevice The base class of widgets that can have a frame. | QFrame The basis of the Motif Extension. | QMotif diff --git a/doc/html/xml-sax-features-walkthrough.html b/doc/html/xml-sax-features-walkthrough.html index 826b70bd..be7e63f9 100644 --- a/doc/html/xml-sax-features-walkthrough.html +++ b/doc/html/xml-sax-features-walkthrough.html @@ -191,7 +191,7 @@ the GUI's event loop.

                    #include <tqxml.h>
                -    #include <ntqptrstack.h>
                +    #include <tqptrstack.h>
                 
                     class TQListView;
                     class TQListViewItem;
                @@ -222,7 +222,7 @@ takes a TQListView as an argument,
                 

                In addition we have a function that selects a listview for the output.

                    private:
                -        TQPtrStack<TQListViewItem> stack;
                +        TQPtrStack<TQListViewItem> stack;
                 

                Keep in mind that we write a SAX2 parser that doesn't have an object model to keep all elements and attributes diff --git a/doc/layout.doc b/doc/layout.doc index b5339909..fa8d9562 100644 --- a/doc/layout.doc +++ b/doc/layout.doc @@ -298,7 +298,7 @@ To write your own layout class, you must define the following: \list \i A data structure to store the items handled by the layout. Each item is a \link QLayoutItem QLayoutItem\endlink. We will use a -QPtrList in this example. +TQPtrList in this example. \i \link QLayout::addItem() addItem() \endlink, how to add items to the layout. \i \link QLayout::setGeometry() setGeometry() \endlink, how to perform @@ -319,7 +319,7 @@ minimumSize\endlink(). #define CARD_H #include -#include +#include class CardLayout : public QLayout { @@ -339,7 +339,7 @@ public: void setGeometry(const QRect &rect); private: - QPtrList list; + TQPtrList list; }; #endif @@ -373,7 +373,7 @@ constructor. In our example we do not need a destructor. class CardLayoutIterator : public QGLayoutIterator { public: - CardLayoutIterator( QPtrList *l ) + CardLayoutIterator( TQPtrList *l ) : idx( 0 ), list( l ) {} QLayoutItem *current() @@ -387,7 +387,7 @@ public: private: int idx; - QPtrList *list; + TQPtrList *list; }; \endcode @@ -436,7 +436,7 @@ void CardLayout::setGeometry( const QRect &rect ) { QLayout::setGeometry( rect ); - QPtrListIterator it( list ); + TQPtrListIterator it( list ); if (it.count() == 0) return; @@ -468,7 +468,7 @@ QSize CardLayout::sizeHint() const int n = list.count(); if ( n > 0 ) s = QSize( 100, 70 ); // start with a nice default size - QPtrListIterator it( list ); + TQPtrListIterator it( list ); QLayoutItem *item; while ( (item = it.current()) != 0 ) { ++it; @@ -481,7 +481,7 @@ QSize CardLayout::minimumSize() const { QSize s( 0, 0 ); int n = list.count(); - QPtrListIterator it( list ); + TQPtrListIterator it( list ); QLayoutItem *item; while ( (item = it.current()) != 0 ) { ++it; diff --git a/doc/man/man3/tqapplication.3qt b/doc/man/man3/tqapplication.3qt index 7cb94cc4..bf39cc92 100644 --- a/doc/man/man3/tqapplication.3qt +++ b/doc/man/man3/tqapplication.3qt @@ -667,7 +667,7 @@ Returns a list of all the widgets in the application. .PP The list is created using \fCnew\fR and must be deleted by the caller. .PP -The list is empty (QPtrList::isEmpty()) if there are no widgets. +The list is empty (TQPtrList::isEmpty()) if there are no widgets. .PP Note that some of the widgets may be hidden. .PP @@ -697,7 +697,7 @@ The TQWidgetList class is defined in the \fCtqwidgetlist.h\fR header file. .PP \fBWarning:\fR Delete the list as soon as you have finished using it. The widgets in the list may be deleted by someone else at any time. .PP -See also topLevelWidgets(), TQWidget::visible, and QPtrList::isEmpty(). +See also topLevelWidgets(), TQWidget::visible, and TQPtrList::isEmpty(). .SH "TQString QApplication::applicationDirPath ()" Returns the directory that contains the application executable. .PP @@ -1549,7 +1549,7 @@ Returns a list of the top level widgets in the application. .PP The list is created using \fCnew\fR and must be deleted by the caller. .PP -The list is empty (QPtrList::isEmpty()) if there are no top level widgets. +The list is empty (TQPtrList::isEmpty()) if there are no top level widgets. .PP Note that some of the top level widgets may be hidden, for example the tooltip if no tooltip is currently shown. .PP @@ -1581,7 +1581,7 @@ Example: .PP \fBWarning:\fR Delete the list as soon you have finished using it. The widgets in the list may be deleted by someone else at any time. .PP -See also allWidgets(), TQWidget::isTopLevel, TQWidget::visible, and QPtrList::isEmpty(). +See also allWidgets(), TQWidget::isTopLevel, TQWidget::visible, and TQPtrList::isEmpty(). .SH "TQString QApplication::translate ( const char * context, const char * sourceText, const char * comment = 0, Encoding encoding = DefaultCodec ) const" \fBNote:\fR This function is reentrant when TQt is built with thread support.

                Returns the translation text for \fIsourceText\fR, by querying the installed messages files. The message files are searched from the most recently installed message file back to the first installed message file. .PP diff --git a/doc/man/man3/tqasciicache.3qt b/doc/man/man3/tqasciicache.3qt index 9b1dadd6..7c6c7eff 100644 --- a/doc/man/man3/tqasciicache.3qt +++ b/doc/man/man3/tqasciicache.3qt @@ -11,7 +11,7 @@ QAsciiCache \- Template class that provides a cache based on char* keys .SH SYNOPSIS \fC#include \fR .PP -Inherits QPtrCollection. +Inherits TQPtrCollection. .PP .SS "Public Members" .in +1c @@ -74,9 +74,9 @@ Apart from insert(), by far the most important function is find() (which also ex .PP There are also methods to remove() or take() an object from the cache. Calling setAutoDelete(TRUE) tells the cache to delete items that are removed. The default is to not delete items when then are removed (i.e., remove() and take() are equivalent). .PP -When inserting an item into the cache, only the pointer is copied, not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual function QPtrCollection::newItem() for the item to be inserted. Inherit a cache and reimplement newItem() if you want deep copies. +When inserting an item into the cache, only the pointer is copied, not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual function TQPtrCollection::newItem() for the item to be inserted. Inherit a cache and reimplement newItem() if you want deep copies. .PP -When removing a cache item the virtual function QPtrCollection::deleteItem() is called. Its default implementation in QAsciiCache is to delete the item if auto-deletion is enabled. +When removing a cache item the virtual function TQPtrCollection::deleteItem() is called. Its default implementation in QAsciiCache is to delete the item if auto-deletion is enabled. .PP There is a QAsciiCacheIterator which may be used to traverse the items in the cache in arbitrary order. .PP @@ -99,13 +99,13 @@ All cache iterators that operate on this cache are reset. .PP See also remove() and take(). .PP -Reimplemented from QPtrCollection. +Reimplemented from TQPtrCollection. .SH "uint QAsciiCache::count () const\fC [virtual]\fR" Returns the number of items in the cache. .PP See also totalCost() and size(). .PP -Reimplemented from QPtrCollection. +Reimplemented from TQPtrCollection. .SH "type * QAsciiCache::find ( const char * k, bool ref = TRUE ) const" Returns the item with key \fIk\fR, or 0 if the key does not exist in the cache. If \fIref\fR is TRUE (the default), the item is moved to the front of the least recently used list. .PP diff --git a/doc/man/man3/tqasciidict.3qt b/doc/man/man3/tqasciidict.3qt index 734e5309..9b6d47eb 100644 --- a/doc/man/man3/tqasciidict.3qt +++ b/doc/man/man3/tqasciidict.3qt @@ -11,7 +11,7 @@ QAsciiDict \- Template class that provides a dictionary based on char* keys .SH SYNOPSIS \fC#include \fR .PP -Inherits QPtrCollection. +Inherits TQPtrCollection. .PP .SS "Public Members" .in +1c @@ -76,10 +76,10 @@ Inherits QPtrCollection. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, QPtrCollection::Item & item )" +.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, TQPtrCollection::Item & item )" .br .ti -1c -.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, QPtrCollection::Item ) const" +.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, TQPtrCollection::Item ) const" .br .in -1c .SH DESCRIPTION @@ -131,11 +131,11 @@ Example: cout << "forename is not in the dictionary" << endl; .br .fi -In this example we use a dictionary to keep track of the line edits we're using. We insert each line edit into the dictionary with a unique name and then access the line edits via the dictionary. See QPtrDict, QIntDict and QDict. +In this example we use a dictionary to keep track of the line edits we're using. We insert each line edit into the dictionary with a unique name and then access the line edits via the dictionary. See TQPtrDict, QIntDict and QDict. .PP See QDict for full details, including the choice of dictionary size, and how deletions are handled. .PP -See also QAsciiDictIterator, QDict, QIntDict, QPtrDict, Collection Classes, Collection Classes, and Non-GUI Classes. +See also QAsciiDictIterator, QDict, QIntDict, TQPtrDict, Collection Classes, Collection Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QAsciiDict::QAsciiDict ( int size = 17, bool caseSensitive = TRUE, bool copyKeys = TRUE )" Constructs a dictionary optimized for less than \fIsize\fR entries. @@ -157,7 +157,7 @@ The items are deleted if auto-delete is enabled. All iterators that access this dictionary will be reset. .PP See also setAutoDelete(). -.SH "bool QPtrCollection::autoDelete () const" +.SH "bool TQPtrCollection::autoDelete () const" Returns the setting of the auto-delete option. The default is FALSE. .PP See also setAutoDelete(). @@ -170,13 +170,13 @@ All dictionary iterators that operate on dictionary are reset. .PP See also remove(), take(), and setAutoDelete(). .PP -Reimplemented from QPtrCollection. +Reimplemented from TQPtrCollection. .SH "uint QAsciiDict::count () const\fC [virtual]\fR" Returns the number of items in the dictionary. .PP See also isEmpty(). .PP -Reimplemented from QPtrCollection. +Reimplemented from TQPtrCollection. .SH "type * QAsciiDict::find ( const char * key ) const" Returns the item associated with \fIkey\fR, or 0 if the key does not exist in the dictionary. .PP @@ -213,7 +213,7 @@ If there are two or more items with equal keys, then the item that was most rece Equivalent to the find() function. .PP See also find(). -.SH "QDataStream & QAsciiDict::read ( QDataStream & s, QPtrCollection::Item & item )\fC [virtual protected]\fR" +.SH "QDataStream & QAsciiDict::read ( QDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR" Reads a dictionary item from the stream \fIs\fR and returns a reference to the stream. .PP The default implementation sets \fIitem\fR to 0. @@ -257,7 +257,7 @@ If there are two or more items with equal keys, then the most recently inserted See also insert(). .SH "void QAsciiDict::resize ( uint newsize )" Changes the size of the hashtable to \fInewsize\fR. The contents of the dictionary are preserved but all iterators on the dictionary become invalid. -.SH "void QPtrCollection::setAutoDelete ( bool enable )" +.SH "void TQPtrCollection::setAutoDelete ( bool enable )" Sets the collection to auto-delete its contents if \fIenable\fR is TRUE and to never delete them if \fIenable\fR is FALSE. .PP If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items. @@ -286,7 +286,7 @@ Returns a pointer to the item taken out, or 0 if the key does not exist in the d All dictionary iterators that refer to the taken item will be set to point to the next item in the dictionary traversal order. .PP See also remove(), clear(), and setAutoDelete(). -.SH "QDataStream & QAsciiDict::write ( QDataStream & s, QPtrCollection::Item ) const\fC [virtual protected]\fR" +.SH "QDataStream & QAsciiDict::write ( QDataStream & s, TQPtrCollection::Item ) const\fC [virtual protected]\fR" Writes a dictionary item to the stream \fIs\fR and returns a reference to the stream. .PP See also read(). diff --git a/doc/man/man3/tqcache.3qt b/doc/man/man3/tqcache.3qt index fd473a73..a3786853 100644 --- a/doc/man/man3/tqcache.3qt +++ b/doc/man/man3/tqcache.3qt @@ -11,7 +11,7 @@ QCache \- Template class that provides a cache based on TQString keys .SH SYNOPSIS \fC#include \fR .PP -Inherits QPtrCollection. +Inherits TQPtrCollection. .PP .SS "Public Members" .in +1c @@ -81,9 +81,9 @@ Apart from insert(), by far the most important function is find() (which also ex .PP There are also methods to remove() or take() an object from the cache. Calling setAutoDelete(TRUE) for a cache tells it to delete items that are removed. The default is to not delete items when they are removed (i.e., remove() and take() are equivalent). .PP -When inserting an item into the cache, only the pointer is copied, not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual function QPtrCollection::newItem() for the item to be inserted. Inherit a cache and reimplement newItem() if you want deep copies. +When inserting an item into the cache, only the pointer is copied, not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual function TQPtrCollection::newItem() for the item to be inserted. Inherit a cache and reimplement newItem() if you want deep copies. .PP -When removing a cache item, the virtual function QPtrCollection::deleteItem() is called. The default implementation deletes the item if auto-deletion is enabled, and does nothing otherwise. +When removing a cache item, the virtual function TQPtrCollection::deleteItem() is called. The default implementation deletes the item if auto-deletion is enabled, and does nothing otherwise. .PP There is a QCacheIterator that can be used to traverse the items in the cache in arbitrary order. .PP @@ -101,7 +101,7 @@ Each inserted item has an associated cost. When inserting a new item, if the tot If \fIcaseSensitive\fR is TRUE (the default), the cache keys are case sensitive; if it is FALSE, they are case-insensitive. Case-insensitive comparison considers all Unicode letters. .SH "QCache::~QCache ()" Removes all items from the cache and destroys it. All iterators that access this cache will be reset. -.SH "bool QPtrCollection::autoDelete () const" +.SH "bool TQPtrCollection::autoDelete () const" Returns the setting of the auto-delete option. The default is FALSE. .PP See also setAutoDelete(). @@ -112,13 +112,13 @@ All cache iterators that operate this on cache are reset. .PP See also remove() and take(). .PP -Reimplemented from QPtrCollection. +Reimplemented from TQPtrCollection. .SH "uint QCache::count () const\fC [virtual]\fR" Returns the number of items in the cache. .PP See also totalCost(). .PP -Reimplemented from QPtrCollection. +Reimplemented from TQPtrCollection. .SH "type * QCache::find ( const TQString & k, bool ref = TRUE ) const" Returns the item associated with key \fIk\fR, or 0 if the key does not exist in the cache. If \fIref\fR is TRUE (the default), the item is moved to the front of the least recently used list. .PP @@ -155,7 +155,7 @@ If there are two or more items with equal keys, the one that was inserted last i All iterators that refer to the removed item are set to point to the next item in the cache's traversal order. .PP See also take() and clear(). -.SH "void QPtrCollection::setAutoDelete ( bool enable )" +.SH "void TQPtrCollection::setAutoDelete ( bool enable )" Sets the collection to auto-delete its contents if \fIenable\fR is TRUE and to never delete them if \fIenable\fR is FALSE. .PP If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items. diff --git a/doc/man/man3/tqcanvaspixmaparray.3qt b/doc/man/man3/tqcanvaspixmaparray.3qt index 5c3369c4..9bdc9e10 100644 --- a/doc/man/man3/tqcanvaspixmaparray.3qt +++ b/doc/man/man3/tqcanvaspixmaparray.3qt @@ -20,7 +20,7 @@ TQCanvasPixmapArray \- Array of TQCanvasPixmaps .BI "\fBTQCanvasPixmapArray\fR ( const TQString & datafilenamepattern, int fc = 0 )" .br .ti -1c -.BI "TQCanvasPixmapArray ( QPtrList list, QPtrList hotspots ) \fI(obsolete)\fR" +.BI "TQCanvasPixmapArray ( TQPtrList list, TQPtrList hotspots ) \fI(obsolete)\fR" .br .ti -1c .BI "\fBTQCanvasPixmapArray\fR ( TQValueList list, QPointArray hotspots = QPointArray ( ) )" @@ -75,7 +75,7 @@ If \fIfc\fR is not 0, \fIdatafilenamepattern\fR should contain "%1", e.g. "foo%1 If \fIfc\fR is 0, \fIdatafilenamepattern\fR is asssumed to be a filename, and the image contained in this file will be loaded as the first (and only) frame. .PP If \fIdatafilenamepattern\fR does not exist, is not readable, isn't an image, or some other error occurs, the array ends up empty and isValid() returns FALSE. -.SH "TQCanvasPixmapArray::TQCanvasPixmapArray ( QPtrList list, QPtrList hotspots )" +.SH "TQCanvasPixmapArray::TQCanvasPixmapArray ( TQPtrList list, TQPtrList hotspots )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Use TQCanvasPixmapArray::TQCanvasPixmapArray( TQValueList, QPointArray ) instead. diff --git a/doc/man/man3/tqdict.3qt b/doc/man/man3/tqdict.3qt index e5e051ef..ad391b99 100644 --- a/doc/man/man3/tqdict.3qt +++ b/doc/man/man3/tqdict.3qt @@ -11,7 +11,7 @@ QDict \- Template class that provides a dictionary based on TQString keys .SH SYNOPSIS \fC#include \fR .PP -Inherits QPtrCollection. +Inherits TQPtrCollection. .PP .SS "Public Members" .in +1c @@ -76,10 +76,10 @@ Inherits QPtrCollection. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, QPtrCollection::Item & item )" +.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, TQPtrCollection::Item & item )" .br .ti -1c -.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, QPtrCollection::Item ) const" +.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, TQPtrCollection::Item ) const" .br .in -1c .SH DESCRIPTION @@ -105,9 +105,9 @@ Items with equal keys are allowed. When inserting two items with the same key, o .PP The QDictIterator class can traverse the dictionary, but only in an arbitrary order. Multiple iterators may independently traverse the same dictionary. .PP -When inserting an item into a dictionary, only the pointer is copied, not the item itself, i.e. a shallow copy is made. It is possible to make the dictionary copy all of the item's data (a deep copy) when an item is inserted. insert() calls the virtual function QPtrCollection::newItem() for the item to be inserted. Inherit a dictionary and reimplement newItem() if you want deep copies. +When inserting an item into a dictionary, only the pointer is copied, not the item itself, i.e. a shallow copy is made. It is possible to make the dictionary copy all of the item's data (a deep copy) when an item is inserted. insert() calls the virtual function TQPtrCollection::newItem() for the item to be inserted. Inherit a dictionary and reimplement newItem() if you want deep copies. .PP -When removing a dictionary item, the virtual function QPtrCollection::deleteItem() is called. QDict's default implementation is to delete the item if auto-deletion is enabled. +When removing a dictionary item, the virtual function TQPtrCollection::deleteItem() is called. QDict's default implementation is to delete the item if auto-deletion is enabled. .PP Example #1: .PP @@ -200,7 +200,7 @@ In the example we are using the dictionary to provide fast random access to the .PP We first obtain the list of available styles, then sort them so that the menu items will be ordered alphabetically. Next we create a dictionary of int pointers. The keys in the dictionary are each one character long, representing letters that have been used for accelerators. We iterate through our list of style names. If the first letter of the style name is in the dictionary, i.e. has been used, we iterate over all the characters in the style name to see if we can find a letter that hasn't been used. If we find an unused letter we put the accelerator ampersand (&) in front of it and add that letter to the dictionary. If we can't find an unused letter the style will simply have no accelerator. If the first letter of the style name is not in the dictionary we use it for the accelerator and add it to the dictionary. Finally we create a QAction for each style. .PP -See also QDictIterator, QAsciiDict, QIntDict, QPtrDict, Collection Classes, and Non-GUI Classes. +See also QDictIterator, QAsciiDict, QIntDict, TQPtrDict, Collection Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QDict::QDict ( int size = 17, bool caseSensitive = TRUE )" Constructs a dictionary optimized for less than \fIsize\fR entries. @@ -216,7 +216,7 @@ Each item in \fIdict\fR is inserted into this dictionary. Only the pointers are Removes all items from the dictionary and destroys it. If setAutoDelete() is TRUE, each value is deleted. All iterators that access this dictionary will be reset. .PP See also setAutoDelete(). -.SH "bool QPtrCollection::autoDelete () const" +.SH "bool TQPtrCollection::autoDelete () const" Returns the setting of the auto-delete option. The default is FALSE. .PP See also setAutoDelete(). @@ -229,13 +229,13 @@ All dictionary iterators that operate on the dictionary are reset. .PP See also remove(), take(), and setAutoDelete(). .PP -Reimplemented from QPtrCollection. +Reimplemented from TQPtrCollection. .SH "uint QDict::count () const\fC [virtual]\fR" Returns the number of items in the dictionary. .PP See also isEmpty(). .PP -Reimplemented from QPtrCollection. +Reimplemented from TQPtrCollection. .SH "type * QDict::find ( const TQString & key ) const" Returns the item with key \fIkey\fR, or 0 if the key does not exist in the dictionary. .PP @@ -270,7 +270,7 @@ If there are two or more items with equal keys, then the most recently inserted Equivalent to the find() function. .PP See also find(). -.SH "QDataStream & QDict::read ( QDataStream & s, QPtrCollection::Item & item )\fC [virtual protected]\fR" +.SH "QDataStream & QDict::read ( QDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR" Reads a dictionary item from the stream \fIs\fR and returns a reference to the stream. .PP The default implementation sets \fIitem\fR to 0. @@ -314,7 +314,7 @@ If there are two or more items with equal keys, then the last item that was inse See also insert(). .SH "void QDict::resize ( uint newsize )" Changes the size of the hash table to \fInewsize\fR. The contents of the dictionary are preserved, but all iterators on the dictionary become invalid. -.SH "void QPtrCollection::setAutoDelete ( bool enable )" +.SH "void TQPtrCollection::setAutoDelete ( bool enable )" Sets the collection to auto-delete its contents if \fIenable\fR is TRUE and to never delete them if \fIenable\fR is FALSE. .PP If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items. @@ -343,7 +343,7 @@ Returns a pointer to the item taken out, or 0 if the key does not exist in the d All dictionary iterators that refer to the taken item will be set to point to the next item in the dictionary traversal order. .PP See also remove(), clear(), and setAutoDelete(). -.SH "QDataStream & QDict::write ( QDataStream & s, QPtrCollection::Item ) const\fC [virtual protected]\fR" +.SH "QDataStream & QDict::write ( QDataStream & s, TQPtrCollection::Item ) const\fC [virtual protected]\fR" Writes a dictionary item to the stream \fIs\fR and returns a reference to the stream. .PP See also read(). diff --git a/doc/man/man3/tqdir.3qt b/doc/man/man3/tqdir.3qt index c4a783ab..e28daa8f 100644 --- a/doc/man/man3/tqdir.3qt +++ b/doc/man/man3/tqdir.3qt @@ -511,7 +511,7 @@ Returns 0 if the directory is unreadable or does not exist. .PP The returned pointer is a const pointer to a QFileInfoList. The list is owned by the QDir object and will be reused on the next call to entryInfoList() for the same QDir instance. If you want to keep the entries of the list after a subsequent call to this function you must copy them. .PP -Note: QFileInfoList is really a QPtrList. +Note: QFileInfoList is really a TQPtrList. .PP See also entryList(), setNameFilter(), setSorting(), and setFilter(). .PP @@ -528,7 +528,7 @@ Returns 0 if the directory is unreadable or does not exist. .PP The returned pointer is a const pointer to a QFileInfoList. The list is owned by the QDir object and will be reused on the next call to entryInfoList() for the same QDir instance. If you want to keep the entries of the list after a subsequent call to this function you must copy them. .PP -Note: QFileInfoList is really a QPtrList. +Note: QFileInfoList is really a TQPtrList. .PP See also entryList(), setNameFilter(), setSorting(), and setFilter(). .SH "QStringList QDir::entryList ( const TQString & nameFilter, int filterSpec = DefaultFilter, int sortSpec = DefaultSort ) const\fC [virtual]\fR" diff --git a/doc/man/man3/tqdockarea.3qt b/doc/man/man3/tqdockarea.3qt index b7e746ab..c799b50d 100644 --- a/doc/man/man3/tqdockarea.3qt +++ b/doc/man/man3/tqdockarea.3qt @@ -49,7 +49,7 @@ Inherits TQWidget. .BI "int \fBcount\fR () const" .br .ti -1c -.BI "QPtrList \fBdockWindowList\fR () const" +.BI "TQPtrList \fBdockWindowList\fR () const" .br .ti -1c .BI "bool \fBisDockWindowAccepted\fR ( QDockWindow * dw )" @@ -144,7 +144,7 @@ Destroys the dock area and all the dock windows docked in the dock area. Does not affect any floating dock windows or dock windows in other dock areas, even if they first appeared in this dock area. Floating dock windows are effectively top level windows and are not child windows of the dock area. When a floating dock window is docked (dragged into a dock area) its parent becomes the dock area. .SH "int QDockArea::count () const" Returns the number of dock windows in the dock area. See the "count" property for details. -.SH "QPtrList QDockArea::dockWindowList () const" +.SH "TQPtrList QDockArea::dockWindowList () const" Returns a list of the dock windows in the dock area. .SH "HandlePosition QDockArea::handlePosition () const" Returns where the dock window splitter handle is placed in the dock area. See the "handlePosition" property for details. diff --git a/doc/man/man3/tqintcache.3qt b/doc/man/man3/tqintcache.3qt index 6b16b4e0..458b8217 100644 --- a/doc/man/man3/tqintcache.3qt +++ b/doc/man/man3/tqintcache.3qt @@ -11,7 +11,7 @@ QIntCache \- Template class that provides a cache based on long keys .SH SYNOPSIS \fC#include \fR .PP -Inherits QPtrCollection. +Inherits TQPtrCollection. .PP .SS "Public Members" .in +1c @@ -72,7 +72,7 @@ Apart from insert(), by far the most important function is find() (which also ex .PP There are also methods to remove() or take() an object from the cache. Calling setAutoDelete(TRUE) for a cache tells it to delete items that are removed. The default is to not delete items when they are removed (i.e. remove() and take() are equivalent). .PP -When inserting an item into the cache, only the pointer is copied, not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual function QPtrCollection::newItem() for the item to be inserted. Inherit a dictionary and reimplement newItem() if you want deep copies. +When inserting an item into the cache, only the pointer is copied, not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual function TQPtrCollection::newItem() for the item to be inserted. Inherit a dictionary and reimplement newItem() if you want deep copies. .PP When removing a cache item, the item will be automatically deleted if auto-deletion is enabled. .PP @@ -95,13 +95,13 @@ All cache iterators that operate this on cache are reset. .PP See also remove() and take(). .PP -Reimplemented from QPtrCollection. +Reimplemented from TQPtrCollection. .SH "uint QIntCache::count () const\fC [virtual]\fR" Returns the number of items in the cache. .PP See also totalCost(). .PP -Reimplemented from QPtrCollection. +Reimplemented from TQPtrCollection. .SH "type * QIntCache::find ( long k, bool ref = TRUE ) const" Returns the item associated with \fIk\fR, or 0 if the key does not exist in the cache. If \fIref\fR is TRUE (the default), the item is moved to the front of the least recently used list. .PP diff --git a/doc/man/man3/tqintdict.3qt b/doc/man/man3/tqintdict.3qt index 2b91b983..936ca6cd 100644 --- a/doc/man/man3/tqintdict.3qt +++ b/doc/man/man3/tqintdict.3qt @@ -11,7 +11,7 @@ QIntDict \- Template class that provides a dictionary based on long keys .SH SYNOPSIS \fC#include \fR .PP -Inherits QPtrCollection. +Inherits TQPtrCollection. .PP .SS "Public Members" .in +1c @@ -76,10 +76,10 @@ Inherits QPtrCollection. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, QPtrCollection::Item & item )" +.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, TQPtrCollection::Item & item )" .br .ti -1c -.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, QPtrCollection::Item ) const" +.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, TQPtrCollection::Item ) const" .br .in -1c .SH DESCRIPTION @@ -135,7 +135,7 @@ Example: .PP See QDict for full details, including the choice of dictionary size, and how deletions are handled. .PP -See also QIntDictIterator, QDict, QAsciiDict, QPtrDict, Collection Classes, Collection Classes, and Non-GUI Classes. +See also QIntDictIterator, QDict, QAsciiDict, TQPtrDict, Collection Classes, Collection Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QIntDict::QIntDict ( int size = 17 )" Constructs a dictionary using an internal hash array of size \fIsize\fR. @@ -151,7 +151,7 @@ Removes all items from the dictionary and destroys it. All iterators that access this dictionary will be reset. .PP See also setAutoDelete(). -.SH "bool QPtrCollection::autoDelete () const" +.SH "bool TQPtrCollection::autoDelete () const" Returns the setting of the auto-delete option. The default is FALSE. .PP See also setAutoDelete(). @@ -164,13 +164,13 @@ All dictionary iterators that access this dictionary will be reset. .PP See also remove(), take(), and setAutoDelete(). .PP -Reimplemented from QPtrCollection. +Reimplemented from TQPtrCollection. .SH "uint QIntDict::count () const\fC [virtual]\fR" Returns the number of items in the dictionary. .PP See also isEmpty(). .PP -Reimplemented from QPtrCollection. +Reimplemented from TQPtrCollection. .SH "type * QIntDict::find ( long key ) const" Returns the item associated with \fIkey\fR, or 0 if the key does not exist in the dictionary. .PP @@ -207,7 +207,7 @@ If there are two or more items with equal keys, then the most recently inserted Equivalent to the find() function. .PP See also find(). -.SH "QDataStream & QIntDict::read ( QDataStream & s, QPtrCollection::Item & item )\fC [virtual protected]\fR" +.SH "QDataStream & QIntDict::read ( QDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR" Reads a dictionary item from the stream \fIs\fR and returns a reference to the stream. .PP The default implementation sets \fIitem\fR to 0. @@ -253,7 +253,7 @@ See also insert(). Example: table/bigtable/main.cpp. .SH "void QIntDict::resize ( uint newsize )" Changes the size of the hashtable to \fInewsize\fR. The contents of the dictionary are preserved, but all iterators on the dictionary become invalid. -.SH "void QPtrCollection::setAutoDelete ( bool enable )" +.SH "void TQPtrCollection::setAutoDelete ( bool enable )" Sets the collection to auto-delete its contents if \fIenable\fR is TRUE and to never delete them if \fIenable\fR is FALSE. .PP If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items. @@ -284,7 +284,7 @@ All dictionary iterators that refer to the taken item will be set to point to th See also remove(), clear(), and setAutoDelete(). .PP Example: table/bigtable/main.cpp. -.SH "QDataStream & QIntDict::write ( QDataStream & s, QPtrCollection::Item ) const\fC [virtual protected]\fR" +.SH "QDataStream & QIntDict::write ( QDataStream & s, TQPtrCollection::Item ) const\fC [virtual protected]\fR" Writes a dictionary item to the stream \fIs\fR and returns a reference to the stream. .PP See also read(). diff --git a/doc/man/man3/tqlistviewitemiterator.3qt b/doc/man/man3/tqlistviewitemiterator.3qt index 013d2613..473df974 100644 --- a/doc/man/man3/tqlistviewitemiterator.3qt +++ b/doc/man/man3/tqlistviewitemiterator.3qt @@ -72,11 +72,11 @@ Construct an instance of a QListViewItemIterator, with either a QListView* or a .PP A QListViewItemIterator iterates over all the items from its starting point. This means that it always makes the first child of the current item the new current item. If there is no child, the next sibling becomes the new current item; and if there is no next sibling, the next sibling of the parent becomes current. .PP -The following example creates a list of all the items that have been selected by the user, storing pointers to the items in a QPtrList: +The following example creates a list of all the items that have been selected by the user, storing pointers to the items in a TQPtrList: .PP .nf .br - QPtrList lst; + TQPtrList lst; .br QListViewItemIterator it( myListView ); .br @@ -96,7 +96,7 @@ An alternative approach is to use an IteratorFlag: .PP .nf .br - QPtrList lst; + TQPtrList lst; .br QListViewItemIterator it( myListView, QListViewItemIterator::Selected ); .br diff --git a/doc/man/man3/tqmacmime.3qt b/doc/man/man3/tqmacmime.3qt index 4166efc3..76ffb3e6 100644 --- a/doc/man/man3/tqmacmime.3qt +++ b/doc/man/man3/tqmacmime.3qt @@ -47,7 +47,7 @@ QMacMime \- Maps open-standard MIME to Mac flavors .SS "Static Public Members" .in +1c .ti -1c -.BI "QPtrList \fBall\fR ( QMacMimeType t )" +.BI "TQPtrList \fBall\fR ( QMacMimeType t )" .br .ti -1c .BI "QMacMime * \fBconvertor\fR ( QMacMimeType t, const char * mime, int flav )" @@ -81,7 +81,7 @@ See also Drag And Drop Classes, Input/Output and Networking, and Miscellaneous C Constructs a new conversion object of type \fIt\fR, adding it to the globally accessed list of available convertors. .SH "QMacMime::~QMacMime ()\fC [virtual]\fR" Destroys a conversion object, removing it from the global list of available convertors. -.SH "QPtrList QMacMime::all ( QMacMimeType t )\fC [static]\fR" +.SH "TQPtrList QMacMime::all ( QMacMimeType t )\fC [static]\fR" Returns a list of all currently defined QMacMime objects of type \fIt\fR. .SH "bool QMacMime::canConvert ( const char * mime, int flav )\fC [pure virtual]\fR" Returns TRUE if the convertor can convert (both ways) between \fImime\fR and \fIflav\fR; otherwise returns FALSE. diff --git a/doc/man/man3/tqmainwindow.3qt b/doc/man/man3/tqmainwindow.3qt index 0d5dda86..244760e1 100644 --- a/doc/man/man3/tqmainwindow.3qt +++ b/doc/man/man3/tqmainwindow.3qt @@ -88,10 +88,10 @@ Inherits TQWidget. .BI "bool \fBgetLocation\fR ( QDockWindow * dw, Dock & dock, int & index, bool & nl, int & extraOffset ) const" .br .ti -1c -.BI "QPtrList \fBdockWindows\fR ( Dock dock ) const" +.BI "TQPtrList \fBdockWindows\fR ( Dock dock ) const" .br .ti -1c -.BI "QPtrList \fBdockWindows\fR () const" +.BI "TQPtrList \fBdockWindows\fR () const" .br .ti -1c .BI "void \fBlineUpDockWindows\fR ( bool keepNewLines = FALSE )" @@ -121,7 +121,7 @@ Inherits TQWidget. .BI "bool toolBarsMovable () const \fI(obsolete)\fR" .br .ti -1c -.BI "QPtrList \fBtoolBars\fR ( Dock dock ) const" +.BI "TQPtrList \fBtoolBars\fR ( Dock dock ) const" .br .ti -1c .BI "void lineUpToolBars ( bool keepNewLines = FALSE ) \fI(obsolete)\fR" @@ -554,11 +554,11 @@ See also isCustomizable(). This signal is emitted when the \fIdockWindow\fR has changed its position. A change in position occurs when a dock window is moved within its dock area or moved to another dock area (including the Minimized and \fCTearOff\fR dock areas). .PP See also getLocation(). -.SH "QPtrList QMainWindow::dockWindows ( Dock dock ) const" +.SH "TQPtrList QMainWindow::dockWindows ( Dock dock ) const" Returns a list of all the dock windows which are in the \fIdock\fR dock area, regardless of their state. .PP For example, the DockTornOff dock area may contain closed dock windows but these are returned along with the visible dock windows. -.SH "QPtrList QMainWindow::dockWindows () const" +.SH "TQPtrList QMainWindow::dockWindows () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the list of dock windows which belong to this main window, regardless of which dock area they are in or what their state is, (e.g. irrespective of whether they are visible or not). @@ -720,7 +720,7 @@ See also menuBar() and toolTipGroup(). Example: qfd/qfd.cpp. .SH "void QMainWindow::toolBarPositionChanged ( QToolBar * )\fC [signal]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "QPtrList QMainWindow::toolBars ( Dock dock ) const" +.SH "TQPtrList QMainWindow::toolBars ( Dock dock ) const" Returns a list of all the toolbars which are in the \fIdock\fR dock area, regardless of their state. .PP For example, the TornOff dock area may contain closed toolbars but these are returned along with the visible toolbars. diff --git a/doc/man/man3/tqmap.3qt b/doc/man/man3/tqmap.3qt index 04b53cb7..ca3bbdba 100644 --- a/doc/man/man3/tqmap.3qt +++ b/doc/man/man3/tqmap.3qt @@ -172,7 +172,7 @@ The TQMap class is a value-based template class that provides a dictionary. .PP TQMap is a TQt implementation of an STL-like map container. It can be used in your application if the standard \fCmap\fR is not available on all your target platforms. TQMap is part of the TQt Template Library. .PP -TQMap defines a template instance to create a dictionary with keys of type Key and values of type Data. TQMap does not store pointers to the members of the map; instead, it holds a copy of every member. For this reason, TQMap is value-based, whereas QPtrList and QDict are pointer-based. +TQMap defines a template instance to create a dictionary with keys of type Key and values of type Data. TQMap does not store pointers to the members of the map; instead, it holds a copy of every member. For this reason, TQMap is value-based, whereas TQPtrList and QDict are pointer-based. .PP TQMap contains and manages a collection of objects of type Data with associated key values of type Key and provides iterators that allow the contained objects to be addressed. TQMap owns the contained items. .PP diff --git a/doc/man/man3/tqmemarray.3qt b/doc/man/man3/tqmemarray.3qt index 207ef97f..94ae8f85 100644 --- a/doc/man/man3/tqmemarray.3qt +++ b/doc/man/man3/tqmemarray.3qt @@ -157,7 +157,7 @@ QMemArray is implemented as a template class. Define a template instance QMemArr .PP QMemArray stores the array elements directly in the array. It can only deal with simple types (i.e. C++ types, structs, and classes that have no constructors, destructors, or virtual functions). QMemArray uses bitwise operations to copy and compare array elements. .PP -The QPtrVector collection class is also a kind of array. Like most collection classes, it uses pointers to the contained items. +The TQPtrVector collection class is also a kind of array. Like most collection classes, it uses pointers to the contained items. .PP QMemArray uses explicit sharing with a reference count. If more than one array shares common data and one of the arrays is modified, all the arrays are modified. .PP diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt index 08a22236..b741deaf 100644 --- a/doc/man/man3/tqobject.3qt +++ b/doc/man/man3/tqobject.3qt @@ -213,7 +213,7 @@ Notice that the TQ_OBJECT macro is mandatory for any object that implements sign .PP All TQt widgets inherit TQObject. The convenience function isWidgetType() returns whether an object is actually a widget. It is much faster than inherits( "TQWidget" ). .PP -Some TQObject functions, e.g. children(), objectTrees() and queryList() return a TQObjectList. A TQObjectList is a QPtrList of TQObjects. TQObjectLists support the same operations as QPtrLists and have an iterator class, TQObjectListIt. +Some TQObject functions, e.g. children(), objectTrees() and queryList() return a TQObjectList. A TQObjectList is a TQPtrList of TQObjects. TQObjectLists support the same operations as TQPtrLists and have an iterator class, TQObjectListIt. .PP See also Object Model. .SH MEMBER FUNCTION DOCUMENTATION diff --git a/doc/man/man3/tqobjectlist.3qt b/doc/man/man3/tqobjectlist.3qt index f196e35b..a7c79229 100644 --- a/doc/man/man3/tqobjectlist.3qt +++ b/doc/man/man3/tqobjectlist.3qt @@ -7,11 +7,11 @@ .ad l .nh .SH NAME -TQObjectList \- QPtrList of TQObjects +TQObjectList \- TQPtrList of TQObjects .SH SYNOPSIS \fC#include \fR .PP -Inherits QPtrList. +Inherits TQPtrList. .PP .SS "Public Members" .in +1c @@ -29,9 +29,9 @@ Inherits QPtrList. .br .in -1c .SH DESCRIPTION -The TQObjectList class is a QPtrList of TQObjects. +The TQObjectList class is a TQPtrList of TQObjects. .PP -A TQObjectList is a QPtrList. The list can be traversed using inherited functions, e.g. getFirst(), next(), etc., or using a TQObjectListIterator iterator. +A TQObjectList is a TQPtrList. The list can be traversed using inherited functions, e.g. getFirst(), next(), etc., or using a TQObjectListIterator iterator. .PP See TQObject::queryList() for an example of use. .PP diff --git a/doc/man/man3/tqobjectlistiterator.3qt b/doc/man/man3/tqobjectlistiterator.3qt index 67238755..77d62fb3 100644 --- a/doc/man/man3/tqobjectlistiterator.3qt +++ b/doc/man/man3/tqobjectlistiterator.3qt @@ -11,7 +11,7 @@ TQObjectListIterator \- Iterator for TQObjectLists .SH SYNOPSIS \fC#include \fR .PP -Inherits QPtrListIterator. +Inherits TQPtrListIterator. .PP .SS "Public Members" .in +1c @@ -25,7 +25,7 @@ Inherits QPtrListIterator. .SH DESCRIPTION The TQObjectListIterator class provides an iterator for TQObjectLists. .PP -A TQObjectListIterator iterator is a QPtrListIterator. +A TQObjectListIterator iterator is a TQPtrListIterator. .PP See TQObject::queryList() for an example of use. .PP diff --git a/doc/man/man3/tqpair.3qt b/doc/man/man3/tqpair.3qt index 00f83cdb..63bc7168 100644 --- a/doc/man/man3/tqpair.3qt +++ b/doc/man/man3/tqpair.3qt @@ -40,9 +40,9 @@ The TQPair class is a value-based template class that provides a pair of element .PP TQPair is a TQt implementation of an STL-like pair. It can be used in your application if the standard pair<> is not available on your target platforms. .PP -TQPair defines a template instance to create a pair of values that contains two values of type T1 and T2. Please note that TQPair does not store pointers to the two elements; it holds a copy of every member. This is why these kinds of classes are called \fIvalue based\fR. If you're interested in \fIpointer based\fR classes see, for example, QPtrList and QDict. +TQPair defines a template instance to create a pair of values that contains two values of type T1 and T2. Please note that TQPair does not store pointers to the two elements; it holds a copy of every member. This is why these kinds of classes are called \fIvalue based\fR. If you're interested in \fIpointer based\fR classes see, for example, TQPtrList and QDict. .PP -TQPair holds one copy of type T1 and one copy of type T2, but does not provide iterators to access these elements. Instead, the two elements (\fCfirst\fR and \fCsecond\fR) are public member variables of the pair. TQPair owns the contained elements. For more relaxed ownership semantics, see QPtrCollection and friends which are pointer-based containers. +TQPair holds one copy of type T1 and one copy of type T2, but does not provide iterators to access these elements. Instead, the two elements (\fCfirst\fR and \fCsecond\fR) are public member variables of the pair. TQPair owns the contained elements. For more relaxed ownership semantics, see TQPtrCollection and friends which are pointer-based containers. .PP Some classes cannot be used within a TQPair: for example, all classes derived from TQObject and thus all classes that implement widgets. Only "values" can be used in a TQPair. To qualify as a value the class must provide: .TP diff --git a/doc/man/man3/tqptrcollection.3qt b/doc/man/man3/tqptrcollection.3qt index 101c81cb..3932c2b5 100644 --- a/doc/man/man3/tqptrcollection.3qt +++ b/doc/man/man3/tqptrcollection.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPtrCollection 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPtrCollection 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,13 +7,13 @@ .ad l .nh .SH NAME -QPtrCollection \- The base class of most pointer-based TQt collections +TQPtrCollection \- The base class of most pointer-based TQt collections .SH SYNOPSIS All the functions in this class are reentrant when TQt is built with thread support.

                .PP -\fC#include \fR +\fC#include \fR .PP -Inherited by QAsciiCache, QAsciiDict, QCache, QDict, QIntCache, QIntDict, QPtrList, QPtrDict, and QPtrVector. +Inherited by QAsciiCache, QAsciiDict, QCache, QDict, QIntCache, QIntDict, TQPtrList, TQPtrDict, and TQPtrVector. .PP .SS "Public Members" .in +1c @@ -36,13 +36,13 @@ Inherited by QAsciiCache, QAsciiDict, QCache, QDict, QIntCache, QIntDict, QPtrLi .SS "Protected Members" .in +1c .ti -1c -.BI "\fBQPtrCollection\fR ()" +.BI "\fBTQPtrCollection\fR ()" .br .ti -1c -.BI "\fBQPtrCollection\fR ( const QPtrCollection & source )" +.BI "\fBTQPtrCollection\fR ( const TQPtrCollection & source )" .br .ti -1c -.BI "virtual \fB~QPtrCollection\fR ()" +.BI "virtual \fB~TQPtrCollection\fR ()" .br .ti -1c .BI "virtual Item \fBnewItem\fR ( Item d )" @@ -52,42 +52,42 @@ Inherited by QAsciiCache, QAsciiDict, QCache, QDict, QIntCache, QIntDict, QPtrLi .br .in -1c .SH DESCRIPTION -The QPtrCollection class is the base class of most pointer-based TQt collections. +The TQPtrCollection class is the base class of most pointer-based TQt collections. .PP -The QPtrCollection class is an abstract base class for the TQt collection classes QDict, QPtrList, etc. TQt also includes value based collections, e.g. TQValueList, TQMap, etc. +The TQPtrCollection class is an abstract base class for the TQt collection classes QDict, TQPtrList, etc. TQt also includes value based collections, e.g. TQValueList, TQMap, etc. .PP -A QPtrCollection only knows about the number of objects in the collection and the deletion strategy (see setAutoDelete()). +A TQPtrCollection only knows about the number of objects in the collection and the deletion strategy (see setAutoDelete()). .PP A collection is implemented using the Item (generic collection item) type, which is a \fCvoid*\fR. The template classes that create the real collections cast the Item to the required type. .PP See also Collection Classes and Non-GUI Classes. .SS "Member Type Documentation" -.SH "QPtrCollection::Item" -This type is the generic "item" in a QPtrCollection. +.SH "TQPtrCollection::Item" +This type is the generic "item" in a TQPtrCollection. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPtrCollection::QPtrCollection ()\fC [protected]\fR" -Constructs a collection. The constructor is protected because QPtrCollection is an abstract class. -.SH "QPtrCollection::QPtrCollection ( const QPtrCollection & source )\fC [protected]\fR" -Constructs a copy of \fIsource\fR with autoDelete() set to FALSE. The constructor is protected because QPtrCollection is an abstract class. +.SH "TQPtrCollection::TQPtrCollection ()\fC [protected]\fR" +Constructs a collection. The constructor is protected because TQPtrCollection is an abstract class. +.SH "TQPtrCollection::TQPtrCollection ( const TQPtrCollection & source )\fC [protected]\fR" +Constructs a copy of \fIsource\fR with autoDelete() set to FALSE. The constructor is protected because TQPtrCollection is an abstract class. .PP Note that if \fIsource\fR has autoDelete turned on, copying it will risk memory leaks, reading freed memory, or both. -.SH "QPtrCollection::~QPtrCollection ()\fC [virtual protected]\fR" -Destroys the collection. The destructor is protected because QPtrCollection is an abstract class. -.SH "bool QPtrCollection::autoDelete () const" +.SH "TQPtrCollection::~TQPtrCollection ()\fC [virtual protected]\fR" +Destroys the collection. The destructor is protected because TQPtrCollection is an abstract class. +.SH "bool TQPtrCollection::autoDelete () const" Returns the setting of the auto-delete option. The default is FALSE. .PP See also setAutoDelete(). -.SH "void QPtrCollection::clear ()\fC [pure virtual]\fR" +.SH "void TQPtrCollection::clear ()\fC [pure virtual]\fR" Removes all objects from the collection. The objects will be deleted if auto-delete has been enabled. .PP See also setAutoDelete(). .PP -Reimplemented in QAsciiCache, QAsciiDict, QCache, QDict, QIntCache, QIntDict, QPtrList, QPtrDict, and QPtrVector. -.SH "uint QPtrCollection::count () const\fC [pure virtual]\fR" +Reimplemented in QAsciiCache, QAsciiDict, QCache, QDict, QIntCache, QIntDict, TQPtrList, TQPtrDict, and TQPtrVector. +.SH "uint TQPtrCollection::count () const\fC [pure virtual]\fR" Returns the number of objects in the collection. .PP -Reimplemented in QAsciiCache, QAsciiDict, QCache, QDict, QIntCache, QIntDict, QPtrList, QPtrDict, and QPtrVector. -.SH "void QPtrCollection::deleteItem ( Item d )\fC [pure virtual protected]\fR" +Reimplemented in QAsciiCache, QAsciiDict, QCache, QDict, QIntCache, QIntDict, TQPtrList, TQPtrDict, and TQPtrVector. +.SH "void TQPtrCollection::deleteItem ( Item d )\fC [pure virtual protected]\fR" Reimplement this function if you want to be able to delete items. .PP Deletes an item that is about to be removed from the collection. @@ -97,7 +97,7 @@ This function has to reimplemented in the collection template classes, and shoul \fBWarning:\fR If you reimplement this function you must also reimplement the destructor and call the virtual function clear() from your destructor. This is due to the way virtual functions and destructors work in C++: Virtual functions in derived classes cannot be called from a destructor. If you do not do this, your deleteItem() function will not be called when the container is destroyed. .PP See also newItem() and setAutoDelete(). -.SH "Item QPtrCollection::newItem ( Item d )\fC [virtual protected]\fR" +.SH "Item TQPtrCollection::newItem ( Item d )\fC [virtual protected]\fR" Virtual function that creates a copy of an object that is about to be inserted into the collection. .PP The default implementation returns the \fId\fR pointer, i.e. no copy is made. @@ -105,7 +105,7 @@ The default implementation returns the \fId\fR pointer, i.e. no copy is made. This function is seldom reimplemented in the collection template classes. It is not common practice to make a copy of something that is being inserted. .PP See also deleteItem(). -.SH "void QPtrCollection::setAutoDelete ( bool enable )" +.SH "void TQPtrCollection::setAutoDelete ( bool enable )" Sets the collection to auto-delete its contents if \fIenable\fR is TRUE and to never delete them if \fIenable\fR is FALSE. .PP If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items. @@ -120,7 +120,7 @@ Examples: .)l grapher/grapher.cpp, scribble/scribble.cpp, and table/bigtable/main.cpp. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqptrcollection.html +.BR http://doc.trolltech.com/tqptrcollection.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqptrdict.3qt b/doc/man/man3/tqptrdict.3qt index 8a8d1df7..2adccce2 100644 --- a/doc/man/man3/tqptrdict.3qt +++ b/doc/man/man3/tqptrdict.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPtrDict 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPtrDict 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,25 +7,25 @@ .ad l .nh .SH NAME -QPtrDict \- Template class that provides a dictionary based on void* keys +TQPtrDict \- Template class that provides a dictionary based on void* keys .SH SYNOPSIS -\fC#include \fR +\fC#include \fR .PP -Inherits QPtrCollection. +Inherits TQPtrCollection. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPtrDict\fR ( int size = 17 )" +.BI "\fBTQPtrDict\fR ( int size = 17 )" .br .ti -1c -.BI "\fBQPtrDict\fR ( const QPtrDict & dict )" +.BI "\fBTQPtrDict\fR ( const TQPtrDict & dict )" .br .ti -1c -.BI "\fB~QPtrDict\fR ()" +.BI "\fB~TQPtrDict\fR ()" .br .ti -1c -.BI "QPtrDict & \fBoperator=\fR ( const QPtrDict & dict )" +.BI "TQPtrDict & \fBoperator=\fR ( const TQPtrDict & dict )" .br .ti -1c .BI "virtual uint \fBcount\fR () const" @@ -76,16 +76,16 @@ Inherits QPtrCollection. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, QPtrCollection::Item & item )" +.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, TQPtrCollection::Item & item )" .br .ti -1c -.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, QPtrCollection::Item ) const" +.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, TQPtrCollection::Item ) const" .br .in -1c .SH DESCRIPTION -The QPtrDict class is a template class that provides a dictionary based on void* keys. +The TQPtrDict class is a template class that provides a dictionary based on void* keys. .PP -QPtrDict is implemented as a template class. Define a template instance QPtrDict to create a dictionary that operates on pointers to X (X*). +TQPtrDict is implemented as a template class. Define a template instance TQPtrDict to create a dictionary that operates on pointers to X (X*). .PP A dictionary is a collection of key-value pairs. The key is a void* used for insertion, removal and lookup. The value is a pointer. Dictionaries provide very fast insertion and lookup. .PP @@ -93,7 +93,7 @@ Example: .PP .nf .br - QPtrDict fields; // void* keys, char* values + TQPtrDict fields; // void* keys, char* values .br .br QLineEdit *le1 = new QLineEdit( this ); @@ -116,7 +116,7 @@ Example: fields.insert( le3, "Age" ); .br .br - QPtrDictIterator it( fields ); + TQPtrDictIterator it( fields ); .br for( ; it.current(); ++it ) .br @@ -145,27 +145,27 @@ In this example we use a dictionary to add an extra property (a char*) to the li .PP See QDict for full details, including the choice of dictionary size, and how deletions are handled. .PP -See also QPtrDictIterator, QDict, QAsciiDict, QIntDict, Collection Classes, Collection Classes, and Non-GUI Classes. +See also TQPtrDictIterator, QDict, QAsciiDict, QIntDict, Collection Classes, Collection Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPtrDict::QPtrDict ( int size = 17 )" +.SH "TQPtrDict::TQPtrDict ( int size = 17 )" Constructs a dictionary using an internal hash array with the size \fIsize\fR. .PP Setting \fIsize\fR to a suitably large prime number (equal to or greater than the expected number of entries) makes the hash distribution better and improves lookup performance. -.SH "QPtrDict::QPtrDict ( const QPtrDict & dict )" +.SH "TQPtrDict::TQPtrDict ( const TQPtrDict & dict )" Constructs a copy of \fIdict\fR. .PP Each item in \fIdict\fR is inserted into this dictionary. Only the pointers are copied (shallow copy). -.SH "QPtrDict::~QPtrDict ()" +.SH "TQPtrDict::~TQPtrDict ()" Removes all items from the dictionary and destroys it. .PP All iterators that access this dictionary will be reset. .PP See also setAutoDelete(). -.SH "bool QPtrCollection::autoDelete () const" +.SH "bool TQPtrCollection::autoDelete () const" Returns the setting of the auto-delete option. The default is FALSE. .PP See also setAutoDelete(). -.SH "void QPtrDict::clear ()\fC [virtual]\fR" +.SH "void TQPtrDict::clear ()\fC [virtual]\fR" Removes all items from the dictionary. .PP The removed items are deleted if auto-deletion is enabled. @@ -174,14 +174,14 @@ All dictionary iterators that access this dictionary will be reset. .PP See also remove(), take(), and setAutoDelete(). .PP -Reimplemented from QPtrCollection. -.SH "uint QPtrDict::count () const\fC [virtual]\fR" +Reimplemented from TQPtrCollection. +.SH "uint TQPtrDict::count () const\fC [virtual]\fR" Returns the number of items in the dictionary. .PP See also isEmpty(). .PP -Reimplemented from QPtrCollection. -.SH "type * QPtrDict::find ( void * key ) const" +Reimplemented from TQPtrCollection. +.SH "type * TQPtrDict::find ( void * key ) const" Returns the item associated with \fIkey\fR, or 0 if the key does not exist in the dictionary. .PP If there are two or more items with equal keys, then the most recently inserted item will be found. @@ -189,7 +189,7 @@ If there are two or more items with equal keys, then the most recently inserted Equivalent to operator[]. .PP See also operator[](). -.SH "void QPtrDict::insert ( void * key, const type * item )" +.SH "void TQPtrDict::insert ( void * key, const type * item )" Inserts the \fIkey\fR with the \fIitem\fR into the dictionary. .PP Multiple items can have the same key, in which case only the last item will be accessible using operator[](). @@ -197,15 +197,15 @@ Multiple items can have the same key, in which case only the last item will be a \fIitem\fR may not be 0. .PP See also replace(). -.SH "bool QPtrDict::isEmpty () const" +.SH "bool TQPtrDict::isEmpty () const" Returns TRUE if the dictionary is empty; otherwise returns FALSE. .PP See also count(). -.SH "QPtrDict & QPtrDict::operator= ( const QPtrDict & dict )" +.SH "TQPtrDict & TQPtrDict::operator= ( const TQPtrDict & dict )" Assigns \fIdict\fR to this dictionary and returns a reference to this dictionary. .PP This dictionary is first cleared and then each item in \fIdict\fR is inserted into the dictionary. Only the pointers are copied (shallow copy), unless newItem() has been reimplemented. -.SH "type * QPtrDict::operator[] ( void * key ) const" +.SH "type * TQPtrDict::operator[] ( void * key ) const" Returns the item associated with \fIkey\fR, or 0 if the key does not exist in the dictionary. .PP If there are two or more items with equal keys, then the most recently inserted item will be found. @@ -213,13 +213,13 @@ If there are two or more items with equal keys, then the most recently inserted Equivalent to the find() function. .PP See also find(). -.SH "QDataStream & QPtrDict::read ( QDataStream & s, QPtrCollection::Item & item )\fC [virtual protected]\fR" +.SH "QDataStream & TQPtrDict::read ( QDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR" Reads a dictionary item from the stream \fIs\fR and returns a reference to the stream. .PP The default implementation sets \fIitem\fR to 0. .PP See also write(). -.SH "bool QPtrDict::remove ( void * key )" +.SH "bool TQPtrDict::remove ( void * key )" Removes the item associated with \fIkey\fR from the dictionary. Returns TRUE if successful, i.e. if \fIkey\fR is in the dictionary; otherwise returns FALSE. .PP If there are two or more items with equal keys, then the most recently inserted item will be removed. @@ -229,7 +229,7 @@ The removed item is deleted if auto-deletion is enabled. All dictionary iterators that refer to the removed item will be set to point to the next item in the dictionary traversal order. .PP See also take(), clear(), and setAutoDelete(). -.SH "void QPtrDict::replace ( void * key, const type * item )" +.SH "void TQPtrDict::replace ( void * key, const type * item )" If the dictionary has key \fIkey\fR, this key's item is replaced with \fIitem\fR. If the dictionary doesn't contain key \fIkey\fR, \fIitem\fR is inserted into the dictionary using key \fIkey\fR. .PP \fIitem\fR may not be 0. @@ -238,7 +238,7 @@ Equivalent to .PP .nf .br - QPtrDict dict; + TQPtrDict dict; .br ... .br @@ -253,9 +253,9 @@ Equivalent to If there are two or more items with equal keys, then the most recently inserted item will be replaced. .PP See also insert(). -.SH "void QPtrDict::resize ( uint newsize )" +.SH "void TQPtrDict::resize ( uint newsize )" Changes the size of the hash table to \fInewsize\fR. The contents of the dictionary are preserved, but all iterators on the dictionary become invalid. -.SH "void QPtrCollection::setAutoDelete ( bool enable )" +.SH "void TQPtrCollection::setAutoDelete ( bool enable )" Sets the collection to auto-delete its contents if \fIenable\fR is TRUE and to never delete them if \fIenable\fR is FALSE. .PP If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items. @@ -268,13 +268,13 @@ See also autoDelete(). .PP Examples: .)l grapher/grapher.cpp, scribble/scribble.cpp, and table/bigtable/main.cpp. -.SH "uint QPtrDict::size () const" +.SH "uint TQPtrDict::size () const" Returns the size of the internal hash table (as specified in the constructor). .PP See also count(). -.SH "void QPtrDict::statistics () const" +.SH "void TQPtrDict::statistics () const" Debugging-only function that prints out the dictionary distribution using tqDebug(). -.SH "type * QPtrDict::take ( void * key )" +.SH "type * TQPtrDict::take ( void * key )" Takes the item associated with \fIkey\fR out of the dictionary without deleting it (even if auto-deletion is enabled). .PP If there are two or more items with equal keys, then the most recently inserted item will be removed. @@ -284,13 +284,13 @@ Returns a pointer to the item taken out, or 0 if the key does not exist in the d All dictionary iterators that refer to the taken item will be set to point to the next item in the dictionary traversal order. .PP See also remove(), clear(), and setAutoDelete(). -.SH "QDataStream & QPtrDict::write ( QDataStream & s, QPtrCollection::Item ) const\fC [virtual protected]\fR" +.SH "QDataStream & TQPtrDict::write ( QDataStream & s, TQPtrCollection::Item ) const\fC [virtual protected]\fR" Writes a dictionary item to the stream \fIs\fR and returns a reference to the stream. .PP See also read(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqptrdict.html +.BR http://doc.trolltech.com/tqptrdict.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqptrdictiterator.3qt b/doc/man/man3/tqptrdictiterator.3qt index 88861979..e5a8e744 100644 --- a/doc/man/man3/tqptrdictiterator.3qt +++ b/doc/man/man3/tqptrdictiterator.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPtrDictIterator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPtrDictIterator 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,17 +7,17 @@ .ad l .nh .SH NAME -QPtrDictIterator \- Iterator for QPtrDict collections +TQPtrDictIterator \- Iterator for TQPtrDict collections .SH SYNOPSIS -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPtrDictIterator\fR ( const QPtrDict & dict )" +.BI "\fBTQPtrDictIterator\fR ( const TQPtrDict & dict )" .br .ti -1c -.BI "\fB~QPtrDictIterator\fR ()" +.BI "\fB~TQPtrDictIterator\fR ()" .br .ti -1c .BI "uint \fBcount\fR () const" @@ -48,15 +48,15 @@ QPtrDictIterator \- Iterator for QPtrDict collections .br .in -1c .SH DESCRIPTION -The QPtrDictIterator class provides an iterator for QPtrDict collections. +The TQPtrDictIterator class provides an iterator for TQPtrDict collections. .PP -QPtrDictIterator is implemented as a template class. Define a template instance QPtrDictIterator to create a dictionary iterator that operates on QPtrDict (dictionary of X*). +TQPtrDictIterator is implemented as a template class. Define a template instance TQPtrDictIterator to create a dictionary iterator that operates on TQPtrDict (dictionary of X*). .PP Example: .PP .nf .br - QPtrDict fields; + TQPtrDict fields; .br .br QLineEdit *le1 = new QLineEdit( this ); @@ -79,7 +79,7 @@ Example: fields.insert( le3, "Age" ); .br .br - QPtrDictIterator it( fields ); + TQPtrDictIterator it( fields ); .br for( ; it.current(); ++it ) { .br @@ -103,47 +103,47 @@ Example: .fi In the example we insert some line edits into a dictionary, associating a string with each. We then iterate over the dictionary printing the associated strings. .PP -Multiple iterators may independently traverse the same dictionary. A QPtrDict knows about all the iterators that are operating on the dictionary. When an item is removed from the dictionary, QPtrDict updates all iterators that refer the removed item to point to the next item in the traversing order. +Multiple iterators may independently traverse the same dictionary. A TQPtrDict knows about all the iterators that are operating on the dictionary. When an item is removed from the dictionary, TQPtrDict updates all iterators that refer the removed item to point to the next item in the traversing order. .PP -See also QPtrDict, Collection Classes, and Non-GUI Classes. +See also TQPtrDict, Collection Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPtrDictIterator::QPtrDictIterator ( const QPtrDict & dict )" +.SH "TQPtrDictIterator::TQPtrDictIterator ( const TQPtrDict & dict )" Constructs an iterator for \fIdict\fR. The current iterator item is set to point on the first item in the \fIdict\fR. -.SH "QPtrDictIterator::~QPtrDictIterator ()" +.SH "TQPtrDictIterator::~TQPtrDictIterator ()" Destroys the iterator. -.SH "uint QPtrDictIterator::count () const" +.SH "uint TQPtrDictIterator::count () const" Returns the number of items in the dictionary this iterator operates on. .PP See also isEmpty(). -.SH "type * QPtrDictIterator::current () const" +.SH "type * TQPtrDictIterator::current () const" Returns a pointer to the current iterator item's value. -.SH "void * QPtrDictIterator::currentKey () const" +.SH "void * TQPtrDictIterator::currentKey () const" Returns the current iterator item's key. -.SH "bool QPtrDictIterator::isEmpty () const" +.SH "bool TQPtrDictIterator::isEmpty () const" Returns TRUE if the dictionary is empty; otherwise returns FALSE. .PP See also count(). -.SH "QPtrDictIterator::operator type * () const" +.SH "TQPtrDictIterator::operator type * () const" Cast operator. Returns a pointer to the current iterator item. Same as current(). -.SH "type * QPtrDictIterator::operator() ()" +.SH "type * TQPtrDictIterator::operator() ()" Makes the succeeding item current and returns the original current item. .PP If the current iterator item was the last item in the dictionary or if it was 0, 0 is returned. -.SH "type * QPtrDictIterator::operator++ ()" +.SH "type * TQPtrDictIterator::operator++ ()" Prefix ++ makes the succeeding item current and returns the new current item. .PP If the current iterator item was the last item in the dictionary or if it was 0, 0 is returned. -.SH "type * QPtrDictIterator::operator+= ( uint jump )" +.SH "type * TQPtrDictIterator::operator+= ( uint jump )" Sets the current item to the item \fIjump\fR positions after the current item and returns a pointer to that item. .PP If that item is beyond the last item or if the dictionary is empty, it sets the current item to 0 and returns 0. -.SH "type * QPtrDictIterator::toFirst ()" +.SH "type * TQPtrDictIterator::toFirst ()" Sets the current iterator item to point to the first item in the dictionary and returns a pointer to the item. If the dictionary is empty, it sets the current item to 0 and returns 0. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qptrdictiterator.html +.BR http://doc.trolltech.com/tqptrdictiterator.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqptrlist.3qt b/doc/man/man3/tqptrlist.3qt index 2b40eccc..62f86d03 100644 --- a/doc/man/man3/tqptrlist.3qt +++ b/doc/man/man3/tqptrlist.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPtrList 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPtrList 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,33 +7,33 @@ .ad l .nh .SH NAME -QPtrList \- Template class that provides a list +TQPtrList \- Template class that provides a list .SH SYNOPSIS -\fC#include \fR +\fC#include \fR .PP -Inherits QPtrCollection. +Inherits TQPtrCollection. .PP Inherited by TQObjectList and QStrList. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPtrList\fR ()" +.BI "\fBTQPtrList\fR ()" .br .ti -1c -.BI "\fBQPtrList\fR ( const QPtrList & list )" +.BI "\fBTQPtrList\fR ( const TQPtrList & list )" .br .ti -1c -.BI "\fB~QPtrList\fR ()" +.BI "\fB~TQPtrList\fR ()" .br .ti -1c -.BI "QPtrList & \fBoperator=\fR ( const QPtrList & list )" +.BI "TQPtrList & \fBoperator=\fR ( const TQPtrList & list )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QPtrList & list ) const" +.BI "bool \fBoperator==\fR ( const TQPtrList & list ) const" .br .ti -1c -.BI "bool \fBoperator!=\fR ( const QPtrList & list ) const" +.BI "bool \fBoperator!=\fR ( const TQPtrList & list ) const" .br .ti -1c .BI "virtual uint \fBcount\fR () const" @@ -156,21 +156,21 @@ Inherited by TQObjectList and QStrList. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual int \fBcompareItems\fR ( QPtrCollection::Item item1, QPtrCollection::Item item2 )" +.BI "virtual int \fBcompareItems\fR ( TQPtrCollection::Item item1, TQPtrCollection::Item item2 )" .br .ti -1c -.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, QPtrCollection::Item & item )" +.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, TQPtrCollection::Item & item )" .br .ti -1c -.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, QPtrCollection::Item item ) const" +.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, TQPtrCollection::Item item ) const" .br .in -1c .SH DESCRIPTION -The QPtrList class is a template class that provides a list. +The TQPtrList class is a template class that provides a list. .PP TQValueList is an STL-compatible alternative to this class. .PP -Define a template instance QPtrList to create a list that operates on pointers to X (X*). +Define a template instance TQPtrList to create a list that operates on pointers to X (X*). .PP The list class is indexable and has a current index and a current item. The first item corresponds to index position 0. The current index is -1 if the current item is 0. .PP @@ -216,7 +216,7 @@ Example: }; .br .br - QPtrList list; + TQPtrList list; .br list.setAutoDelete( TRUE ); // the list owns the objects .br @@ -270,13 +270,13 @@ The output is .br .fi .PP -QPtrList has several member functions for traversing the list, but using a QPtrListIterator can be more practical. Multiple list iterators may traverse the same list, independently of each other and of the current list item. +TQPtrList has several member functions for traversing the list, but using a TQPtrListIterator can be more practical. Multiple list iterators may traverse the same list, independently of each other and of the current list item. .PP In the example above we make the call setAutoDelete(TRUE). Enabling auto-deletion tells the list to delete items that are removed. The default is to not delete items when they are removed but this would cause a memory leak in the example because there are no other references to the list items. .PP -When inserting an item into a list only the pointer is copied, not the item itself, i.e. a shallow copy. It is possible to make the list copy all of the item's data (deep copy) when an item is inserted. insert(), inSort() and append() call the virtual function QPtrCollection::newItem() for the item to be inserted. Inherit a list and reimplement newItem() to have deep copies. +When inserting an item into a list only the pointer is copied, not the item itself, i.e. a shallow copy. It is possible to make the list copy all of the item's data (deep copy) when an item is inserted. insert(), inSort() and append() call the virtual function TQPtrCollection::newItem() for the item to be inserted. Inherit a list and reimplement newItem() to have deep copies. .PP -When removing an item from a list, the virtual function QPtrCollection::deleteItem() is called. QPtrList's default implementation is to delete the item if auto-deletion is enabled. +When removing an item from a list, the virtual function TQPtrCollection::deleteItem() is called. TQPtrList's default implementation is to delete the item if auto-deletion is enabled. .PP The virtual function compareItems() can be reimplemented to compare two list items. This function is called from all list functions that need to compare list items, for instance remove(const type*). If you only want to deal with pointers, there are functions that compare pointers instead, for instance removeRef(const type*). These functions are somewhat faster than those that call compareItems(). .PP @@ -284,21 +284,21 @@ List items are stored as \fCvoid*\fR in an internal QLNode, which also holds poi .PP The QStrList class defined in ntqstrlist.h is a list of \fCchar*\fR. It reimplements newItem(), deleteItem() and compareItems(). (But see QStringList for a list of Unicode QStrings.) .PP -See also QPtrListIterator, Collection Classes, and Non-GUI Classes. +See also TQPtrListIterator, Collection Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPtrList::QPtrList ()" +.SH "TQPtrList::TQPtrList ()" Constructs an empty list. -.SH "QPtrList::QPtrList ( const QPtrList & list )" +.SH "TQPtrList::TQPtrList ( const TQPtrList & list )" Constructs a copy of \fIlist\fR. .PP Each item in \fIlist\fR is appended to this list. Only the pointers are copied (shallow copy). -.SH "QPtrList::~QPtrList ()" +.SH "TQPtrList::~TQPtrList ()" Removes all items from the list and destroys the list. .PP All list iterators that access this list will be reset. .PP See also setAutoDelete(). -.SH "void QPtrList::append ( const type * item )" +.SH "void TQPtrList::append ( const type * item )" Inserts the \fIitem\fR at the end of the list. .PP The inserted item becomes the current list item. This is equivalent to \fCinsert( count(), item )\fR. @@ -309,7 +309,7 @@ See also insert(), current(), and prepend(). .PP Examples: .)l customlayout/border.cpp, customlayout/card.cpp, customlayout/flow.cpp, grapher/grapher.cpp, listviews/listviews.cpp, listviews/listviews.h, and qwerty/qwerty.cpp. -.SH "type * QPtrList::at ( uint index )" +.SH "type * TQPtrList::at ( uint index )" Returns a pointer to the item at position \fIindex\fR in the list, or 0 if the index is out of range. .PP Sets the current list item to this item if \fIindex\fR is valid. The valid range is \fC0..(count() - 1)\fR inclusive. @@ -320,17 +320,17 @@ See also current(). .PP Examples: .)l customlayout/border.cpp, customlayout/card.cpp, customlayout/flow.cpp, dirview/dirview.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. -.SH "int QPtrList::at () const" +.SH "int TQPtrList::at () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the index of the current list item. The returned value is -1 if the current item is 0. .PP See also current(). -.SH "bool QPtrCollection::autoDelete () const" +.SH "bool TQPtrCollection::autoDelete () const" Returns the setting of the auto-delete option. The default is FALSE. .PP See also setAutoDelete(). -.SH "void QPtrList::clear ()\fC [virtual]\fR" +.SH "void TQPtrList::clear ()\fC [virtual]\fR" Removes all items from the list. .PP The removed items are deleted if auto-deletion is enabled. @@ -339,8 +339,8 @@ All list iterators that access this list will be reset. .PP See also remove(), take(), and setAutoDelete(). .PP -Reimplemented from QPtrCollection. -.SH "int QPtrList::compareItems ( QPtrCollection::Item item1, QPtrCollection::Item item2 )\fC [virtual protected]\fR" +Reimplemented from TQPtrCollection. +.SH "int TQPtrList::compareItems ( TQPtrCollection::Item item1, TQPtrCollection::Item item2 )\fC [virtual protected]\fR" This virtual function compares two list items. .PP Returns: @@ -362,7 +362,7 @@ inSort() requires that compareItems() is implemented as described here. This function should not modify the list because some const functions call compareItems(). .PP The default implementation compares the pointers. -.SH "uint QPtrList::contains ( const type * item ) const" +.SH "uint TQPtrList::contains ( const type * item ) const" Returns the number of occurrences of \fIitem\fR in the list. .PP The compareItems() function is called when looking for the \fIitem\fR in the list. If compareItems() is not reimplemented, it is more efficient to call containsRef(). @@ -370,7 +370,7 @@ The compareItems() function is called when looking for the \fIitem\fR in the lis This function does not affect the current list item. .PP See also containsRef() and compareItems(). -.SH "uint QPtrList::containsRef ( const type * item ) const" +.SH "uint TQPtrList::containsRef ( const type * item ) const" Returns the number of occurrences of \fIitem\fR in the list. .PP Calling this function is much faster than contains() because contains() compares \fIitem\fR with each list item using compareItems(), whereas his function only compares the pointers. @@ -378,7 +378,7 @@ Calling this function is much faster than contains() because contains() compares This function does not affect the current list item. .PP See also contains(). -.SH "uint QPtrList::count () const\fC [virtual]\fR" +.SH "uint TQPtrList::count () const\fC [virtual]\fR" Returns the number of items in the list. .PP See also isEmpty(). @@ -386,12 +386,12 @@ See also isEmpty(). Examples: .)l customlayout/border.cpp, customlayout/card.cpp, customlayout/flow.cpp, dirview/dirview.cpp, grapher/grapher.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. .PP -Reimplemented from QPtrCollection. -.SH "type * QPtrList::current () const" +Reimplemented from TQPtrCollection. +.SH "type * TQPtrList::current () const" Returns a pointer to the current list item. The current item may be 0 (implies that the current index is -1). .PP See also at(). -.SH "QLNode * QPtrList::currentNode () const" +.SH "QLNode * TQPtrList::currentNode () const" Returns a pointer to the current list node. .PP The node can be kept and removed later using removeNode(). The advantage is that the item can be removed directly without searching the list. @@ -399,7 +399,7 @@ The node can be kept and removed later using removeNode(). The advantage is that \fBWarning:\fR Do not call this function unless you are an expert. .PP See also removeNode(), takeNode(), and current(). -.SH "int QPtrList::find ( const type * item )" +.SH "int TQPtrList::find ( const type * item )" Finds the first occurrence of \fIitem\fR in the list. .PP If the item is found, the list sets the current item to point to the found item and returns the index of this item. If the item is not found, the list sets the current item to 0, the current index to -1, and returns -1. @@ -407,7 +407,7 @@ If the item is found, the list sets the current item to point to the found item The compareItems() function is called when searching for the item in the list. If compareItems() is not reimplemented, it is more efficient to call findRef(). .PP See also findNext(), findRef(), compareItems(), and current(). -.SH "int QPtrList::findNext ( const type * item )" +.SH "int TQPtrList::findNext ( const type * item )" Finds the next occurrence of \fIitem\fR in the list, starting from the current list item. .PP If the item is found, the list sets the current item to point to the found item and returns the index of this item. If the item is not found, the list sets the current item to 0, the current index to -1, and returns -1. @@ -415,7 +415,7 @@ If the item is found, the list sets the current item to point to the found item The compareItems() function is called when searching for the item in the list. If compareItems() is not reimplemented, it is more efficient to call findNextRef(). .PP See also find(), findNextRef(), compareItems(), and current(). -.SH "int QPtrList::findNextRef ( const type * item )" +.SH "int TQPtrList::findNextRef ( const type * item )" Finds the next occurrence of \fIitem\fR in the list, starting from the current list item. .PP If the item is found, the list sets the current item to point to the found item and returns the index of this item. If the item is not found, the list sets the current item to 0, the current index to -1, and returns -1. @@ -423,7 +423,7 @@ If the item is found, the list sets the current item to point to the found item Calling this function is much faster than findNext() because findNext() compares \fIitem\fR with each list item using compareItems(), whereas this function only compares the pointers. .PP See also findRef(), findNext(), and current(). -.SH "int QPtrList::findRef ( const type * item )" +.SH "int TQPtrList::findRef ( const type * item )" Finds the first occurrence of \fIitem\fR in the list. .PP If the item is found, the list sets the current item to point to the found item and returns the index of this item. If the item is not found, the list sets the current item to 0, the current index to -1, and returns -1. @@ -431,26 +431,26 @@ If the item is found, the list sets the current item to point to the found item Calling this function is much faster than find() because find() compares \fIitem\fR with each list item using compareItems(), whereas this function only compares the pointers. .PP See also findNextRef(), find(), and current(). -.SH "type * QPtrList::first ()" +.SH "type * TQPtrList::first ()" Returns a pointer to the first item in the list and makes this the current list item; returns 0 if the list is empty. .PP See also getFirst(), last(), next(), prev(), and current(). .PP Examples: .)l grapher/grapher.cpp, listviews/listviews.h, and showimg/showimg.cpp. -.SH "type * QPtrList::getFirst () const" +.SH "type * TQPtrList::getFirst () const" Returns a pointer to the first item in the list, or 0 if the list is empty. .PP This function does not affect the current list item. .PP See also first() and getLast(). -.SH "type * QPtrList::getLast () const" +.SH "type * TQPtrList::getLast () const" Returns a pointer to the last item in the list, or 0 if the list is empty. .PP This function does not affect the current list item. .PP See also last() and getFirst(). -.SH "void QPtrList::inSort ( const type * item )" +.SH "void TQPtrList::inSort ( const type * item )" Inserts the \fIitem\fR at its sorted position in the list. .PP The sort order depends on the virtual compareItems() function. All items must be inserted with inSort() to maintain the sorting order. @@ -462,7 +462,7 @@ The inserted item becomes the current list item. \fBWarning:\fR Using inSort() is slow. An alternative, especially if you have lots of items, is to simply append() or insert() them and then use sort(). inSort() takes up to O(n) compares. That means inserting n items in your list will need O(n^2) compares whereas sort() only needs O(n*log n) for the same task. So use inSort() only if you already have a presorted list and want to insert just a few additional items. .PP See also insert(), compareItems(), current(), and sort(). -.SH "bool QPtrList::insert ( uint index, const type * item )" +.SH "bool TQPtrList::insert ( uint index, const type * item )" Inserts the \fIitem\fR at position \fIindex\fR in the list. .PP Returns TRUE if successful, i.e. if \fIindex\fR is in range; otherwise returns FALSE. The valid range is 0 to count() (inclusively). The item is appended if \fIindex\fR == count(). @@ -472,15 +472,15 @@ The inserted item becomes the current list item. \fIitem\fR must not be 0. .PP See also append(), current(), and replace(). -.SH "bool QPtrList::isEmpty () const" +.SH "bool TQPtrList::isEmpty () const" Returns TRUE if the list is empty; otherwise returns FALSE. .PP See also count(). -.SH "type * QPtrList::last ()" +.SH "type * TQPtrList::last ()" Returns a pointer to the last item in the list and makes this the current list item; returns 0 if the list is empty. .PP See also getLast(), first(), next(), prev(), and current(). -.SH "type * QPtrList::next ()" +.SH "type * TQPtrList::next ()" Returns a pointer to the item succeeding the current item. Returns 0 if the current item is 0 or equal to the last item. .PP Makes the succeeding item current. If the current item before this function call was the last item, the current item will be set to 0. If the current item was 0, this function does nothing. @@ -489,15 +489,15 @@ See also first(), last(), prev(), and current(). .PP Examples: .)l grapher/grapher.cpp, listviews/listviews.h, and showimg/showimg.cpp. -.SH "bool QPtrList::operator!= ( const QPtrList & list ) const" +.SH "bool TQPtrList::operator!= ( const TQPtrList & list ) const" Compares this list with \fIlist\fR. Returns TRUE if the lists contain different data; otherwise returns FALSE. -.SH "QPtrList & QPtrList::operator= ( const QPtrList & list )" +.SH "TQPtrList & TQPtrList::operator= ( const TQPtrList & list )" Assigns \fIlist\fR to this list and returns a reference to this list. .PP This list is first cleared and then each item in \fIlist\fR is appended to this list. Only the pointers are copied (shallow copy) unless newItem() has been reimplemented. -.SH "bool QPtrList::operator== ( const QPtrList & list ) const" +.SH "bool TQPtrList::operator== ( const TQPtrList & list ) const" Compares this list with \fIlist\fR. Returns TRUE if the lists contain the same data; otherwise returns FALSE. -.SH "void QPtrList::prepend ( const type * item )" +.SH "void TQPtrList::prepend ( const type * item )" Inserts the \fIitem\fR at the start of the list. .PP The inserted item becomes the current list item. This is equivalent to \fCinsert( 0, item )\fR. @@ -505,19 +505,19 @@ The inserted item becomes the current list item. This is equivalent to \fCinsert \fIitem\fR must not be 0. .PP See also append(), insert(), and current(). -.SH "type * QPtrList::prev ()" +.SH "type * TQPtrList::prev ()" Returns a pointer to the item preceding the current item. Returns 0 if the current item is 0 or equal to the first item. .PP Makes the preceding item current. If the current item before this function call was the first item, the current item will be set to 0. If the current item was 0, this function does nothing. .PP See also first(), last(), next(), and current(). -.SH "QDataStream & QPtrList::read ( QDataStream & s, QPtrCollection::Item & item )\fC [virtual protected]\fR" +.SH "QDataStream & TQPtrList::read ( QDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR" Reads a list item from the stream \fIs\fR and returns a reference to the stream. .PP The default implementation sets \fIitem\fR to 0. .PP See also write(). -.SH "bool QPtrList::remove ( uint index )" +.SH "bool TQPtrList::remove ( uint index )" Removes the item at position \fIindex\fR in the list. .PP Returns TRUE if successful, i.e. if \fIindex\fR is in range; otherwise returns FALSE. The valid range is \fC0..(count() - 1)\fR inclusive. @@ -529,7 +529,7 @@ The item after the removed item becomes the new current list item if the removed All list iterators that refer to the removed item will be set to point to the new current item. .PP See also take(), clear(), setAutoDelete(), current(), and removeRef(). -.SH "bool QPtrList::remove ()" +.SH "bool TQPtrList::remove ()" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Removes the current list item. @@ -543,7 +543,7 @@ The item after the removed item becomes the new current list item if the removed All list iterators that refer to the removed item will be set to point to the new current item. .PP See also take(), clear(), setAutoDelete(), current(), and removeRef(). -.SH "bool QPtrList::remove ( const type * item )" +.SH "bool TQPtrList::remove ( const type * item )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Removes the first occurrence of \fIitem\fR from the list. @@ -561,7 +561,7 @@ The item after the removed item becomes the new current list item if the removed All list iterators that refer to the removed item will be set to point to the new current item. .PP See also removeRef(), take(), clear(), setAutoDelete(), compareItems(), and current(). -.SH "bool QPtrList::removeFirst ()" +.SH "bool TQPtrList::removeFirst ()" Removes the first item from the list. Returns TRUE if successful, i.e. if the list isn't empty; otherwise returns FALSE. .PP The removed item is deleted if auto-deletion is enabled. @@ -571,7 +571,7 @@ The first item in the list becomes the new current list item. The current item i All list iterators that refer to the removed item will be set to point to the new current item. .PP See also removeLast(), setAutoDelete(), current(), and remove(). -.SH "bool QPtrList::removeLast ()" +.SH "bool TQPtrList::removeLast ()" Removes the last item from the list. Returns TRUE if successful, i.e. if the list isn't empty; otherwise returns FALSE. .PP The removed item is deleted if auto-deletion is enabled. @@ -581,7 +581,7 @@ The last item in the list becomes the new current list item. The current item is All list iterators that refer to the removed item will be set to point to the new current item. .PP See also removeFirst(), setAutoDelete(), and current(). -.SH "void QPtrList::removeNode ( QLNode * node )" +.SH "void TQPtrList::removeNode ( QLNode * node )" Removes the \fInode\fR from the list. .PP This node must exist in the list, otherwise the program may crash. @@ -595,7 +595,7 @@ All list iterators that refer to the removed item will be set to point to the it \fBWarning:\fR Do not call this function unless you are an expert. .PP See also takeNode(), currentNode(), remove(), and removeRef(). -.SH "bool QPtrList::removeRef ( const type * item )" +.SH "bool TQPtrList::removeRef ( const type * item )" Removes the first occurrence of \fIitem\fR from the list. .PP Returns TRUE if successful, i.e. if \fIitem\fR is in the list; otherwise returns FALSE. @@ -617,13 +617,13 @@ The item after the removed item becomes the new current list item if the removed All list iterators that refer to the removed item will be set to point to the new current item. .PP See also remove(), clear(), setAutoDelete(), and current(). -.SH "bool QPtrList::replace ( uint index, const type * item )" +.SH "bool TQPtrList::replace ( uint index, const type * item )" Replaces the item at position \fIindex\fR with the new \fIitem\fR. .PP Returns TRUE if successful, i.e. \fIindex\fR is in the range 0 to count()-1. .PP See also append(), current(), and insert(). -.SH "void QPtrCollection::setAutoDelete ( bool enable )" +.SH "void TQPtrCollection::setAutoDelete ( bool enable )" Sets the collection to auto-delete its contents if \fIenable\fR is TRUE and to never delete them if \fIenable\fR is FALSE. .PP If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items. @@ -636,13 +636,13 @@ See also autoDelete(). .PP Examples: .)l grapher/grapher.cpp, scribble/scribble.cpp, and table/bigtable/main.cpp. -.SH "void QPtrList::sort ()" +.SH "void TQPtrList::sort ()" Sorts the list by the result of the virtual compareItems() function. .PP The heap sort algorithm is used for sorting. It sorts n items with O(n*log n) comparisons. This is the asymptotic optimal solution of the sorting problem. .PP See also inSort(). -.SH "type * QPtrList::take ( uint index )" +.SH "type * TQPtrList::take ( uint index )" Takes the item at position \fIindex\fR out of the list without deleting it (even if auto-deletion is enabled). .PP Returns a pointer to the item taken out of the list, or 0 if the index is out of range. The valid range is \fC0..(count() - 1)\fR inclusive. @@ -655,7 +655,7 @@ See also remove(), clear(), and current(). .PP Examples: .)l customlayout/border.cpp, customlayout/card.cpp, and customlayout/flow.cpp. -.SH "type * QPtrList::take ()" +.SH "type * TQPtrList::take ()" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Takes the current item out of the list without deleting it (even if auto-deletion is enabled). @@ -667,7 +667,7 @@ The item after the removed item becomes the new current list item if the removed All list iterators that refer to the taken item will be set to point to the new current item. .PP See also remove(), clear(), and current(). -.SH "type * QPtrList::takeNode ( QLNode * node )" +.SH "type * TQPtrList::takeNode ( QLNode * node )" Takes the \fInode\fR out of the list without deleting its item (even if auto-deletion is enabled). Returns a pointer to the item taken out of the list. .PP This node must exist in the list, otherwise the program may crash. @@ -679,11 +679,11 @@ All list iterators that refer to the taken item will be set to point to the item \fBWarning:\fR Do not call this function unless you are an expert. .PP See also removeNode() and currentNode(). -.SH "void QPtrList::toVector ( QGVector * vec ) const" +.SH "void TQPtrList::toVector ( QGVector * vec ) const" Stores all list items in the vector \fIvec\fR. .PP The vector must be of the same item type, otherwise the result will be undefined. -.SH "QDataStream & QPtrList::write ( QDataStream & s, QPtrCollection::Item item ) const\fC [virtual protected]\fR" +.SH "QDataStream & TQPtrList::write ( QDataStream & s, TQPtrCollection::Item item ) const\fC [virtual protected]\fR" Writes a list item, \fIitem\fR to the stream \fIs\fR and returns a reference to the stream. .PP The default implementation does nothing. @@ -691,7 +691,7 @@ The default implementation does nothing. See also read(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqptrlist.html +.BR http://doc.trolltech.com/tqptrlist.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqptrlistiterator.3qt b/doc/man/man3/tqptrlistiterator.3qt index 8a06d321..d9a4cefe 100644 --- a/doc/man/man3/tqptrlistiterator.3qt +++ b/doc/man/man3/tqptrlistiterator.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPtrListIterator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPtrListIterator 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,19 +7,19 @@ .ad l .nh .SH NAME -QPtrListIterator \- Iterator for QPtrList collections +TQPtrListIterator \- Iterator for TQPtrList collections .SH SYNOPSIS -\fC#include \fR +\fC#include \fR .PP Inherited by TQObjectListIterator and QStrListIterator. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPtrListIterator\fR ( const QPtrList & list )" +.BI "\fBTQPtrListIterator\fR ( const TQPtrList & list )" .br .ti -1c -.BI "\fB~QPtrListIterator\fR ()" +.BI "\fB~TQPtrListIterator\fR ()" .br .ti -1c .BI "uint \fBcount\fR () const" @@ -64,19 +64,19 @@ Inherited by TQObjectListIterator and QStrListIterator. .BI "type * \fBoperator-=\fR ( uint jump )" .br .ti -1c -.BI "QPtrListIterator & \fBoperator=\fR ( const QPtrListIterator & it )" +.BI "TQPtrListIterator & \fBoperator=\fR ( const TQPtrListIterator & it )" .br .in -1c .SH DESCRIPTION -The QPtrListIterator class provides an iterator for QPtrList collections. +The TQPtrListIterator class provides an iterator for TQPtrList collections. .PP -Define a template instance QPtrListIterator to create a list iterator that operates on QPtrList (list of X*). +Define a template instance TQPtrListIterator to create a list iterator that operates on TQPtrList (list of X*). .PP -The following example is similar to the example in the QPtrList class documentation, but it uses QPtrListIterator. The class Employee is defined there. +The following example is similar to the example in the TQPtrList class documentation, but it uses TQPtrListIterator. The class Employee is defined there. .PP .nf .br - QPtrList list; + TQPtrList list; .br .br list.append( new Employee("John", "Doe", 50000) ); @@ -86,7 +86,7 @@ The following example is similar to the example in the QPtrList class documentat list.append( new Employee("Tom", "Jones", 60000) ); .br .br - QPtrListIterator it( list ); + TQPtrListIterator it( list ); .br Employee *employee; .br @@ -116,76 +116,76 @@ The output is .br .fi .PP -Using a list iterator is a more robust way of traversing the list than using the QPtrList member functions first(), next(), current(), etc., as many iterators can traverse the same list independently. +Using a list iterator is a more robust way of traversing the list than using the TQPtrList member functions first(), next(), current(), etc., as many iterators can traverse the same list independently. .PP An iterator has its own current list item and can get the next and previous list items. It doesn't modify the list in any way. .PP -When an item is removed from the list, all iterators that point to that item are updated to point to QPtrList::current() instead to avoid dangling references. +When an item is removed from the list, all iterators that point to that item are updated to point to TQPtrList::current() instead to avoid dangling references. .PP -See also QPtrList, Collection Classes, and Non-GUI Classes. +See also TQPtrList, Collection Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPtrListIterator::QPtrListIterator ( const QPtrList & list )" +.SH "TQPtrListIterator::TQPtrListIterator ( const TQPtrList & list )" Constructs an iterator for \fIlist\fR. The current iterator item is set to point on the first item in the \fIlist\fR. -.SH "QPtrListIterator::~QPtrListIterator ()" +.SH "TQPtrListIterator::~TQPtrListIterator ()" Destroys the iterator. -.SH "bool QPtrListIterator::atFirst () const" +.SH "bool TQPtrListIterator::atFirst () const" Returns TRUE if the current iterator item is the first list item; otherwise returns FALSE. .PP See also toFirst() and atLast(). -.SH "bool QPtrListIterator::atLast () const" +.SH "bool TQPtrListIterator::atLast () const" Returns TRUE if the current iterator item is the last list item; otherwise returns FALSE. .PP See also toLast() and atFirst(). -.SH "uint QPtrListIterator::count () const" +.SH "uint TQPtrListIterator::count () const" Returns the number of items in the list this iterator operates on. .PP See also isEmpty(). .PP Example: customlayout/card.cpp. -.SH "type * QPtrListIterator::current () const" +.SH "type * TQPtrListIterator::current () const" Returns a pointer to the current iterator item. If the iterator is positioned before the first item in the list or after the last item in the list, 0 is returned. .PP Examples: .)l canvas/canvas.cpp, customlayout/card.cpp, and customlayout/flow.cpp. -.SH "bool QPtrListIterator::isEmpty () const" +.SH "bool TQPtrListIterator::isEmpty () const" Returns TRUE if the list is empty; otherwise returns FALSE. .PP See also count(). -.SH "QPtrListIterator::operator type * () const" +.SH "TQPtrListIterator::operator type * () const" Cast operator. Returns a pointer to the current iterator item. Same as current(). -.SH "type * QPtrListIterator::operator() ()" +.SH "type * TQPtrListIterator::operator() ()" Makes the succeeding item current and returns the original current item. .PP If the current iterator item was the last item in the list or if it was 0, 0 is returned. -.SH "type * QPtrListIterator::operator* ()" +.SH "type * TQPtrListIterator::operator* ()" Asterisk operator. Returns a pointer to the current iterator item. Same as current(). -.SH "type * QPtrListIterator::operator++ ()" +.SH "type * TQPtrListIterator::operator++ ()" Prefix ++ makes the succeeding item current and returns the new current item. .PP If the current iterator item was the last item in the list or if it was 0, 0 is returned. -.SH "type * QPtrListIterator::operator+= ( uint jump )" +.SH "type * TQPtrListIterator::operator+= ( uint jump )" Sets the current item to the item \fIjump\fR positions after the current item and returns a pointer to that item. .PP If that item is beyond the last item or if the list is empty, it sets the current item to 0 and returns 0 -.SH "type * QPtrListIterator::operator-- ()" +.SH "type * TQPtrListIterator::operator-- ()" Prefix - makes the preceding item current and returns the new current item. .PP If the current iterator item was the first item in the list or if it was 0, 0 is returned. -.SH "type * QPtrListIterator::operator-= ( uint jump )" +.SH "type * TQPtrListIterator::operator-= ( uint jump )" Returns the item \fIjump\fR positions before the current item or 0 if it is beyond the first item. Makes this the current item. -.SH "QPtrListIterator & QPtrListIterator::operator= ( const QPtrListIterator & it )" +.SH "TQPtrListIterator & TQPtrListIterator::operator= ( const TQPtrListIterator & it )" Assignment. Makes a copy of the iterator \fIit\fR and returns a reference to this iterator. -.SH "type * QPtrListIterator::toFirst ()" +.SH "type * TQPtrListIterator::toFirst ()" Sets the current iterator item to point to the first list item and returns a pointer to the item. Sets the current item to 0 and returns 0 if the list is empty. .PP See also toLast() and atFirst(). -.SH "type * QPtrListIterator::toLast ()" +.SH "type * TQPtrListIterator::toLast ()" Sets the current iterator item to point to the last list item and returns a pointer to the item. Sets the current item to 0 and returns 0 if the list is empty. .PP See also toFirst() and atLast(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qptrlistiterator.html +.BR http://doc.trolltech.com/tqptrlistiterator.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqptrqueue.3qt b/doc/man/man3/tqptrqueue.3qt index 98c8e0e9..9eb1bd18 100644 --- a/doc/man/man3/tqptrqueue.3qt +++ b/doc/man/man3/tqptrqueue.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPtrQueue 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPtrQueue 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,23 +7,23 @@ .ad l .nh .SH NAME -QPtrQueue \- Template class that provides a queue +TQPtrQueue \- Template class that provides a queue .SH SYNOPSIS -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPtrQueue\fR ()" +.BI "\fBTQPtrQueue\fR ()" .br .ti -1c -.BI "\fBQPtrQueue\fR ( const QPtrQueue & queue )" +.BI "\fBTQPtrQueue\fR ( const TQPtrQueue & queue )" .br .ti -1c -.BI "\fB~QPtrQueue\fR ()" +.BI "\fB~TQPtrQueue\fR ()" .br .ti -1c -.BI "QPtrQueue & \fBoperator=\fR ( const QPtrQueue & queue )" +.BI "TQPtrQueue & \fBoperator=\fR ( const TQPtrQueue & queue )" .br .ti -1c .BI "bool \fBautoDelete\fR () const" @@ -62,90 +62,90 @@ QPtrQueue \- Template class that provides a queue .SS "Protected Members" .in +1c .ti -1c -.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, QPtrCollection::Item & item )" +.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, TQPtrCollection::Item & item )" .br .ti -1c -.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, QPtrCollection::Item item ) const" +.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, TQPtrCollection::Item item ) const" .br .in -1c .SH DESCRIPTION -The QPtrQueue class is a template class that provides a queue. +The TQPtrQueue class is a template class that provides a queue. .PP TQValueVector can be used as an STL-compatible alternative to this class. .PP -A template instance QPtrQueue is a queue that operates on pointers to X (X*). +A template instance TQPtrQueue is a queue that operates on pointers to X (X*). .PP A queue is a first in, first out structure. Items are added to the tail of the queue with enqueue() and retrieved from the head with dequeue(). You can peek at the head item without dequeing it using head(). .PP You can control the queue's deletion policy with setAutoDelete(). .PP -For compatibility with the QPtrCollection classes, current() and remove() are provided; both operate on the head(). +For compatibility with the TQPtrCollection classes, current() and remove() are provided; both operate on the head(). .PP -See also QPtrList, QPtrStack, Collection Classes, and Non-GUI Classes. +See also TQPtrList, TQPtrStack, Collection Classes, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPtrQueue::QPtrQueue ()" +.SH "TQPtrQueue::TQPtrQueue ()" Creates an empty queue with autoDelete() set to FALSE. -.SH "QPtrQueue::QPtrQueue ( const QPtrQueue & queue )" +.SH "TQPtrQueue::TQPtrQueue ( const TQPtrQueue & queue )" Creates a queue from \fIqueue\fR. .PP Only the pointers are copied; the items are not. The autoDelete() flag is set to FALSE. -.SH "QPtrQueue::~QPtrQueue ()" +.SH "TQPtrQueue::~TQPtrQueue ()" Destroys the queue. Items in the queue are deleted if autoDelete() is TRUE. -.SH "bool QPtrQueue::autoDelete () const" +.SH "bool TQPtrQueue::autoDelete () const" Returns the setting of the auto-delete option. The default is FALSE. .PP See also setAutoDelete(). -.SH "void QPtrQueue::clear ()" +.SH "void TQPtrQueue::clear ()" Removes all items from the queue, and deletes them if autoDelete() is TRUE. .PP See also remove(). -.SH "uint QPtrQueue::count () const" +.SH "uint TQPtrQueue::count () const" Returns the number of items in the queue. .PP See also isEmpty(). -.SH "type * QPtrQueue::current () const" +.SH "type * TQPtrQueue::current () const" Returns a pointer to the head item in the queue. The queue is not changed. Returns 0 if the queue is empty. .PP See also dequeue() and isEmpty(). -.SH "type * QPtrQueue::dequeue ()" +.SH "type * TQPtrQueue::dequeue ()" Takes the head item from the queue and returns a pointer to it. Returns 0 if the queue is empty. .PP See also enqueue() and count(). -.SH "void QPtrQueue::enqueue ( const type * d )" +.SH "void TQPtrQueue::enqueue ( const type * d )" Adds item \fId\fR to the tail of the queue. .PP See also count() and dequeue(). -.SH "type * QPtrQueue::head () const" +.SH "type * TQPtrQueue::head () const" Returns a pointer to the head item in the queue. The queue is not changed. Returns 0 if the queue is empty. .PP See also dequeue() and isEmpty(). -.SH "bool QPtrQueue::isEmpty () const" +.SH "bool TQPtrQueue::isEmpty () const" Returns TRUE if the queue is empty; otherwise returns FALSE. .PP See also count(), dequeue(), and head(). -.SH "QPtrQueue::operator type * () const" +.SH "TQPtrQueue::operator type * () const" Returns a pointer to the head item in the queue. The queue is not changed. Returns 0 if the queue is empty. .PP See also dequeue() and isEmpty(). -.SH "QPtrQueue & QPtrQueue::operator= ( const QPtrQueue & queue )" +.SH "TQPtrQueue & TQPtrQueue::operator= ( const TQPtrQueue & queue )" Assigns \fIqueue\fR to this queue and returns a reference to this queue. .PP This queue is first cleared and then each item in \fIqueue\fR is enqueued to this queue. Only the pointers are copied. .PP \fBWarning:\fR The autoDelete() flag is not modified. If it it TRUE for both \fIqueue\fR and this queue, deleting the two lists will cause \fIdouble-deletion\fR of the items. -.SH "QDataStream & QPtrQueue::read ( QDataStream & s, QPtrCollection::Item & item )\fC [virtual protected]\fR" +.SH "QDataStream & TQPtrQueue::read ( QDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR" Reads a queue item, \fIitem\fR, from the stream \fIs\fR and returns a reference to the stream. .PP The default implementation sets \fIitem\fR to 0. .PP See also write(). -.SH "bool QPtrQueue::remove ()" +.SH "bool TQPtrQueue::remove ()" Removes the head item from the queue, and returns TRUE if there was an item, i.e. the queue wasn't empty; otherwise returns FALSE. .PP The item is deleted if autoDelete() is TRUE. .PP See also head(), isEmpty(), and dequeue(). -.SH "void QPtrQueue::setAutoDelete ( bool enable )" +.SH "void TQPtrQueue::setAutoDelete ( bool enable )" Sets the queue to auto-delete its contents if \fIenable\fR is TRUE and not to delete them if \fIenable\fR is FALSE. .PP If auto-deleting is turned on, all the items in a queue are deleted when the queue itself is deleted. This can be quite convenient if the queue has the only pointer to the items. @@ -153,7 +153,7 @@ If auto-deleting is turned on, all the items in a queue are deleted when the que The default setting is FALSE, for safety. If you turn it on, be careful about copying the queue: you might find yourself with two queues deleting the same items. .PP See also autoDelete(). -.SH "QDataStream & QPtrQueue::write ( QDataStream & s, QPtrCollection::Item item ) const\fC [virtual protected]\fR" +.SH "QDataStream & TQPtrQueue::write ( QDataStream & s, TQPtrCollection::Item item ) const\fC [virtual protected]\fR" Writes a queue item, \fIitem\fR, to the stream \fIs\fR and returns a reference to the stream. .PP The default implementation does nothing. @@ -161,7 +161,7 @@ The default implementation does nothing. See also read(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqptrqueue.html +.BR http://doc.trolltech.com/tqptrqueue.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqptrstack.3qt b/doc/man/man3/tqptrstack.3qt index e6607756..53c9769f 100644 --- a/doc/man/man3/tqptrstack.3qt +++ b/doc/man/man3/tqptrstack.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPtrStack 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPtrStack 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,23 +7,23 @@ .ad l .nh .SH NAME -QPtrStack \- Template class that provides a stack +TQPtrStack \- Template class that provides a stack .SH SYNOPSIS -\fC#include \fR +\fC#include \fR .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPtrStack\fR ()" +.BI "\fBTQPtrStack\fR ()" .br .ti -1c -.BI "\fBQPtrStack\fR ( const QPtrStack & s )" +.BI "\fBTQPtrStack\fR ( const TQPtrStack & s )" .br .ti -1c -.BI "\fB~QPtrStack\fR ()" +.BI "\fB~TQPtrStack\fR ()" .br .ti -1c -.BI "QPtrStack & \fBoperator=\fR ( const QPtrStack & s )" +.BI "TQPtrStack & \fBoperator=\fR ( const TQPtrStack & s )" .br .ti -1c .BI "bool \fBautoDelete\fR () const" @@ -62,76 +62,76 @@ QPtrStack \- Template class that provides a stack .SS "Protected Members" .in +1c .ti -1c -.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, QPtrCollection::Item & item )" +.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, TQPtrCollection::Item & item )" .br .ti -1c -.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, QPtrCollection::Item item ) const" +.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, TQPtrCollection::Item item ) const" .br .in -1c .SH DESCRIPTION -The QPtrStack class is a template class that provides a stack. +The TQPtrStack class is a template class that provides a stack. .PP TQValueStack is an STL-compatible alternative to this class. .PP -Define a template instance QPtrStack to create a stack that operates on pointers to X, (X*). +Define a template instance TQPtrStack to create a stack that operates on pointers to X, (X*). .PP A stack is a last in, first out (LIFO) structure. Items are added to the top of the stack with push() and retrieved from the top with pop(). Use top() to get a reference to the top element without changing the stack. .PP You can control the stack's deletion policy with setAutoDelete(). .PP -For compatibility with the QPtrCollection classes current() and remove() are provided; they both operate on the top(). +For compatibility with the TQPtrCollection classes current() and remove() are provided; they both operate on the top(). .PP -See also QPtrList, QPtrQueue, and Non-GUI Classes. +See also TQPtrList, TQPtrQueue, and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPtrStack::QPtrStack ()" +.SH "TQPtrStack::TQPtrStack ()" Creates an empty stack. -.SH "QPtrStack::QPtrStack ( const QPtrStack & s )" +.SH "TQPtrStack::TQPtrStack ( const TQPtrStack & s )" Creates a stack by making a shallow copy of another stack \fIs\fR. -.SH "QPtrStack::~QPtrStack ()" +.SH "TQPtrStack::~TQPtrStack ()" Destroys the stack. All items will be deleted if autoDelete() is TRUE. -.SH "bool QPtrStack::autoDelete () const" -The same as QPtrCollection::autoDelete(). +.SH "bool TQPtrStack::autoDelete () const" +The same as TQPtrCollection::autoDelete(). .PP See also setAutoDelete(). -.SH "void QPtrStack::clear ()" +.SH "void TQPtrStack::clear ()" Removes all items from the stack, deleting them if autoDelete() is TRUE. .PP See also remove(). -.SH "uint QPtrStack::count () const" +.SH "uint TQPtrStack::count () const" Returns the number of items in the stack. .PP See also isEmpty(). -.SH "type * QPtrStack::current () const" +.SH "type * TQPtrStack::current () const" Returns a pointer to the top item on the stack (most recently pushed). The stack is not changed. Returns 0 if the stack is empty. -.SH "bool QPtrStack::isEmpty () const" +.SH "bool TQPtrStack::isEmpty () const" Returns TRUE if the stack contains no elements; otherwise returns FALSE. -.SH "QPtrStack::operator type * () const" +.SH "TQPtrStack::operator type * () const" Returns a pointer to the top item on the stack (most recently pushed). The stack is not changed. Returns 0 if the stack is empty. -.SH "QPtrStack & QPtrStack::operator= ( const QPtrStack & s )" +.SH "TQPtrStack & TQPtrStack::operator= ( const TQPtrStack & s )" Sets the contents of this stack by making a shallow copy of another stack \fIs\fR. Elements currently in this stack will be deleted if autoDelete() is TRUE. -.SH "type * QPtrStack::pop ()" +.SH "type * TQPtrStack::pop ()" Removes the top item from the stack and returns it. The stack must not be empty. -.SH "void QPtrStack::push ( const type * d )" +.SH "void TQPtrStack::push ( const type * d )" Adds an element \fId\fR to the top of the stack. Last in, first out. -.SH "QDataStream & QPtrStack::read ( QDataStream & s, QPtrCollection::Item & item )\fC [virtual protected]\fR" +.SH "QDataStream & TQPtrStack::read ( QDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR" Reads a stack item, \fIitem\fR, from the stream \fIs\fR and returns a reference to the stream. .PP The default implementation sets \fIitem\fR to 0. .PP See also write(). -.SH "bool QPtrStack::remove ()" +.SH "bool TQPtrStack::remove ()" Removes the top item from the stack and deletes it if autoDelete() is TRUE. Returns TRUE if there was an item to pop; otherwise returns FALSE. .PP See also clear(). -.SH "void QPtrStack::setAutoDelete ( bool enable )" -Defines whether this stack auto-deletes its contents. The same as QPtrCollection::setAutoDelete(). +.SH "void TQPtrStack::setAutoDelete ( bool enable )" +Defines whether this stack auto-deletes its contents. The same as TQPtrCollection::setAutoDelete(). .PP If \fIenable\fR is TRUE the stack auto-deletes its contents; if \fIenable\fR is FALSE the stack does not delete its contents. .PP See also autoDelete(). -.SH "type * QPtrStack::top () const" +.SH "type * TQPtrStack::top () const" Returns a pointer to the top item on the stack (most recently pushed). The stack is not changed. Returns 0 if the stack is empty. -.SH "QDataStream & QPtrStack::write ( QDataStream & s, QPtrCollection::Item item ) const\fC [virtual protected]\fR" +.SH "QDataStream & TQPtrStack::write ( QDataStream & s, TQPtrCollection::Item item ) const\fC [virtual protected]\fR" Writes a stack item, \fIitem\fR, to the stream \fIs\fR and returns a reference to the stream. .PP The default implementation does nothing. @@ -139,7 +139,7 @@ The default implementation does nothing. See also read(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqptrstack.html +.BR http://doc.trolltech.com/tqptrstack.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqptrvector.3qt b/doc/man/man3/tqptrvector.3qt index e2aaeede..630cb0bd 100644 --- a/doc/man/man3/tqptrvector.3qt +++ b/doc/man/man3/tqptrvector.3qt @@ -1,5 +1,5 @@ '\" t -.TH QPtrVector 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQPtrVector 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,31 +7,31 @@ .ad l .nh .SH NAME -QPtrVector \- Template collection class that provides a vector (array) +TQPtrVector \- Template collection class that provides a vector (array) .SH SYNOPSIS -\fC#include \fR +\fC#include \fR .PP -Inherits QPtrCollection. +Inherits TQPtrCollection. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQPtrVector\fR ()" +.BI "\fBTQPtrVector\fR ()" .br .ti -1c -.BI "\fBQPtrVector\fR ( uint size )" +.BI "\fBTQPtrVector\fR ( uint size )" .br .ti -1c -.BI "\fBQPtrVector\fR ( const QPtrVector & v )" +.BI "\fBTQPtrVector\fR ( const TQPtrVector & v )" .br .ti -1c -.BI "\fB~QPtrVector\fR ()" +.BI "\fB~TQPtrVector\fR ()" .br .ti -1c -.BI "QPtrVector & \fBoperator=\fR ( const QPtrVector & v )" +.BI "TQPtrVector & \fBoperator=\fR ( const TQPtrVector & v )" .br .ti -1c -.BI "bool \fBoperator==\fR ( const QPtrVector & v ) const" +.BI "bool \fBoperator==\fR ( const TQPtrVector & v ) const" .br .ti -1c .BI "type ** \fBdata\fR () const" @@ -103,23 +103,23 @@ Inherits QPtrCollection. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual int \fBcompareItems\fR ( QPtrCollection::Item d1, QPtrCollection::Item d2 )" +.BI "virtual int \fBcompareItems\fR ( TQPtrCollection::Item d1, TQPtrCollection::Item d2 )" .br .ti -1c -.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, QPtrCollection::Item & item )" +.BI "virtual QDataStream & \fBread\fR ( QDataStream & s, TQPtrCollection::Item & item )" .br .ti -1c -.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, QPtrCollection::Item item ) const" +.BI "virtual QDataStream & \fBwrite\fR ( QDataStream & s, TQPtrCollection::Item item ) const" .br .in -1c .SH DESCRIPTION -The QPtrVector class is a template collection class that provides a vector (array). +The TQPtrVector class is a template collection class that provides a vector (array). .PP TQValueVector is an STL-compatible alternative to this class. .PP -QPtrVector is implemented as a template class. Defines a template instance QPtrVector to create a vector that contains pointers to X (X*). +TQPtrVector is implemented as a template class. Defines a template instance TQPtrVector to create a vector that contains pointers to X (X*). .PP -A vector is the same as an array. The main difference between QPtrVector and QMemArray is that QPtrVector stores pointers to the elements, whereas QMemArray stores the elements themselves (i.e. QMemArray is value-based and QPtrVector is pointer-based). +A vector is the same as an array. The main difference between TQPtrVector and QMemArray is that TQPtrVector stores pointers to the elements, whereas QMemArray stores the elements themselves (i.e. QMemArray is value-based and TQPtrVector is pointer-based). .PP Items are added to the vector using insert() or fill(). Items are removed with remove(). You can get a pointer to an item at a particular index position using at(). .PP @@ -129,29 +129,29 @@ Functions that compare items (find() and sort() for example) will do so using th .PP See also QMemArray and Non-GUI Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QPtrVector::QPtrVector ()" +.SH "TQPtrVector::TQPtrVector ()" Constructs a null vector. .PP See also isNull(). -.SH "QPtrVector::QPtrVector ( uint size )" +.SH "TQPtrVector::TQPtrVector ( uint size )" Constructs an vector with room for \fIsize\fR items. Makes a null vector if \fIsize\fR == 0. .PP All \fIsize\fR positions in the vector are initialized to 0. .PP See also size(), resize(), and isNull(). -.SH "QPtrVector::QPtrVector ( const QPtrVector & v )" +.SH "TQPtrVector::TQPtrVector ( const TQPtrVector & v )" Constructs a copy of \fIv\fR. Only the pointers are copied (i.e. shallow copy). -.SH "QPtrVector::~QPtrVector ()" +.SH "TQPtrVector::~TQPtrVector ()" Removes all items from the vector, and destroys the vector itself. .PP See also clear(). -.SH "type * QPtrVector::at ( uint i ) const" +.SH "type * TQPtrVector::at ( uint i ) const" Returns the item at position \fIi\fR, or 0 if there is no item at that position. \fIi\fR must be less than size(). -.SH "bool QPtrCollection::autoDelete () const" +.SH "bool TQPtrCollection::autoDelete () const" Returns the setting of the auto-delete option. The default is FALSE. .PP See also setAutoDelete(). -.SH "int QPtrVector::bsearch ( const type * d ) const" +.SH "int TQPtrVector::bsearch ( const type * d ) const" In a sorted array, finds the first occurrence of \fId\fR using a binary search. For a sorted array, this is generally much faster than find(), which performs a linear search. .PP Returns the position of \fId\fR, or -1 if \fId\fR could not be found. \fId\fR must not be 0. @@ -159,15 +159,15 @@ Returns the position of \fId\fR, or -1 if \fId\fR could not be found. \fId\fR mu Compares items using the virtual function compareItems(). .PP See also sort() and find(). -.SH "void QPtrVector::clear ()\fC [virtual]\fR" +.SH "void TQPtrVector::clear ()\fC [virtual]\fR" Removes all items from the vector, and destroys the vector itself. .PP The vector becomes a null vector. .PP See also isNull(). .PP -Reimplemented from QPtrCollection. -.SH "int QPtrVector::compareItems ( QPtrCollection::Item d1, QPtrCollection::Item d2 )\fC [virtual protected]\fR" +Reimplemented from TQPtrCollection. +.SH "int TQPtrVector::compareItems ( TQPtrCollection::Item d1, TQPtrCollection::Item d2 )\fC [virtual protected]\fR" This virtual function compares two list items. .PP Returns: @@ -187,31 +187,31 @@ This function returns \fIint\fR rather than \fIbool\fR so that reimplementations The sort() and bsearch() functions require compareItems() to be implemented as described here. .PP This function should not modify the vector because some const functions call compareItems(). -.SH "uint QPtrVector::contains ( const type * d ) const" +.SH "uint TQPtrVector::contains ( const type * d ) const" Returns the number of occurrences of item \fId\fR in the vector. .PP Compares items using the virtual function compareItems(). .PP See also containsRef(). -.SH "uint QPtrVector::containsRef ( const type * d ) const" +.SH "uint TQPtrVector::containsRef ( const type * d ) const" Returns the number of occurrences of the item pointer \fId\fR in the vector. .PP This function does \fInot\fR use compareItems() to compare items. .PP See also findRef(). -.SH "uint QPtrVector::count () const\fC [virtual]\fR" +.SH "uint TQPtrVector::count () const\fC [virtual]\fR" Returns the number of items in the vector. The vector is empty if count() == 0. .PP See also isEmpty(), size(), and isNull(). .PP -Reimplemented from QPtrCollection. -.SH "type ** QPtrVector::data () const" +Reimplemented from TQPtrCollection. +.SH "type ** TQPtrVector::data () const" Returns a pointer to the actual vector data, which is an array of type*. .PP The vector is a null vector if data() == 0 (null pointer). .PP See also isNull(). -.SH "bool QPtrVector::fill ( const type * d, int size = -1 )" +.SH "bool TQPtrVector::fill ( const type * d, int size = -1 )" Inserts item \fId\fR in all positions in the vector. Any existing items are removed. If \fId\fR is 0, the vector becomes empty. .PP If \fIsize\fR >= 0, the vector is first resized to \fIsize\fR. By default, \fIsize\fR is -1. @@ -219,7 +219,7 @@ If \fIsize\fR >= 0, the vector is first resized to \fIsize\fR. By default, \fIsi Returns TRUE if successful, i.e. \fIsize\fR is the same as the current size, or \fIsize\fR is larger and the memory has successfully been allocated; otherwise returns FALSE. .PP See also resize(), insert(), and isEmpty(). -.SH "int QPtrVector::find ( const type * d, uint i = 0 ) const" +.SH "int TQPtrVector::find ( const type * d, uint i = 0 ) const" Finds the first occurrence of item \fId\fR in the vector using a linear search. The search starts at position \fIi\fR, which must be less than size(). \fIi\fR is by default 0; i.e. the search starts at the start of the vector. .PP Returns the position of \fId\fR, or -1 if \fId\fR could not be found. @@ -229,7 +229,7 @@ Compares items using the virtual function compareItems(). Use the much faster bsearch() to search a sorted vector. .PP See also findRef() and bsearch(). -.SH "int QPtrVector::findRef ( const type * d, uint i = 0 ) const" +.SH "int TQPtrVector::findRef ( const type * d, uint i = 0 ) const" Finds the first occurrence of the item pointer \fId\fR in the vector using a linear search. The search starts at position \fIi\fR, which must be less than size(). \fIi\fR is by default 0; i.e. the search starts at the start of the vector. .PP Returns the position of \fId\fR, or -1 if \fId\fR could not be found. @@ -239,47 +239,47 @@ This function does \fInot\fR use compareItems() to compare items. Use the much faster bsearch() to search a sorted vector. .PP See also find() and bsearch(). -.SH "bool QPtrVector::insert ( uint i, const type * d )" +.SH "bool TQPtrVector::insert ( uint i, const type * d )" Sets position \fIi\fR in the vector to contain the item \fId\fR. \fIi\fR must be less than size(). Any previous element in position \fIi\fR is removed. .PP See also at(). -.SH "bool QPtrVector::isEmpty () const" +.SH "bool TQPtrVector::isEmpty () const" Returns TRUE if the vector is empty; otherwise returns FALSE. .PP See also count(). -.SH "bool QPtrVector::isNull () const" +.SH "bool TQPtrVector::isNull () const" Returns TRUE if the vector is null; otherwise returns FALSE. .PP A null vector has size() == 0 and data() == 0. .PP See also size(). -.SH "QPtrVector & QPtrVector::operator= ( const QPtrVector & v )" +.SH "TQPtrVector & TQPtrVector::operator= ( const TQPtrVector & v )" Assigns \fIv\fR to this vector and returns a reference to this vector. .PP This vector is first cleared and then all the items from \fIv\fR are copied into the vector. Only the pointers are copied (i.e. shallow copy). .PP See also clear(). -.SH "bool QPtrVector::operator== ( const QPtrVector & v ) const" +.SH "bool TQPtrVector::operator== ( const TQPtrVector & v ) const" Returns TRUE if this vector and \fIv\fR are equal; otherwise returns FALSE. -.SH "type * QPtrVector::operator[] ( int i ) const" +.SH "type * TQPtrVector::operator[] ( int i ) const" Returns the item at position \fIi\fR, or 0 if there is no item at that position. \fIi\fR must be less than size(). .PP Equivalent to at( \fIi\fR ). .PP See also at(). -.SH "QDataStream & QPtrVector::read ( QDataStream & s, QPtrCollection::Item & item )\fC [virtual protected]\fR" +.SH "QDataStream & TQPtrVector::read ( QDataStream & s, TQPtrCollection::Item & item )\fC [virtual protected]\fR" Reads a vector item, \fIitem\fR, from the stream \fIs\fR and returns a reference to the stream. .PP The default implementation sets \fIitem\fR to 0. .PP See also write(). -.SH "bool QPtrVector::remove ( uint i )" +.SH "bool TQPtrVector::remove ( uint i )" Removes the item at position \fIi\fR in the vector, if there is one. \fIi\fR must be less than size(). .PP Returns TRUE if \fIi\fR is within range; otherwise returns FALSE. .PP See also take() and at(). -.SH "bool QPtrVector::resize ( uint size )" +.SH "bool TQPtrVector::resize ( uint size )" Resizes (expands or shrinks) the vector to \fIsize\fR elements. The vector becomes a null vector if \fIsize\fR == 0. .PP Any items at position \fIsize\fR or beyond in the vector are removed. New positions are initialized to 0. @@ -287,7 +287,7 @@ Any items at position \fIsize\fR or beyond in the vector are removed. New positi Returns TRUE if successful, i.e. if the memory was successfully allocated; otherwise returns FALSE. .PP See also size() and isNull(). -.SH "void QPtrCollection::setAutoDelete ( bool enable )" +.SH "void TQPtrCollection::setAutoDelete ( bool enable )" Sets the collection to auto-delete its contents if \fIenable\fR is TRUE and to never delete them if \fIenable\fR is FALSE. .PP If auto-deleting is turned on, all the items in a collection are deleted when the collection itself is deleted. This is convenient if the collection has the only pointer to the items. @@ -300,25 +300,25 @@ See also autoDelete(). .PP Examples: .)l grapher/grapher.cpp, scribble/scribble.cpp, and table/bigtable/main.cpp. -.SH "uint QPtrVector::size () const" +.SH "uint TQPtrVector::size () const" Returns the size of the vector, i.e. the number of vector positions. This is also the maximum number of items the vector can hold. .PP The vector is a null vector if size() == 0. .PP See also isNull(), resize(), and count(). -.SH "void QPtrVector::sort ()" +.SH "void TQPtrVector::sort ()" Sorts the items in ascending order. Any empty positions will be put last. .PP Compares items using the virtual function compareItems(). .PP See also bsearch(). -.SH "type * QPtrVector::take ( uint i )" +.SH "type * TQPtrVector::take ( uint i )" Returns the item at position \fIi\fR in the vector, and removes that item from the vector. \fIi\fR must be less than size(). If there is no item at position \fIi\fR, 0 is returned. .PP Unlike remove(), this function does \fInot\fR call deleteItem() for the removed item. .PP See also remove() and at(). -.SH "QDataStream & QPtrVector::write ( QDataStream & s, QPtrCollection::Item item ) const\fC [virtual protected]\fR" +.SH "QDataStream & TQPtrVector::write ( QDataStream & s, TQPtrCollection::Item item ) const\fC [virtual protected]\fR" Writes a vector item, \fIitem\fR, to the stream \fIs\fR and returns a reference to the stream. .PP The default implementation does nothing. @@ -326,7 +326,7 @@ The default implementation does nothing. See also read(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqptrvector.html +.BR http://doc.trolltech.com/tqptrvector.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqstrilist.3qt b/doc/man/man3/tqstrilist.3qt index 50134bd2..923f9995 100644 --- a/doc/man/man3/tqstrilist.3qt +++ b/doc/man/man3/tqstrilist.3qt @@ -25,7 +25,7 @@ Inherits QStrList. .SH DESCRIPTION The QStrIList class provides a doubly-linked list of char* with case-insensitive comparison. .PP -This class is a QPtrList instance (a list of char*). +This class is a TQPtrList instance (a list of char*). .PP QStrIList is identical to QStrList except that the virtual compareItems() function is reimplemented to compare strings case-insensitively. The inSort() function inserts strings in a 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 diff --git a/doc/man/man3/tqstrlist.3qt b/doc/man/man3/tqstrlist.3qt index 7e8dbb81..2a792896 100644 --- a/doc/man/man3/tqstrlist.3qt +++ b/doc/man/man3/tqstrlist.3qt @@ -11,7 +11,7 @@ QStrList \- Doubly-linked list of char* .SH SYNOPSIS \fC#include \fR .PP -Inherits QPtrList. +Inherits TQPtrList. .PP Inherited by QStrIList. .PP @@ -35,7 +35,7 @@ The QStrList class provides a doubly-linked list of char*. .PP If you want a string list of QStrings use QStringList. .PP -This class is a QPtrList instance (a list of char*). +This class is a TQPtrList instance (a list of char*). .PP QStrList can make deep or shallow copies of the strings that are inserted. .PP diff --git a/doc/man/man3/tqstrlistiterator.3qt b/doc/man/man3/tqstrlistiterator.3qt index 8727bd1b..68724fd5 100644 --- a/doc/man/man3/tqstrlistiterator.3qt +++ b/doc/man/man3/tqstrlistiterator.3qt @@ -11,12 +11,12 @@ QStrListIterator \- Iterator for the QStrList and QStrIList classes .SH SYNOPSIS \fC#include \fR .PP -Inherits QPtrListIterator. +Inherits TQPtrListIterator. .PP .SH DESCRIPTION The QStrListIterator class is an iterator for the QStrList and QStrIList classes. .PP -This class is a QPtrListIterator instance. It can traverse the strings in the QStrList and QStrIList classes. +This class is a TQPtrListIterator instance. It can traverse the strings in the QStrList and QStrIList classes. .PP See also Non-GUI Classes. diff --git a/doc/man/man3/tqtabbar.3qt b/doc/man/man3/tqtabbar.3qt index 35b01c98..288976e9 100644 --- a/doc/man/man3/tqtabbar.3qt +++ b/doc/man/man3/tqtabbar.3qt @@ -124,7 +124,7 @@ Inherits TQWidget. .BI "virtual void \fBpaintEvent\fR ( QPaintEvent * e )" .br .ti -1c -.BI "QPtrList * \fBtabList\fR ()" +.BI "TQPtrList * \fBtabList\fR ()" .br .in -1c .SH DESCRIPTION @@ -256,7 +256,7 @@ See also count. Returns the tab at position \fIindex\fR. .PP See also indexOf(). -.SH "QPtrList * QTabBar::tabList ()\fC [protected]\fR" +.SH "TQPtrList * QTabBar::tabList ()\fC [protected]\fR" The list of QTab objects in the tab bar. .PP This list is unlikely to be in the order that the QTab elements appear visually. One way of iterating over the tabs is like this: diff --git a/doc/man/man3/tqurloperator.3qt b/doc/man/man3/tqurloperator.3qt index 6e2f17b8..23d5e38c 100644 --- a/doc/man/man3/tqurloperator.3qt +++ b/doc/man/man3/tqurloperator.3qt @@ -49,7 +49,7 @@ Inherits TQObject and QUrl. .BI "virtual const QNetworkOperation * \fBput\fR ( const QByteArray & data, const TQString & location = TQString::null )" .br .ti -1c -.BI "virtual QPtrList \fBcopy\fR ( const TQString & from, const TQString & to, bool move = FALSE, bool toPath = TRUE )" +.BI "virtual TQPtrList \fBcopy\fR ( const TQString & from, const TQString & to, bool move = FALSE, bool toPath = TRUE )" .br .ti -1c .BI "virtual void \fBcopy\fR ( const QStringList & files, const TQString & dest, bool move = FALSE )" @@ -97,7 +97,7 @@ Inherits TQObject and QUrl. .BI "void \fBdataTransferProgress\fR ( int bytesDone, int bytesTotal, QNetworkOperation * op )" .br .ti -1c -.BI "void \fBstartedNextCopy\fR ( const QPtrList & lst )" +.BI "void \fBstartedNextCopy\fR ( const TQPtrList & lst )" .br .ti -1c .BI "void \fBconnectionStateChanged\fR ( int state, const TQString & data )" @@ -179,7 +179,7 @@ Clears the cache of children. This signal is emitted whenever the URL operator's connection state changes. \fIstate\fR describes the new state, which is a QNetworkProtocol::ConnectionState value. .PP \fIdata\fR is a string that describes the change of the connection. This can be used to display a message to the user. -.SH "QPtrList QUrlOperator::copy ( const TQString & from, const TQString & to, bool move = FALSE, bool toPath = TRUE )\fC [virtual]\fR" +.SH "TQPtrList QUrlOperator::copy ( const TQString & from, const TQString & to, bool move = FALSE, bool toPath = TRUE )\fC [virtual]\fR" Copies the file \fIfrom\fR to \fIto\fR. If \fImove\fR is TRUE, the file is moved (copied and removed). \fIfrom\fR must point to a file and \fIto\fR must point to a directory (into which \fIfrom\fR is copied) unless \fItoPath\fR is set to FALSE. If \fItoPath\fR is set to FALSE then the \fIto\fR variable is assumed to be the absolute file path (destination file path + file name). The copying is done using the get() and put() operations. If you want to be notified about the progress of the operation, connect to the dataTransferProgress() signal. Bear in mind that the get() and put() operations emit this signal through the QUrlOperator. The number of transferred bytes and the total bytes that you receive as arguments in this signal do not relate to the the whole copy operation; they relate first to the get() and then to the put() operation. Always check what type of operation the signal comes from; this is given in the signal's last argument. .PP At the end, finished() (with success or failure) is emitted, so check the state of the network operation object to see whether or not the operation was successful. @@ -341,7 +341,7 @@ See also QDir::setNameFilter(). Some operations (such as listChildren()) emit this signal when they start processing the operation. \fIop\fR is a pointer to the operation object which contains all the information about the operation, including the state. .PP See also QNetworkOperation and QNetworkProtocol. -.SH "void QUrlOperator::startedNextCopy ( const QPtrList & lst )\fC [signal]\fR" +.SH "void QUrlOperator::startedNextCopy ( const TQPtrList & lst )\fC [signal]\fR" This signal is emitted if copy() starts a new copy operation. \fIlst\fR contains all QNetworkOperations related to this copy operation. .PP See also copy(). diff --git a/doc/man/man3/tqvaluelist.3qt b/doc/man/man3/tqvaluelist.3qt index a01a41ce..4b320eac 100644 --- a/doc/man/man3/tqvaluelist.3qt +++ b/doc/man/man3/tqvaluelist.3qt @@ -230,9 +230,9 @@ The TQValueList class is a value-based template class that provides lists. .PP TQValueList is a TQt implementation of an STL-like list container. It can be used in your application if the standard \fClist\fR is not available for your target platform(s). TQValueList is part of the TQt Template Library. .PP -TQValueList defines a template instance to create a list of values that all have the class T. Note that TQValueList does not store pointers to the members of the list; it holds a copy of every member. This is why these kinds of classes are called "value based"; QPtrList and QDict are "pointer based". +TQValueList defines a template instance to create a list of values that all have the class T. Note that TQValueList does not store pointers to the members of the list; it holds a copy of every member. This is why these kinds of classes are called "value based"; TQPtrList and QDict are "pointer based". .PP -TQValueList contains and manages a collection of objects of type T and provides iterators that allow the contained objects to be addressed. TQValueList owns the contained items. For more relaxed ownership semantics, see QPtrCollection and friends which are pointer-based containers. +TQValueList contains and manages a collection of objects of type T and provides iterators that allow the contained objects to be addressed. TQValueList owns the contained items. For more relaxed ownership semantics, see TQPtrCollection and friends which are pointer-based containers. .PP Some classes cannot be used within a TQValueList, for example, all classes derived from TQObject and thus all classes that implement widgets. Only values can be used in a TQValueList. To qualify as a value the class must provide: .TP diff --git a/doc/man/man3/tqvaluestack.3qt b/doc/man/man3/tqvaluestack.3qt index ba24f2b8..19c7ba41 100644 --- a/doc/man/man3/tqvaluestack.3qt +++ b/doc/man/man3/tqvaluestack.3qt @@ -41,7 +41,7 @@ The TQValueStack class is a value-based template class that provides a stack. .PP Define a template instance TQValueStack to create a stack of values that all have the class X. TQValueStack is part of the TQt Template Library. .PP -Note that TQValueStack does not store pointers to the members of the stack; it holds a copy of every member. That is why these kinds of classes are called "value based"; QPtrStack, QPtrList, QDict, etc., are "pointer based". +Note that TQValueStack does not store pointers to the members of the stack; it holds a copy of every member. That is why these kinds of classes are called "value based"; TQPtrStack, TQPtrList, QDict, etc., are "pointer based". .PP A stack is a last in, first out (LIFO) structure. Items are added to the top of the stack with push() and retrieved from the top with pop(). The top() function provides access to the topmost item without removing it. .PP @@ -72,7 +72,7 @@ Example: .br .fi .PP -TQValueStack is a specialized TQValueList provided for convenience. All of TQValueList's functionality also applies to QPtrStack, for example the facility to iterate over all elements using TQValueStack::Iterator. See TQValueListIterator for further details. +TQValueStack is a specialized TQValueList provided for convenience. All of TQValueList's functionality also applies to TQPtrStack, for example the facility to iterate over all elements using TQValueStack::Iterator. See TQValueListIterator for further details. .PP Some classes cannot be used within a TQValueStack, for example everything derived from TQObject and thus all classes that implement widgets. Only values can be used in a TQValueStack. To qualify as a value, the class must provide .TP diff --git a/doc/man/man3/tqvaluevector.3qt b/doc/man/man3/tqvaluevector.3qt index 2e8dba80..fa8ec1dc 100644 --- a/doc/man/man3/tqvaluevector.3qt +++ b/doc/man/man3/tqvaluevector.3qt @@ -186,9 +186,9 @@ The TQValueVector class is a value-based template class that provides a dynamic .PP TQValueVector is a TQt implementation of an STL-like vector container. It can be used in your application if the standard \fCvector\fR is not available for your target platforms. TQValueVector is part of the TQt Template Library. .PP -TQValueVector defines a template instance to create a vector of values that all have the class T. TQValueVector does not store pointers to the members of the vector; it holds a copy of every member. TQValueVector is said to be value based; in contrast, QPtrList and QDict are pointer based. +TQValueVector defines a template instance to create a vector of values that all have the class T. TQValueVector does not store pointers to the members of the vector; it holds a copy of every member. TQValueVector is said to be value based; in contrast, TQPtrList and QDict are pointer based. .PP -TQValueVector contains and manages a collection of objects of type T and provides random access iterators that allow the contained objects to be addressed. TQValueVector owns the contained elements. For more relaxed ownership semantics, see QPtrCollection and friends, which are pointer-based containers. +TQValueVector contains and manages a collection of objects of type T and provides random access iterators that allow the contained objects to be addressed. TQValueVector owns the contained elements. For more relaxed ownership semantics, see TQPtrCollection and friends, which are pointer-based containers. .PP TQValueVector provides good performance if you append or remove elements from the end of the vector. If you insert or remove elements from anywhere but the end, performance is very bad. The reason for this is that elements must to be copied into new positions. .PP diff --git a/doc/man/man3/tqwindowsmime.3qt b/doc/man/man3/tqwindowsmime.3qt index 68ac7f76..b0ef199f 100644 --- a/doc/man/man3/tqwindowsmime.3qt +++ b/doc/man/man3/tqwindowsmime.3qt @@ -50,7 +50,7 @@ QWindowsMime \- Maps open-standard MIME to Window Clipboard formats .BI "void \fBinitialize\fR ()" .br .ti -1c -.BI "QPtrList \fBall\fR ()" +.BI "TQPtrList \fBall\fR ()" .br .ti -1c .BI "QWindowsMime * \fBconvertor\fR ( const char * mime, int cf )" @@ -86,7 +86,7 @@ See also Drag And Drop Classes, Input/Output and Networking, and Miscellaneous C Constructs a new conversion object, adding it to the globally accessed list of available convertors. .SH "QWindowsMime::~QWindowsMime ()\fC [virtual]\fR" Destroys a conversion object, removing it from the global list of available convertors. -.SH "QPtrList QWindowsMime::all ()\fC [static]\fR" +.SH "TQPtrList QWindowsMime::all ()\fC [static]\fR" Returns a list of all currently defined QWindowsMime objects. .SH "bool QWindowsMime::canConvert ( const char * mime, int cf )\fC [pure virtual]\fR" Returns TRUE if the convertor can convert (both ways) between \fImime\fR and \fIcf\fR; otherwise returns FALSE. diff --git a/doc/man/man3/tqworkspace.3qt b/doc/man/man3/tqworkspace.3qt index 89de0dda..49d15263 100644 --- a/doc/man/man3/tqworkspace.3qt +++ b/doc/man/man3/tqworkspace.3qt @@ -152,9 +152,9 @@ See also activeWindow() and windowList(). .SH "TQWidgetList QWorkspace::windowList ( WindowOrder order ) const" Returns a list of all windows. If \fIorder\fR is CreationOrder (the default) the windows are listed in the order in which they had been inserted into the workspace. If \fIorder\fR is StackingOrder the windows are listed in their stacking order, with the topmost window being the last window in the list. .PP -TQWidgetList is the same as QPtrList. +TQWidgetList is the same as TQPtrList. .PP -See also QPtrList. +See also TQPtrList. .PP Example: mdi/application.cpp. .SH "TQWidgetList QWorkspace::windowList () const" diff --git a/doc/man/man3/tqwsserver.3qt b/doc/man/man3/tqwsserver.3qt index 161a40eb..c9c625af 100644 --- a/doc/man/man3/tqwsserver.3qt +++ b/doc/man/man3/tqwsserver.3qt @@ -41,7 +41,7 @@ QWSServer \- Server-specific functionality in Qt/Embedded .BI "QWSWindow * \fBwindowAt\fR ( const QPoint & pos )" .br .ti -1c -.BI "const QPtrList & \fBclientWindows\fR ()" +.BI "const TQPtrList & \fBclientWindows\fR ()" .br .ti -1c .BI "void \fBopenMouse\fR ()" @@ -206,7 +206,7 @@ Construct a QWSServer object. The \fIflags\fR are used for keyboard and mouse setting. The server's parent is \fIparent\fR and it is called \fIname\fR. .SH "QWSServer::~QWSServer ()" Destruct QWSServer -.SH "const QPtrList & QWSServer::clientWindows ()" +.SH "const TQPtrList & QWSServer::clientWindows ()" Returns the list of top-level windows. This list will change as applications add and remove wigdets so it should not be stored for future use. The windows are sorted in stacking order from top-most to bottom-most. .SH "void QWSServer::closeKeyboard ()" Closes keyboard device(s). diff --git a/doc/porting3.doc b/doc/porting3.doc index 3be95f6d..829a3fde 100644 --- a/doc/porting3.doc +++ b/doc/porting3.doc @@ -258,7 +258,7 @@ new code. \i TQCanvasItem::enabled() const \i TQCanvasItem::selected() const \i TQCanvasItem::visible() const -\i TQCanvasPixmapArray::TQCanvasPixmapArray( QPtrList\ list, QPtrList\ hotspots ) +\i TQCanvasPixmapArray::TQCanvasPixmapArray( TQPtrList\ list, TQPtrList\ hotspots ) \i TQCanvasPixmapArray::operator!() \i QColorGroup::QColorGroup( const TQColor \& foreground, const TQColor \& background, const TQColor \& light, const TQColor \& dark, const TQColor \& mid, const TQColor \& text, const TQColor \& base ) \i QComboBox::autoResize() const @@ -375,12 +375,12 @@ names are no longer avaialable. \table \header \i Old Name \i New Name \i New Header File \row \i QArray \i \l QMemArray \i \c -\row \i QCollection \i \l QPtrCollection \i \c -\row \i QList \i \l QPtrList \i \c -\row \i QListIterator \i \l QPtrListIterator \i \c -\row \i QQueue \i \l QPtrQueue \i \c -\row \i QStack \i \l QPtrStack \i \c -\row \i QVector \i \l QPtrVector \i \c +\row \i QCollection \i \l TQPtrCollection \i \c +\row \i QList \i \l TQPtrList \i \c +\row \i QListIterator \i \l TQPtrListIterator \i \c +\row \i QQueue \i \l TQPtrQueue \i \c +\row \i QStack \i \l TQPtrStack \i \c +\row \i QVector \i \l TQPtrVector \i \c \endtable \section1 QButtonGroup @@ -642,7 +642,7 @@ modal dialog instead. \section1 QSortedList The QSortedList class is now obsolete. Consider using a QDict, a TQMap -or a plain QPtrList instead. +or a plain TQPtrList instead. \section1 QTableView diff --git a/doc/qasciicache.doc b/doc/qasciicache.doc index 576b82af..12b86ad7 100644 --- a/doc/qasciicache.doc +++ b/doc/qasciicache.doc @@ -69,7 +69,7 @@ recently used item. There are also methods to remove() or take() an object from the - cache. Calling \link QPtrCollection::setAutoDelete() + cache. Calling \link TQPtrCollection::setAutoDelete() setAutoDelete(TRUE)\endlink tells the cache to delete items that are removed. The default is to not delete items when then are removed (i.e., remove() and take() are equivalent). @@ -78,13 +78,13 @@ not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual - function QPtrCollection::newItem() for the item to be inserted. + function TQPtrCollection::newItem() for the item to be inserted. Inherit a cache and reimplement newItem() if you want deep copies. When removing a cache item the virtual function - QPtrCollection::deleteItem() is called. Its default implementation + TQPtrCollection::deleteItem() is called. Its default implementation in QAsciiCache is to delete the item if \link - QPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. + TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. There is a QAsciiCacheIterator which may be used to traverse the items in the cache in arbitrary order. @@ -222,7 +222,7 @@ present in the cache; otherwise returns FALSE. The item is deleted if auto-deletion has been enabled, i.e., if - you have called \link QPtrCollection::setAutoDelete() + you have called \link TQPtrCollection::setAutoDelete() setAutoDelete(TRUE)\endlink. If there are two or more items with equal keys, the one that was @@ -254,7 +254,7 @@ \fn void QAsciiCache::clear() Removes all items from the cache, and deletes them if \link - QPtrCollection::setAutoDelete() auto-deletion\endlink has been + TQPtrCollection::setAutoDelete() auto-deletion\endlink has been enabled. All cache iterators that operate on this cache are reset. diff --git a/doc/qasciidict.doc b/doc/qasciidict.doc index 198fbf13..2e7f5b94 100644 --- a/doc/qasciidict.doc +++ b/doc/qasciidict.doc @@ -87,12 +87,12 @@ In this example we use a dictionary to keep track of the line edits we're using. We insert each line edit into the dictionary with a unique name and then access the line edits via the - dictionary. See QPtrDict, QIntDict and QDict. + dictionary. See TQPtrDict, QIntDict and QDict. See QDict for full details, including the choice of dictionary size, and how deletions are handled. - \sa QAsciiDictIterator, QDict, QIntDict, QPtrDict, + \sa QAsciiDictIterator, QDict, QIntDict, TQPtrDict, \link collection.html Collection Classes\endlink */ @@ -230,7 +230,7 @@ recently inserted item will be removed. The removed item is deleted if \link - QPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. + TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. All dictionary iterators that refer to the removed item will be set to point to the next item in the dictionary traversal order. @@ -242,7 +242,7 @@ \fn type *QAsciiDict::take( const char *key ) Takes the item associated with \a key out of the dictionary - without deleting it (even if \link QPtrCollection::setAutoDelete() + without deleting it (even if \link TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled). If there are two or more items with equal keys, then the most @@ -263,7 +263,7 @@ Removes all items from the dictionary. The removed items are deleted if \link - QPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. + TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. All dictionary iterators that operate on dictionary are reset. @@ -313,7 +313,7 @@ /*! \fn QDataStream& QAsciiDict::read( QDataStream &s, - QPtrCollection::Item &item ) + TQPtrCollection::Item &item ) Reads a dictionary item from the stream \a s and returns a reference to the stream. @@ -325,7 +325,7 @@ /*! \fn QDataStream& QAsciiDict::write( QDataStream &s, - QPtrCollection::Item ) const + TQPtrCollection::Item ) const Writes a dictionary item to the stream \a s and returns a reference to the stream. diff --git a/doc/qcache.doc b/doc/qcache.doc index 14bc9c92..edf60fdb 100644 --- a/doc/qcache.doc +++ b/doc/qcache.doc @@ -74,11 +74,11 @@ not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual - function QPtrCollection::newItem() for the item to be inserted. + function TQPtrCollection::newItem() for the item to be inserted. Inherit a cache and reimplement newItem() if you want deep copies. When removing a cache item, the virtual function - QPtrCollection::deleteItem() is called. The default + TQPtrCollection::deleteItem() is called. The default implementation deletes the item if auto-deletion is enabled, and does nothing otherwise. diff --git a/doc/qdict.doc b/doc/qdict.doc index c28967d8..bb80e330 100644 --- a/doc/qdict.doc +++ b/doc/qdict.doc @@ -102,12 +102,12 @@ copied, not the item itself, i.e. a shallow copy is made. It is possible to make the dictionary copy all of the item's data (a deep copy) when an item is inserted. insert() calls the virtual - function QPtrCollection::newItem() for the item to be inserted. + function TQPtrCollection::newItem() for the item to be inserted. Inherit a dictionary and reimplement newItem() if you want deep copies. When removing a dictionary item, the virtual function - QPtrCollection::deleteItem() is called. QDict's default + TQPtrCollection::deleteItem() is called. QDict's default implementation is to delete the item if auto-deletion is enabled. Example #1: @@ -181,7 +181,7 @@ the accelerator and add it to the dictionary. Finally we create a QAction for each style. - \sa QDictIterator, QAsciiDict, QIntDict, QPtrDict + \sa QDictIterator, QAsciiDict, QIntDict, TQPtrDict */ @@ -311,7 +311,7 @@ that was inserted will be removed. The removed item is deleted if \link - QPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. + TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. All dictionary iterators that refer to the removed item will be set to point to the next item in the dictionary's traversal order. @@ -323,7 +323,7 @@ \fn type *QDict::take( const TQString &key ) Takes the item with \a key out of the dictionary without deleting - it (even if \link QPtrCollection::setAutoDelete() + it (even if \link TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled). If there are two or more items with equal keys, then the last item @@ -344,7 +344,7 @@ Removes all items from the dictionary. The removed items are deleted if \link - QPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. + TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. All dictionary iterators that operate on the dictionary are reset. @@ -387,7 +387,7 @@ */ /*! - \fn QDataStream& QDict::read( QDataStream &s, QPtrCollection::Item &item ) + \fn QDataStream& QDict::read( QDataStream &s, TQPtrCollection::Item &item ) Reads a dictionary item from the stream \a s and returns a reference to the stream. @@ -398,7 +398,7 @@ */ /*! - \fn QDataStream& QDict::write( QDataStream &s, QPtrCollection::Item ) const + \fn QDataStream& QDict::write( QDataStream &s, TQPtrCollection::Item ) const Writes a dictionary item to the stream \a s and returns a reference to the stream. diff --git a/doc/qintcache.doc b/doc/qintcache.doc index 7d444ed8..b1fa8f0d 100644 --- a/doc/qintcache.doc +++ b/doc/qintcache.doc @@ -73,7 +73,7 @@ not the item itself. This is called a shallow copy. It is possible to make the cache copy all of the item's data (known as a deep copy) when an item is inserted. insert() calls the virtual - function QPtrCollection::newItem() for the item to be inserted. + function TQPtrCollection::newItem() for the item to be inserted. Inherit a dictionary and reimplement newItem() if you want deep copies. diff --git a/doc/qintdict.doc b/doc/qintdict.doc index be269316..22a772de 100644 --- a/doc/qintdict.doc +++ b/doc/qintdict.doc @@ -87,7 +87,7 @@ See QDict for full details, including the choice of dictionary size, and how deletions are handled. - \sa QIntDictIterator, QDict, QAsciiDict, QPtrDict, + \sa QIntDictIterator, QDict, QAsciiDict, TQPtrDict, \link collection.html Collection Classes\endlink */ @@ -214,7 +214,7 @@ recently inserted item will be removed. The removed item is deleted if \link - QPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. + TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. All dictionary iterators that refer to the removed item will be set to point to the next item in the dictionary's traversal @@ -227,7 +227,7 @@ \fn type *QIntDict::take( long key ) Takes the item associated with \a key out of the dictionary - without deleting it (even if \link QPtrCollection::setAutoDelete() + without deleting it (even if \link TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled). If there are two or more items with equal keys, then the most @@ -248,7 +248,7 @@ Removes all items from the dictionary. The removed items are deleted if \link - QPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. + TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. All dictionary iterators that access this dictionary will be reset. @@ -291,7 +291,7 @@ */ /*! - \fn QDataStream& QIntDict::read( QDataStream &s, QPtrCollection::Item &item ) + \fn QDataStream& QIntDict::read( QDataStream &s, TQPtrCollection::Item &item ) Reads a dictionary item from the stream \a s and returns a reference to the stream. @@ -302,7 +302,7 @@ */ /*! - \fn QDataStream& QIntDict::write( QDataStream &s, QPtrCollection::Item ) const + \fn QDataStream& QIntDict::write( QDataStream &s, TQPtrCollection::Item ) const Writes a dictionary item to the stream \a s and returns a reference to the stream. diff --git a/doc/qmemarray.doc b/doc/qmemarray.doc index 566731ee..20e2f68b 100644 --- a/doc/qmemarray.doc +++ b/doc/qmemarray.doc @@ -57,7 +57,7 @@ QMemArray uses bitwise operations to copy and compare array elements. - The QPtrVector collection class is also a kind of array. Like most + The TQPtrVector collection class is also a kind of array. Like most \link collection.html collection classes\endlink, it uses pointers to the contained items. diff --git a/doc/qtl.doc b/doc/qtl.doc index 2c3ab4e3..173bd6fd 100644 --- a/doc/qtl.doc +++ b/doc/qtl.doc @@ -64,13 +64,13 @@ differences, but is often a little slower and often expands to less object code. If you cannot make copies of the objects you want to store you should -use QPtrCollection and friends, all of which operate on pointers +use TQPtrCollection and friends, all of which operate on pointers rather than values. This applies, for example, to all classes derived from \l TQObject. A TQObject does not have a copy constructor, so using it as value is impossible. You may choose to store pointers to -TQObjects in a TQValueList, but using QPtrList directly seems to be the -better choice for this kind of application domain. QPtrList, like all -other QPtrCollection based containers, provides far more sanity +TQObjects in a TQValueList, but using TQPtrList directly seems to be the +better choice for this kind of application domain. TQPtrList, like all +other TQPtrCollection based containers, provides far more sanity checking than a speed-optimized value based container. If you have objects that implement value semantics, and the STL is not @@ -94,7 +94,7 @@ TQString and all simple C++ types, such as int, bool or double. The TQt Template Library is designed for speed. Iterators are extremely fast. To achieve this performance, less error checking is done than in -the QPtrCollection based containers. A QTL container, for example, +the TQPtrCollection based containers. A QTL container, for example, does not track any associated iterators. This makes certain validity checks, for example when removing items, impossible to perform automatically, but does lead to extremely good performance. diff --git a/doc/tqmap.doc b/doc/tqmap.doc index 6c126605..e702440c 100644 --- a/doc/tqmap.doc +++ b/doc/tqmap.doc @@ -60,7 +60,7 @@ dictionary with keys of type Key and values of type Data. TQMap does not store pointers to the members of the map; instead, it holds a copy of every member. For this reason, TQMap is - value-based, whereas QPtrList and QDict are pointer-based. + value-based, whereas TQPtrList and QDict are pointer-based. TQMap contains and manages a collection of objects of type Data with associated key values of type Key and provides iterators that diff --git a/doc/tqobjectlist.doc b/doc/tqobjectlist.doc index 14d687fe..f83403fd 100644 --- a/doc/tqobjectlist.doc +++ b/doc/tqobjectlist.doc @@ -5,7 +5,7 @@ \ingroup collection \ingroup tools - A TQObjectList is a \link ntqptrlist.html + A TQObjectList is a \link tqptrlist.html TQPtrList\\endlink. The list can be traversed using inherited functions, e.g. getFirst(), next(), etc., or using a TQObjectListIterator iterator. @@ -60,7 +60,7 @@ \ingroup collection \ingroup tools - A TQObjectListIterator iterator is a \link qptrlistiterator.html + A TQObjectListIterator iterator is a \link tqptrlistiterator.html TQPtrListIterator\\endlink. See \l TQObject::queryList() for an example of use. diff --git a/doc/tqpair.doc b/doc/tqpair.doc index fed6658c..8818fa02 100644 --- a/doc/tqpair.doc +++ b/doc/tqpair.doc @@ -58,13 +58,13 @@ that TQPair does not store pointers to the two elements; it holds a copy of every member. This is why these kinds of classes are called \e{value based}. If you're interested in \e{pointer based} - classes see, for example, QPtrList and QDict. + classes see, for example, TQPtrList and QDict. TQPair holds one copy of type T1 and one copy of type T2, but does not provide iterators to access these elements. Instead, the two elements (\c first and \c second) are public member variables of the pair. TQPair owns the contained elements. For more relaxed - ownership semantics, see QPtrCollection and friends which are + ownership semantics, see TQPtrCollection and friends which are pointer-based containers. Some classes cannot be used within a TQPair: for example, all diff --git a/doc/qptrdict.doc b/doc/tqptrdict.doc similarity index 78% rename from doc/qptrdict.doc rename to doc/tqptrdict.doc index ebf58f1b..b11c2b49 100644 --- a/doc/qptrdict.doc +++ b/doc/tqptrdict.doc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** QPtrDict and QPtrDictIterator class documentation +** TQPtrDict and TQPtrDictIterator class documentation ** ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. ** @@ -38,20 +38,20 @@ /***************************************************************************** - QPtrDict documentation + TQPtrDict documentation *****************************************************************************/ /*! - \class QPtrDict - \brief The QPtrDict class is a template class that provides a dictionary based on void* keys. + \class TQPtrDict + \brief The TQPtrDict class is a template class that provides a dictionary based on void* keys. \ingroup collection \ingroup tools \important autoDelete setAutoDelete - QPtrDict is implemented as a template class. Define a template - instance QPtrDict\ to create a dictionary that operates on + TQPtrDict is implemented as a template class. Define a template + instance TQPtrDict\ to create a dictionary that operates on pointers to X (X*). A dictionary is a collection of key-value pairs. The key is a @@ -60,7 +60,7 @@ Example: \code - QPtrDict fields; // void* keys, char* values + TQPtrDict fields; // void* keys, char* values QLineEdit *le1 = new QLineEdit( this ); le1->setText( "Simpson" ); @@ -73,7 +73,7 @@ fields.insert( le2, "Forename" ); fields.insert( le3, "Age" ); - QPtrDictIterator it( fields ); + TQPtrDictIterator it( fields ); for( ; it.current(); ++it ) cout << it.current() << endl; cout << endl; @@ -92,13 +92,13 @@ See QDict for full details, including the choice of dictionary size, and how deletions are handled. - \sa QPtrDictIterator, QDict, QAsciiDict, QIntDict, + \sa TQPtrDictIterator, QDict, QAsciiDict, QIntDict, \link collection.html Collection Classes\endlink */ /*! - \fn QPtrDict::QPtrDict( int size ) + \fn TQPtrDict::TQPtrDict( int size ) Constructs a dictionary using an internal hash array with the size \a size. @@ -109,7 +109,7 @@ */ /*! - \fn QPtrDict::QPtrDict( const QPtrDict &dict ) + \fn TQPtrDict::TQPtrDict( const TQPtrDict &dict ) Constructs a copy of \a dict. @@ -118,7 +118,7 @@ */ /*! - \fn QPtrDict::~QPtrDict() + \fn TQPtrDict::~TQPtrDict() Removes all items from the dictionary and destroys it. @@ -128,7 +128,7 @@ */ /*! - \fn QPtrDict &QPtrDict::operator=(const QPtrDict &dict) + \fn TQPtrDict &TQPtrDict::operator=(const TQPtrDict &dict) Assigns \a dict to this dictionary and returns a reference to this dictionary. @@ -139,7 +139,7 @@ */ /*! - \fn uint QPtrDict::count() const + \fn uint TQPtrDict::count() const Returns the number of items in the dictionary. @@ -147,7 +147,7 @@ */ /*! - \fn uint QPtrDict::size() const + \fn uint TQPtrDict::size() const Returns the size of the internal hash table (as specified in the constructor). @@ -156,7 +156,7 @@ */ /*! - \fn void QPtrDict::resize( uint newsize ) + \fn void TQPtrDict::resize( uint newsize ) Changes the size of the hash table to \a newsize. The contents of the dictionary are preserved, but all iterators on the dictionary @@ -164,7 +164,7 @@ */ /*! - \fn bool QPtrDict::isEmpty() const + \fn bool TQPtrDict::isEmpty() const Returns TRUE if the dictionary is empty; otherwise returns FALSE. @@ -172,7 +172,7 @@ */ /*! - \fn void QPtrDict::insert( void *key, const type *item ) + \fn void TQPtrDict::insert( void *key, const type *item ) Inserts the \a key with the \a item into the dictionary. @@ -185,7 +185,7 @@ */ /*! - \fn void QPtrDict::replace( void *key, const type *item ) + \fn void TQPtrDict::replace( void *key, const type *item ) If the dictionary has key \a key, this key's item is replaced with \a item. If the dictionary doesn't contain key \a key, \a item is @@ -195,7 +195,7 @@ Equivalent to \code - QPtrDict dict; + TQPtrDict dict; ... if ( dict.find( key ) ) dict.remove( key ); @@ -209,7 +209,7 @@ */ /*! - \fn bool QPtrDict::remove( void *key ) + \fn bool TQPtrDict::remove( void *key ) Removes the item associated with \a key from the dictionary. Returns TRUE if successful, i.e. if \a key is in the dictionary; @@ -219,7 +219,7 @@ recently inserted item will be removed. The removed item is deleted if \link - QPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. + TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. All dictionary iterators that refer to the removed item will be set to point to the next item in the dictionary traversal order. @@ -228,10 +228,10 @@ */ /*! - \fn type *QPtrDict::take( void *key ) + \fn type *TQPtrDict::take( void *key ) Takes the item associated with \a key out of the dictionary - without deleting it (even if \link QPtrCollection::setAutoDelete() + without deleting it (even if \link TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled). If there are two or more items with equal keys, then the most @@ -247,12 +247,12 @@ */ /*! - \fn void QPtrDict::clear() + \fn void TQPtrDict::clear() Removes all items from the dictionary. The removed items are deleted if \link - QPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. + TQPtrCollection::setAutoDelete() auto-deletion\endlink is enabled. All dictionary iterators that access this dictionary will be reset. @@ -261,7 +261,7 @@ */ /*! - \fn type *QPtrDict::find( void *key ) const + \fn type *TQPtrDict::find( void *key ) const Returns the item associated with \a key, or 0 if the key does not exist in the dictionary. @@ -275,7 +275,7 @@ */ /*! - \fn type *QPtrDict::operator[]( void *key ) const + \fn type *TQPtrDict::operator[]( void *key ) const Returns the item associated with \a key, or 0 if the key does not exist in the dictionary. @@ -289,14 +289,14 @@ */ /*! - \fn void QPtrDict::statistics() const + \fn void TQPtrDict::statistics() const Debugging-only function that prints out the dictionary distribution using tqDebug(). */ /*! - \fn QDataStream& QPtrDict::read( QDataStream &s, QPtrCollection::Item &item ) + \fn QDataStream& TQPtrDict::read( QDataStream &s, TQPtrCollection::Item &item ) Reads a dictionary item from the stream \a s and returns a reference to the stream. @@ -307,7 +307,7 @@ */ /*! - \fn QDataStream& QPtrDict::write( QDataStream &s, QPtrCollection::Item ) const + \fn QDataStream& TQPtrDict::write( QDataStream &s, TQPtrCollection::Item ) const Writes a dictionary item to the stream \a s and returns a reference to the stream. @@ -316,23 +316,23 @@ */ /***************************************************************************** - QPtrDictIterator documentation + TQPtrDictIterator documentation *****************************************************************************/ /*! - \class QPtrDictIterator ntqptrdict.h - \brief The QPtrDictIterator class provides an iterator for QPtrDict collections. + \class TQPtrDictIterator tqptrdict.h + \brief The TQPtrDictIterator class provides an iterator for TQPtrDict collections. \ingroup collection \ingroup tools - QPtrDictIterator is implemented as a template class. Define a - template instance QPtrDictIterator\ to create a dictionary - iterator that operates on QPtrDict\ (dictionary of X*). + TQPtrDictIterator is implemented as a template class. Define a + template instance TQPtrDictIterator\ to create a dictionary + iterator that operates on TQPtrDict\ (dictionary of X*). Example: \code - QPtrDict fields; + TQPtrDict fields; QLineEdit *le1 = new QLineEdit( this ); le1->setText( "Simpson" ); @@ -345,7 +345,7 @@ fields.insert( le2, "Forename" ); fields.insert( le3, "Age" ); - QPtrDictIterator it( fields ); + TQPtrDictIterator it( fields ); for( ; it.current(); ++it ) { QLineEdit *le = (QLineEdit)it.currentKey(); cout << it.current() << ": " << le->text() << endl; @@ -362,29 +362,29 @@ dictionary printing the associated strings. Multiple iterators may independently traverse the same dictionary. - A QPtrDict knows about all the iterators that are operating on the - dictionary. When an item is removed from the dictionary, QPtrDict + A TQPtrDict knows about all the iterators that are operating on the + dictionary. When an item is removed from the dictionary, TQPtrDict updates all iterators that refer the removed item to point to the next item in the traversing order. - \sa QPtrDict + \sa TQPtrDict */ /*! - \fn QPtrDictIterator::QPtrDictIterator( const QPtrDict &dict ) + \fn TQPtrDictIterator::TQPtrDictIterator( const TQPtrDict &dict ) Constructs an iterator for \a dict. The current iterator item is set to point on the first item in the \a dict. */ /*! - \fn QPtrDictIterator::~QPtrDictIterator() + \fn TQPtrDictIterator::~TQPtrDictIterator() Destroys the iterator. */ /*! - \fn uint QPtrDictIterator::count() const + \fn uint TQPtrDictIterator::count() const Returns the number of items in the dictionary this iterator operates on. @@ -393,7 +393,7 @@ */ /*! - \fn bool QPtrDictIterator::isEmpty() const + \fn bool TQPtrDictIterator::isEmpty() const Returns TRUE if the dictionary is empty; otherwise returns FALSE. @@ -401,7 +401,7 @@ */ /*! - \fn type *QPtrDictIterator::toFirst() + \fn type *TQPtrDictIterator::toFirst() Sets the current iterator item to point to the first item in the dictionary and returns a pointer to the item. If the dictionary is @@ -409,26 +409,26 @@ */ /*! - \fn QPtrDictIterator::operator type *() const + \fn TQPtrDictIterator::operator type *() const Cast operator. Returns a pointer to the current iterator item. Same as current(). */ /*! - \fn type *QPtrDictIterator::current() const + \fn type *TQPtrDictIterator::current() const Returns a pointer to the current iterator item's value. */ /*! - \fn void *QPtrDictIterator::currentKey() const + \fn void *TQPtrDictIterator::currentKey() const Returns the current iterator item's key. */ /*! - \fn type *QPtrDictIterator::operator()() + \fn type *TQPtrDictIterator::operator()() Makes the succeeding item current and returns the original current item. @@ -438,7 +438,7 @@ */ /*! - \fn type *QPtrDictIterator::operator++() + \fn type *TQPtrDictIterator::operator++() Prefix ++ makes the succeeding item current and returns the new current item. @@ -448,7 +448,7 @@ */ /*! - \fn type *QPtrDictIterator::operator+=( uint jump ) + \fn type *TQPtrDictIterator::operator+=( uint jump ) Sets the current item to the item \a jump positions after the current item and returns a pointer to that item. diff --git a/doc/qptrlist.doc b/doc/tqptrlist.doc similarity index 85% rename from doc/qptrlist.doc rename to doc/tqptrlist.doc index 14b51645..502abaf2 100644 --- a/doc/qptrlist.doc +++ b/doc/tqptrlist.doc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** QPtrList and QPtrListIterator class documentation +** TQPtrList and TQPtrListIterator class documentation ** ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. ** @@ -38,12 +38,12 @@ /***************************************************************************** - QPtrList documentation + TQPtrList documentation *****************************************************************************/ /*! - \class QPtrList - \brief The QPtrList class is a template class that provides a list. + \class TQPtrList + \brief The TQPtrList class is a template class that provides a list. \ingroup collection \ingroup tools @@ -52,7 +52,7 @@ TQValueList is an STL-compatible alternative to this class. - Define a template instance QPtrList\ to create a list that + Define a template instance TQPtrList\ to create a list that operates on pointers to X (X*). The list class is indexable and has a \link at() current @@ -95,7 +95,7 @@ int sal; }; - QPtrList list; + TQPtrList list; list.setAutoDelete( TRUE ); // the list owns the objects list.append( new Employee("John", "Doe", 50000) ); @@ -126,8 +126,8 @@ Jones \endcode - QPtrList has several member functions for traversing the list, but - using a QPtrListIterator can be more practical. Multiple list + TQPtrList has several member functions for traversing the list, but + using a TQPtrListIterator can be more practical. Multiple list iterators may traverse the same list, independently of each other and of the current list item. @@ -141,11 +141,11 @@ the item itself, i.e. a shallow copy. It is possible to make the list copy all of the item's data (deep copy) when an item is inserted. insert(), inSort() and append() call the virtual - function QPtrCollection::newItem() for the item to be inserted. + function TQPtrCollection::newItem() for the item to be inserted. Inherit a list and reimplement newItem() to have deep copies. When removing an item from a list, the virtual function - QPtrCollection::deleteItem() is called. QPtrList's default + TQPtrCollection::deleteItem() is called. TQPtrList's default implementation is to delete the item if auto-deletion is enabled. The virtual function compareItems() can be reimplemented to @@ -166,18 +166,18 @@ It reimplements newItem(), deleteItem() and compareItems(). (But see QStringList for a list of Unicode QStrings.) - \sa QPtrListIterator + \sa TQPtrListIterator */ /*! - \fn QPtrList::QPtrList() + \fn TQPtrList::TQPtrList() Constructs an empty list. */ /*! - \fn QPtrList::QPtrList( const QPtrList &list ) + \fn TQPtrList::TQPtrList( const TQPtrList &list ) Constructs a copy of \a list. @@ -186,7 +186,7 @@ */ /*! - \fn QPtrList::~QPtrList() + \fn TQPtrList::~TQPtrList() Removes all items from the list and destroys the list. @@ -196,7 +196,7 @@ */ /*! - \fn QPtrList &QPtrList::operator=(const QPtrList &list) + \fn TQPtrList &TQPtrList::operator=(const TQPtrList &list) Assigns \a list to this list and returns a reference to this list. @@ -206,14 +206,14 @@ */ /*! - \fn bool QPtrList::operator==(const QPtrList &list ) const + \fn bool TQPtrList::operator==(const TQPtrList &list ) const Compares this list with \a list. Returns TRUE if the lists contain the same data; otherwise returns FALSE. */ /*! - \fn uint QPtrList::count() const + \fn uint TQPtrList::count() const Returns the number of items in the list. @@ -221,7 +221,7 @@ */ /*! - \fn bool QPtrList::operator!=(const QPtrList &list ) const + \fn bool TQPtrList::operator!=(const TQPtrList &list ) const Compares this list with \a list. Returns TRUE if the lists contain different data; otherwise returns FALSE. @@ -229,7 +229,7 @@ /*! - \fn void QPtrList::sort() + \fn void TQPtrList::sort() Sorts the list by the result of the virtual compareItems() function. @@ -242,7 +242,7 @@ */ /*! - \fn bool QPtrList::isEmpty() const + \fn bool TQPtrList::isEmpty() const Returns TRUE if the list is empty; otherwise returns FALSE. @@ -250,7 +250,7 @@ */ /*! - \fn bool QPtrList::insert( uint index, const type *item ) + \fn bool TQPtrList::insert( uint index, const type *item ) Inserts the \a item at position \a index in the list. @@ -266,7 +266,7 @@ */ /*! - \fn bool QPtrList::replace( uint index, const type *item ) + \fn bool TQPtrList::replace( uint index, const type *item ) Replaces the item at position \a index with the new \a item. @@ -277,7 +277,7 @@ */ /*! - \fn void QPtrList::inSort( const type *item ) + \fn void TQPtrList::inSort( const type *item ) Inserts the \a item at its sorted position in the list. @@ -301,7 +301,7 @@ */ /*! - \fn void QPtrList::append( const type *item ) + \fn void TQPtrList::append( const type *item ) Inserts the \a item at the end of the list. @@ -314,7 +314,7 @@ */ /*! - \fn void QPtrList::prepend( const type *item ) + \fn void TQPtrList::prepend( const type *item ) Inserts the \a item at the start of the list. @@ -327,7 +327,7 @@ */ /*! - \fn bool QPtrList::remove( uint index ) + \fn bool TQPtrList::remove( uint index ) Removes the item at position \a index in the list. @@ -349,7 +349,7 @@ */ /*! - \fn bool QPtrList::remove() + \fn bool TQPtrList::remove() \overload @@ -373,7 +373,7 @@ */ /*! - \fn bool QPtrList::remove( const type *item ) + \fn bool TQPtrList::remove( const type *item ) \overload @@ -404,7 +404,7 @@ */ /*! - \fn bool QPtrList::removeRef( const type *item ) + \fn bool TQPtrList::removeRef( const type *item ) Removes the first occurrence of \a item from the list. @@ -432,7 +432,7 @@ */ /*! - \fn void QPtrList::removeNode( QLNode *node ) + \fn void TQPtrList::removeNode( QLNode *node ) Removes the \a node from the list. @@ -454,7 +454,7 @@ */ /*! - \fn bool QPtrList::removeFirst() + \fn bool TQPtrList::removeFirst() Removes the first item from the list. Returns TRUE if successful, i.e. if the list isn't empty; otherwise returns FALSE. @@ -472,7 +472,7 @@ */ /*! - \fn bool QPtrList::removeLast() + \fn bool TQPtrList::removeLast() Removes the last item from the list. Returns TRUE if successful, i.e. if the list isn't empty; otherwise returns FALSE. @@ -490,7 +490,7 @@ */ /*! - \fn type *QPtrList::take( uint index ) + \fn type *TQPtrList::take( uint index ) Takes the item at position \a index out of the list without deleting it (even if \link setAutoDelete() auto-deletion\endlink @@ -512,7 +512,7 @@ */ /*! - \fn type *QPtrList::take() + \fn type *TQPtrList::take() \overload @@ -534,7 +534,7 @@ */ /*! - \fn type *QPtrList::takeNode( QLNode *node ) + \fn type *TQPtrList::takeNode( QLNode *node ) Takes the \a node out of the list without deleting its item (even if \link setAutoDelete() auto-deletion\endlink is enabled). @@ -554,7 +554,7 @@ */ /*! - \fn void QPtrList::clear() + \fn void TQPtrList::clear() Removes all items from the list. @@ -567,7 +567,7 @@ */ /*! - \fn int QPtrList::find( const type *item ) + \fn int TQPtrList::find( const type *item ) Finds the first occurrence of \a item in the list. @@ -584,7 +584,7 @@ */ /*! - \fn int QPtrList::findNext( const type *item ) + \fn int TQPtrList::findNext( const type *item ) Finds the next occurrence of \a item in the list, starting from the current list item. @@ -602,7 +602,7 @@ */ /*! - \fn int QPtrList::findRef( const type *item ) + \fn int TQPtrList::findRef( const type *item ) Finds the first occurrence of \a item in the list. @@ -619,7 +619,7 @@ */ /*! - \fn int QPtrList::findNextRef( const type *item ) + \fn int TQPtrList::findNextRef( const type *item ) Finds the next occurrence of \a item in the list, starting from the current list item. @@ -637,7 +637,7 @@ */ /*! - \fn uint QPtrList::contains( const type *item ) const + \fn uint TQPtrList::contains( const type *item ) const Returns the number of occurrences of \a item in the list. @@ -651,7 +651,7 @@ */ /*! - \fn uint QPtrList::containsRef( const type *item ) const + \fn uint TQPtrList::containsRef( const type *item ) const Returns the number of occurrences of \a item in the list. @@ -665,7 +665,7 @@ */ /*! - \fn type *QPtrList::at( uint index ) + \fn type *TQPtrList::at( uint index ) Returns a pointer to the item at position \a index in the list, or 0 if the index is out of range. @@ -681,7 +681,7 @@ */ /*! - \fn int QPtrList::at() const + \fn int TQPtrList::at() const \overload @@ -692,7 +692,7 @@ */ /*! - \fn type *QPtrList::current() const + \fn type *TQPtrList::current() const Returns a pointer to the current list item. The current item may be 0 (implies that the current index is -1). @@ -701,7 +701,7 @@ */ /*! - \fn QLNode *QPtrList::currentNode() const + \fn QLNode *TQPtrList::currentNode() const Returns a pointer to the current list node. @@ -715,7 +715,7 @@ */ /*! - \fn type *QPtrList::getFirst() const + \fn type *TQPtrList::getFirst() const Returns a pointer to the first item in the list, or 0 if the list is empty. @@ -726,7 +726,7 @@ */ /*! - \fn type *QPtrList::getLast() const + \fn type *TQPtrList::getLast() const Returns a pointer to the last item in the list, or 0 if the list is empty. @@ -737,7 +737,7 @@ */ /*! - \fn type *QPtrList::first() + \fn type *TQPtrList::first() Returns a pointer to the first item in the list and makes this the current list item; returns 0 if the list is empty. @@ -746,7 +746,7 @@ */ /*! - \fn type *QPtrList::last() + \fn type *TQPtrList::last() Returns a pointer to the last item in the list and makes this the current list item; returns 0 if the list is empty. @@ -755,7 +755,7 @@ */ /*! - \fn type *QPtrList::next() + \fn type *TQPtrList::next() Returns a pointer to the item succeeding the current item. Returns 0 if the current item is 0 or equal to the last item. @@ -768,7 +768,7 @@ */ /*! - \fn type *QPtrList::prev() + \fn type *TQPtrList::prev() Returns a pointer to the item preceding the current item. Returns 0 if the current item is 0 or equal to the first item. @@ -781,7 +781,7 @@ */ /*! - \fn void QPtrList::toVector( QGVector *vec ) const + \fn void TQPtrList::toVector( QGVector *vec ) const Stores all list items in the vector \a vec. @@ -790,76 +790,76 @@ */ /*! - \enum QPtrList::iterator + \enum TQPtrList::iterator \internal */ /*! - \enum QPtrList::Iterator + \enum TQPtrList::Iterator \internal */ /*! - \enum QPtrList::ConstIterator + \enum TQPtrList::ConstIterator \internal */ /*! - \enum QPtrList::const_iterator + \enum TQPtrList::const_iterator \internal */ /*! - \fn QPtrList::constBegin() const + \fn TQPtrList::constBegin() const \internal */ /*! - \fn QPtrList::constEnd() const + \fn TQPtrList::constEnd() const \internal */ /*! - \fn QPtrList::erase(Iterator) + \fn TQPtrList::erase(Iterator) \internal */ /***************************************************************************** - QPtrListIterator documentation + TQPtrListIterator documentation *****************************************************************************/ /*! - \class QPtrListIterator - \brief The QPtrListIterator class provides an iterator for - QPtrList collections. + \class TQPtrListIterator + \brief The TQPtrListIterator class provides an iterator for + TQPtrList collections. \ingroup collection \ingroup tools - Define a template instance QPtrListIterator\ to create a list - iterator that operates on QPtrList\ (list of X*). + Define a template instance TQPtrListIterator\ to create a list + iterator that operates on TQPtrList\ (list of X*). The following example is similar to the \link - ntqptrlist.html#example example in the QPtrList class documentation - \endlink, but it uses QPtrListIterator. The class Employee is + tqptrlist.html#example example in the TQPtrList class documentation + \endlink, but it uses TQPtrListIterator. The class Employee is defined there. \code - QPtrList list; + TQPtrList list; list.append( new Employee("John", "Doe", 50000) ); list.append( new Employee("Jane", "Williams", 80000) ); list.append( new Employee("Tom", "Jones", 60000) ); - QPtrListIterator it( list ); + TQPtrListIterator it( list ); Employee *employee; while ( (employee = it.current()) != 0 ) { ++it; @@ -877,36 +877,36 @@ \endcode Using a list iterator is a more robust way of traversing the list - than using the QPtrList member functions \link QPtrList::first() - first\endlink(), \link QPtrList::next() next\endlink(), \link - QPtrList::current() current\endlink(), etc., as many iterators can + than using the TQPtrList member functions \link TQPtrList::first() + first\endlink(), \link TQPtrList::next() next\endlink(), \link + TQPtrList::current() current\endlink(), etc., as many iterators can traverse the same list independently. An iterator has its own current list item and can get the next and previous list items. It doesn't modify the list in any way. When an item is removed from the list, all iterators that point to - that item are updated to point to QPtrList::current() instead to + that item are updated to point to TQPtrList::current() instead to avoid dangling references. - \sa QPtrList + \sa TQPtrList */ /*! - \fn QPtrListIterator::QPtrListIterator( const QPtrList &list ) + \fn TQPtrListIterator::TQPtrListIterator( const TQPtrList &list ) Constructs an iterator for \a list. The current iterator item is set to point on the first item in the \a list. */ /*! - \fn QPtrListIterator::~QPtrListIterator() + \fn TQPtrListIterator::~TQPtrListIterator() Destroys the iterator. */ /*! - \fn uint QPtrListIterator::count() const + \fn uint TQPtrListIterator::count() const Returns the number of items in the list this iterator operates on. @@ -914,7 +914,7 @@ */ /*! - \fn bool QPtrListIterator::isEmpty() const + \fn bool TQPtrListIterator::isEmpty() const Returns TRUE if the list is empty; otherwise returns FALSE. @@ -922,7 +922,7 @@ */ /*! - \fn bool QPtrListIterator::atFirst() const + \fn bool TQPtrListIterator::atFirst() const Returns TRUE if the current iterator item is the first list item; otherwise returns FALSE. @@ -931,7 +931,7 @@ */ /*! - \fn bool QPtrListIterator::atLast() const + \fn bool TQPtrListIterator::atLast() const Returns TRUE if the current iterator item is the last list item; otherwise returns FALSE. @@ -940,7 +940,7 @@ */ /*! - \fn type *QPtrListIterator::toFirst() + \fn type *TQPtrListIterator::toFirst() Sets the current iterator item to point to the first list item and returns a pointer to the item. Sets the current item to 0 and @@ -950,7 +950,7 @@ */ /*! - \fn type *QPtrListIterator::toLast() + \fn type *TQPtrListIterator::toLast() Sets the current iterator item to point to the last list item and returns a pointer to the item. Sets the current item to 0 and @@ -960,21 +960,21 @@ */ /*! - \fn QPtrListIterator::operator type *() const + \fn TQPtrListIterator::operator type *() const Cast operator. Returns a pointer to the current iterator item. Same as current(). */ /*! - \fn type *QPtrListIterator::operator*() + \fn type *TQPtrListIterator::operator*() Asterisk operator. Returns a pointer to the current iterator item. Same as current(). */ /*! - \fn type *QPtrListIterator::current() const + \fn type *TQPtrListIterator::current() const Returns a pointer to the current iterator item. If the iterator is positioned before the first item in the list or after the last @@ -982,7 +982,7 @@ */ /*! - \fn type *QPtrListIterator::operator()() + \fn type *TQPtrListIterator::operator()() Makes the succeeding item current and returns the original current item. @@ -992,7 +992,7 @@ */ /*! - \fn type *QPtrListIterator::operator++() + \fn type *TQPtrListIterator::operator++() Prefix ++ makes the succeeding item current and returns the new current item. @@ -1002,7 +1002,7 @@ */ /*! - \fn type *QPtrListIterator::operator+=( uint jump ) + \fn type *TQPtrListIterator::operator+=( uint jump ) Sets the current item to the item \a jump positions after the current item and returns a pointer to that item. @@ -1012,7 +1012,7 @@ */ /*! - \fn type *QPtrListIterator::operator--() + \fn type *TQPtrListIterator::operator--() Prefix - makes the preceding item current and returns the new current item. @@ -1022,14 +1022,14 @@ */ /*! - \fn type *QPtrListIterator::operator-=( uint jump ) + \fn type *TQPtrListIterator::operator-=( uint jump ) Returns the item \a jump positions before the current item or 0 if it is beyond the first item. Makes this the current item. */ /*! - \fn QPtrListIterator& QPtrListIterator::operator=( const QPtrListIterator &it ) + \fn TQPtrListIterator& TQPtrListIterator::operator=( const TQPtrListIterator &it ) Assignment. Makes a copy of the iterator \a it and returns a reference to this iterator. @@ -1050,7 +1050,7 @@ If you want a string list of \l{TQString}s use QStringList. - This class is a QPtrList\ instance (a list of char*). + This class is a TQPtrList\ instance (a list of char*). QStrList can make deep or shallow copies of the strings that are inserted. @@ -1129,7 +1129,7 @@ \ingroup collection \ingroup tools - This class is a QPtrList\ instance (a list of char*). + This class is a TQPtrList\ instance (a list of char*). QStrIList is identical to QStrList except that the virtual compareItems() function is reimplemented to compare strings @@ -1158,8 +1158,8 @@ */ /*! - \fn int QPtrList::compareItems( QPtrCollection::Item item1, - QPtrCollection::Item item2 ) + \fn int TQPtrList::compareItems( TQPtrCollection::Item item1, + TQPtrCollection::Item item2 ) This virtual function compares two list items. @@ -1188,8 +1188,8 @@ */ /*! - \fn QDataStream& QPtrList::read( QDataStream& s, - QPtrCollection::Item& item ) + \fn QDataStream& TQPtrList::read( QDataStream& s, + TQPtrCollection::Item& item ) Reads a list item from the stream \a s and returns a reference to the stream. @@ -1200,8 +1200,8 @@ */ /*! - \fn QDataStream& QPtrList::write( QDataStream& s, - QPtrCollection::Item item ) const + \fn QDataStream& TQPtrList::write( QDataStream& s, + TQPtrCollection::Item item ) const Writes a list item, \a item to the stream \a s and returns a reference to the stream. @@ -1211,16 +1211,16 @@ \sa read() */ -/*! \fn iterator QPtrList::begin() +/*! \fn iterator TQPtrList::begin() \internal */ -/*! \fn const_iterator QPtrList::begin() const +/*! \fn const_iterator TQPtrList::begin() const \internal */ -/*! \fn iterator QPtrList::end() +/*! \fn iterator TQPtrList::end() \internal */ -/*! \fn const_iterator QPtrList::end() const +/*! \fn const_iterator TQPtrList::end() const \internal */ @@ -1235,21 +1235,21 @@ \ingroup tools - This class is a QPtrListIterator\ instance. It can traverse + This class is a TQPtrListIterator\ instance. It can traverse the strings in the QStrList and QStrIList classes. */ /***************************************************************************** - QPtrListAutoDelete documentation + TQPtrListAutoDelete documentation *****************************************************************************/ /* - \class QPtrListAutoDelete - \brief The QPtrListAutoDelete class is a template class that provides a list that auto-deletes its data. + \class TQPtrListAutoDelete + \brief The TQPtrListAutoDelete class is a template class that provides a list that auto-deletes its data. \ingroup collection \ingroup tools - A QPtrListAutoDelete is identical to a QPtrList with + A TQPtrListAutoDelete is identical to a TQPtrList with setAutoDelete(TRUE). */ diff --git a/doc/qptrqueue.doc b/doc/tqptrqueue.doc similarity index 81% rename from doc/qptrqueue.doc rename to doc/tqptrqueue.doc index b0dd1a5b..27b5952f 100644 --- a/doc/qptrqueue.doc +++ b/doc/tqptrqueue.doc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** QPtrQueue class documentation +** TQPtrQueue class documentation ** ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. ** @@ -38,8 +38,8 @@ /*! - \class QPtrQueue - \brief The QPtrQueue class is a template class that provides a queue. + \class TQPtrQueue + \brief The TQPtrQueue class is a template class that provides a queue. \ingroup collection \ingroup tools @@ -47,7 +47,7 @@ TQValueVector can be used as an STL-compatible alternative to this class. - A template instance QPtrQueue\ is a queue that operates on + A template instance TQPtrQueue\ is a queue that operates on pointers to X (X*). A queue is a first in, first out structure. Items are added to the @@ -57,20 +57,20 @@ You can control the queue's deletion policy with setAutoDelete(). - For compatibility with the QPtrCollection classes, current() and + For compatibility with the TQPtrCollection classes, current() and remove() are provided; both operate on the head(). - \sa QPtrList QPtrStack + \sa TQPtrList TQPtrStack */ /*! - \fn QPtrQueue::QPtrQueue () + \fn TQPtrQueue::TQPtrQueue () Creates an empty queue with autoDelete() set to FALSE. */ /*! - \fn QPtrQueue::QPtrQueue( const QPtrQueue& queue ) + \fn TQPtrQueue::TQPtrQueue( const TQPtrQueue& queue ) Creates a queue from \a queue. @@ -79,14 +79,14 @@ */ /*! - \fn QPtrQueue::~QPtrQueue() + \fn TQPtrQueue::~TQPtrQueue() Destroys the queue. Items in the queue are deleted if autoDelete() is TRUE. */ /*! - \fn QPtrQueue& QPtrQueue::operator= (const QPtrQueue& queue) + \fn TQPtrQueue& TQPtrQueue::operator= (const TQPtrQueue& queue) Assigns \a queue to this queue and returns a reference to this queue. @@ -100,7 +100,7 @@ */ /*! - \fn bool QPtrQueue::isEmpty() const + \fn bool TQPtrQueue::isEmpty() const Returns TRUE if the queue is empty; otherwise returns FALSE. @@ -108,7 +108,7 @@ */ /*! - \fn void QPtrQueue::enqueue (const type* d) + \fn void TQPtrQueue::enqueue (const type* d) Adds item \a d to the tail of the queue. @@ -116,7 +116,7 @@ */ /*! - \fn type* QPtrQueue::dequeue () + \fn type* TQPtrQueue::dequeue () Takes the head item from the queue and returns a pointer to it. Returns 0 if the queue is empty. @@ -125,7 +125,7 @@ */ /*! - \fn bool QPtrQueue::remove() + \fn bool TQPtrQueue::remove() Removes the head item from the queue, and returns TRUE if there was an item, i.e. the queue wasn't empty; otherwise returns FALSE. @@ -136,7 +136,7 @@ */ /*! - \fn void QPtrQueue::clear() + \fn void TQPtrQueue::clear() Removes all items from the queue, and deletes them if autoDelete() is TRUE. @@ -145,7 +145,7 @@ */ /*! - \fn uint QPtrQueue::count() const + \fn uint TQPtrQueue::count() const Returns the number of items in the queue. @@ -153,7 +153,7 @@ */ /*! - \fn type* QPtrQueue::head() const + \fn type* TQPtrQueue::head() const Returns a pointer to the head item in the queue. The queue is not changed. Returns 0 if the queue is empty. @@ -162,7 +162,7 @@ */ /*! - \fn QPtrQueue::operator type*() const + \fn TQPtrQueue::operator type*() const Returns a pointer to the head item in the queue. The queue is not changed. Returns 0 if the queue is empty. @@ -171,7 +171,7 @@ */ /*! - \fn type* QPtrQueue::current() const + \fn type* TQPtrQueue::current() const Returns a pointer to the head item in the queue. The queue is not changed. Returns 0 if the queue is empty. @@ -180,7 +180,7 @@ */ /*! - \fn bool QPtrQueue::autoDelete() const + \fn bool TQPtrQueue::autoDelete() const Returns the setting of the auto-delete option. The default is FALSE. @@ -189,7 +189,7 @@ */ /*! - \fn void QPtrQueue::setAutoDelete( bool enable ) + \fn void TQPtrQueue::setAutoDelete( bool enable ) Sets the queue to auto-delete its contents if \a enable is TRUE and not to delete them if \a enable is FALSE. @@ -206,8 +206,8 @@ */ /*! - \fn QDataStream& QPtrQueue::read( QDataStream& s, - QPtrCollection::Item& item ) + \fn QDataStream& TQPtrQueue::read( QDataStream& s, + TQPtrCollection::Item& item ) Reads a queue item, \a item, from the stream \a s and returns a reference to the stream. @@ -218,8 +218,8 @@ */ /*! - \fn QDataStream& QPtrQueue::write( QDataStream& s, - QPtrCollection::Item item ) const + \fn QDataStream& TQPtrQueue::write( QDataStream& s, + TQPtrCollection::Item item ) const Writes a queue item, \a item, to the stream \a s and returns a reference to the stream. diff --git a/doc/qptrstack.doc b/doc/tqptrstack.doc similarity index 77% rename from doc/qptrstack.doc rename to doc/tqptrstack.doc index 585d93c4..6c07f718 100644 --- a/doc/qptrstack.doc +++ b/doc/tqptrstack.doc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** QPtrStack class documentation +** TQPtrStack class documentation ** ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. ** @@ -38,18 +38,18 @@ /***************************************************************************** - QPtrStack documentation + TQPtrStack documentation *****************************************************************************/ /*! - \class QPtrStack ntqptrstack.h - \brief The QPtrStack class is a template class that provides a stack. + \class TQPtrStack tqptrstack.h + \brief The TQPtrStack class is a template class that provides a stack. \ingroup tools TQValueStack is an STL-compatible alternative to this class. - Define a template instance QPtrStack\ to create a stack that + Define a template instance TQPtrStack\ to create a stack that operates on pointers to X, (X*). A stack is a last in, first out (LIFO) structure. Items are added @@ -59,33 +59,33 @@ You can control the stack's deletion policy with setAutoDelete(). - For compatibility with the QPtrCollection classes current() and + For compatibility with the TQPtrCollection classes current() and remove() are provided; they both operate on the top(). - \sa QPtrList QPtrQueue + \sa TQPtrList TQPtrQueue */ /*! - \fn QPtrStack::QPtrStack () + \fn TQPtrStack::TQPtrStack () Creates an empty stack. */ /*! - \fn QPtrStack::QPtrStack (const QPtrStack& s) + \fn TQPtrStack::TQPtrStack (const TQPtrStack& s) Creates a stack by making a shallow copy of another stack \a s. */ /*! - \fn QPtrStack::~QPtrStack () + \fn TQPtrStack::~TQPtrStack () Destroys the stack. All items will be deleted if autoDelete() is TRUE. */ /*! - \fn QPtrStack& QPtrStack::operator= (const QPtrStack& s) + \fn TQPtrStack& TQPtrStack::operator= (const TQPtrStack& s) Sets the contents of this stack by making a shallow copy of another stack \a s. Elements currently in this stack will be @@ -93,27 +93,27 @@ */ /*! - \fn bool QPtrStack::isEmpty () const + \fn bool TQPtrStack::isEmpty () const Returns TRUE if the stack contains no elements; otherwise returns FALSE. */ /*! - \fn void QPtrStack::push (const type* d) + \fn void TQPtrStack::push (const type* d) Adds an element \a d to the top of the stack. Last in, first out. */ /*! - \fn type* QPtrStack::pop () + \fn type* TQPtrStack::pop () Removes the top item from the stack and returns it. The stack must not be empty. */ /*! - \fn bool QPtrStack::remove () + \fn bool TQPtrStack::remove () Removes the top item from the stack and deletes it if autoDelete() is TRUE. Returns TRUE if there was an item to pop; otherwise @@ -123,7 +123,7 @@ */ /*! - \fn void QPtrStack::clear() + \fn void TQPtrStack::clear() Removes all items from the stack, deleting them if autoDelete() is TRUE. @@ -132,7 +132,7 @@ */ /*! - \fn uint QPtrStack::count() const + \fn uint TQPtrStack::count() const Returns the number of items in the stack. @@ -140,7 +140,7 @@ */ /*! - \fn type* QPtrStack::top () const + \fn type* TQPtrStack::top () const Returns a pointer to the top item on the stack (most recently pushed). The stack is not changed. Returns 0 if the stack is @@ -148,7 +148,7 @@ */ /*! - \fn QPtrStack::operator type* ()const + \fn TQPtrStack::operator type* ()const Returns a pointer to the top item on the stack (most recently pushed). The stack is not changed. Returns 0 if the stack is @@ -156,7 +156,7 @@ */ /*! - \fn type* QPtrStack::current () const + \fn type* TQPtrStack::current () const Returns a pointer to the top item on the stack (most recently pushed). The stack is not changed. Returns 0 if the stack is @@ -164,18 +164,18 @@ */ /*! - \fn bool QPtrStack::autoDelete() const + \fn bool TQPtrStack::autoDelete() const - The same as QPtrCollection::autoDelete(). + The same as TQPtrCollection::autoDelete(). \sa setAutoDelete() */ /*! - \fn void QPtrStack::setAutoDelete( bool enable ) + \fn void TQPtrStack::setAutoDelete( bool enable ) Defines whether this stack auto-deletes its contents. The same as - QPtrCollection::setAutoDelete(). + TQPtrCollection::setAutoDelete(). If \a enable is TRUE the stack auto-deletes its contents; if \a enable is FALSE the stack does not delete its contents. @@ -184,8 +184,8 @@ */ /*! - \fn QDataStream& QPtrStack::read( QDataStream& s, - QPtrCollection::Item& item ) + \fn QDataStream& TQPtrStack::read( QDataStream& s, + TQPtrCollection::Item& item ) Reads a stack item, \a item, from the stream \a s and returns a reference to the stream. @@ -196,8 +196,8 @@ */ /*! - \fn QDataStream& QPtrStack::write( QDataStream& s, - QPtrCollection::Item item ) const + \fn QDataStream& TQPtrStack::write( QDataStream& s, + TQPtrCollection::Item item ) const Writes a stack item, \a item, to the stream \a s and returns a reference to the stream. diff --git a/doc/qptrvector.doc b/doc/tqptrvector.doc similarity index 82% rename from doc/qptrvector.doc rename to doc/tqptrvector.doc index 05ea6f45..abc4be39 100644 --- a/doc/qptrvector.doc +++ b/doc/tqptrvector.doc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** QPtrVector class documentation +** TQPtrVector class documentation ** ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. ** @@ -38,12 +38,12 @@ /***************************************************************************** - QPtrVector documentation + TQPtrVector documentation *****************************************************************************/ /*! - \class QPtrVector ntqptrvector.h - \brief The QPtrVector class is a template collection class that + \class TQPtrVector tqptrvector.h + \brief The TQPtrVector class is a template collection class that provides a vector (array). \ingroup tools @@ -52,14 +52,14 @@ TQValueVector is an STL-compatible alternative to this class. - QPtrVector is implemented as a template class. Defines a template - instance QPtrVector\ to create a vector that contains pointers + TQPtrVector is implemented as a template class. Defines a template + instance TQPtrVector\ to create a vector that contains pointers to X (X*). A vector is the same as an array. The main difference between - QPtrVector and QMemArray is that QPtrVector stores pointers to the + TQPtrVector and QMemArray is that TQPtrVector stores pointers to the elements, whereas QMemArray stores the elements themselves (i.e. - QMemArray is value-based and QPtrVector is pointer-based). + QMemArray is value-based and TQPtrVector is pointer-based). Items are added to the vector using insert() or fill(). Items are removed with remove(). You can get a pointer to an item at a @@ -86,7 +86,7 @@ */ /*! - \fn QPtrVector::QPtrVector() + \fn TQPtrVector::TQPtrVector() Constructs a null vector. @@ -94,7 +94,7 @@ */ /*! - \fn QPtrVector::QPtrVector( uint size ) + \fn TQPtrVector::TQPtrVector( uint size ) Constructs an vector with room for \a size items. Makes a null vector if \a size == 0. @@ -105,14 +105,14 @@ */ /*! - \fn QPtrVector::QPtrVector( const QPtrVector &v ) + \fn TQPtrVector::TQPtrVector( const TQPtrVector &v ) Constructs a copy of \a v. Only the pointers are copied (i.e. shallow copy). */ /*! - \fn QPtrVector::~QPtrVector() + \fn TQPtrVector::~TQPtrVector() Removes all items from the vector, and destroys the vector itself. @@ -120,7 +120,7 @@ */ /*! - \fn QPtrVector &QPtrVector::operator=( const QPtrVector &v ) + \fn TQPtrVector &TQPtrVector::operator=( const TQPtrVector &v ) Assigns \a v to this vector and returns a reference to this vector. @@ -133,7 +133,7 @@ */ /*! - \fn type **QPtrVector::data() const + \fn type **TQPtrVector::data() const Returns a pointer to the actual vector data, which is an array of type*. @@ -144,7 +144,7 @@ */ /*! - \fn uint QPtrVector::size() const + \fn uint TQPtrVector::size() const Returns the size of the vector, i.e. the number of vector positions. This is also the maximum number of items the vector can @@ -156,7 +156,7 @@ */ /*! - \fn uint QPtrVector::count() const + \fn uint TQPtrVector::count() const Returns the number of items in the vector. The vector is empty if count() == 0. @@ -165,7 +165,7 @@ */ /*! - \fn bool QPtrVector::isEmpty() const + \fn bool TQPtrVector::isEmpty() const Returns TRUE if the vector is empty; otherwise returns FALSE. @@ -173,7 +173,7 @@ */ /*! - \fn bool QPtrVector::isNull() const + \fn bool TQPtrVector::isNull() const Returns TRUE if the vector is null; otherwise returns FALSE. @@ -183,7 +183,7 @@ */ /*! - \fn bool QPtrVector::resize( uint size ) + \fn bool TQPtrVector::resize( uint size ) Resizes (expands or shrinks) the vector to \a size elements. The vector becomes a null vector if \a size == 0. @@ -198,7 +198,7 @@ */ /*! - \fn bool QPtrVector::insert( uint i, const type *d ) + \fn bool TQPtrVector::insert( uint i, const type *d ) Sets position \a i in the vector to contain the item \a d. \a i must be less than size(). Any previous element in position \a i is @@ -208,7 +208,7 @@ */ /*! - \fn bool QPtrVector::remove( uint i ) + \fn bool TQPtrVector::remove( uint i ) Removes the item at position \a i in the vector, if there is one. \a i must be less than size(). @@ -219,7 +219,7 @@ */ /*! - \fn type* QPtrVector::take( uint i ) + \fn type* TQPtrVector::take( uint i ) Returns the item at position \a i in the vector, and removes that item from the vector. \a i must be less than size(). If there is @@ -232,7 +232,7 @@ */ /*! - \fn void QPtrVector::clear() + \fn void TQPtrVector::clear() Removes all items from the vector, and destroys the vector itself. @@ -242,7 +242,7 @@ */ /*! - \fn bool QPtrVector::fill( const type *d, int size ) + \fn bool TQPtrVector::fill( const type *d, int size ) Inserts item \a d in all positions in the vector. Any existing items are removed. If \a d is 0, the vector becomes empty. @@ -258,7 +258,7 @@ */ /*! - \fn void QPtrVector::sort() + \fn void TQPtrVector::sort() Sorts the items in ascending order. Any empty positions will be put last. @@ -269,7 +269,7 @@ */ /*! - \fn int QPtrVector::bsearch( const type* d ) const + \fn int TQPtrVector::bsearch( const type* d ) const In a sorted array, finds the first occurrence of \a d using a binary search. For a sorted array, this is generally much faster @@ -285,7 +285,7 @@ /*! - \fn int QPtrVector::findRef( const type *d, uint i ) const + \fn int TQPtrVector::findRef( const type *d, uint i ) const Finds the first occurrence of the item pointer \a d in the vector using a linear search. The search starts at position \a i, which @@ -302,7 +302,7 @@ */ /*! - \fn int QPtrVector::find( const type *d, uint i ) const + \fn int TQPtrVector::find( const type *d, uint i ) const Finds the first occurrence of item \a d in the vector using a linear search. The search starts at position \a i, which must be @@ -320,7 +320,7 @@ /*! - \fn uint QPtrVector::containsRef( const type *d ) const + \fn uint TQPtrVector::containsRef( const type *d ) const Returns the number of occurrences of the item pointer \a d in the vector. @@ -331,7 +331,7 @@ */ /*! - \fn uint QPtrVector::contains( const type *d ) const + \fn uint TQPtrVector::contains( const type *d ) const Returns the number of occurrences of item \a d in the vector. @@ -341,7 +341,7 @@ */ /*! - \fn type *QPtrVector::operator[]( int i ) const + \fn type *TQPtrVector::operator[]( int i ) const Returns the item at position \a i, or 0 if there is no item at that position. \a i must be less than size(). @@ -352,7 +352,7 @@ */ /*! - \fn type *QPtrVector::at( uint i ) const + \fn type *TQPtrVector::at( uint i ) const Returns the item at position \a i, or 0 if there is no item at that position. \a i must be less than size(). @@ -360,19 +360,19 @@ /*! - \fn void QPtrVector::toList( QGList *list ) const + \fn void TQPtrVector::toList( QGList *list ) const \internal Copies all items in this vector to the list \a list. \a list is first cleared and then all items are appended to \a list. - \sa QPtrList, QPtrStack, QPtrQueue + \sa TQPtrList, TQPtrStack, TQPtrQueue */ /*! - \fn int QPtrVector::compareItems( QPtrCollection::Item d1, - QPtrCollection::Item d2 ) + \fn int TQPtrVector::compareItems( TQPtrCollection::Item d1, + TQPtrCollection::Item d2 ) This virtual function compares two list items. @@ -399,8 +399,8 @@ */ /*! - \fn QDataStream& QPtrVector::read( QDataStream &s, - QPtrCollection::Item &item ) + \fn QDataStream& TQPtrVector::read( QDataStream &s, + TQPtrCollection::Item &item ) Reads a vector item, \a item, from the stream \a s and returns a reference to the stream. @@ -411,8 +411,8 @@ */ /*! - \fn QDataStream& QPtrVector::write( QDataStream &s, - QPtrCollection::Item item ) const + \fn QDataStream& TQPtrVector::write( QDataStream &s, + TQPtrCollection::Item item ) const Writes a vector item, \a item, to the stream \a s and returns a reference to the stream. @@ -423,7 +423,7 @@ */ /*! - \fn bool QPtrVector::operator==( const QPtrVector &v ) const + \fn bool TQPtrVector::operator==( const TQPtrVector &v ) const Returns TRUE if this vector and \a v are equal; otherwise returns FALSE. diff --git a/doc/tqvaluelist.doc b/doc/tqvaluelist.doc index 846282e0..4eba7940 100644 --- a/doc/tqvaluelist.doc +++ b/doc/tqvaluelist.doc @@ -61,12 +61,12 @@ values that all have the class T. Note that TQValueList does not store pointers to the members of the list; it holds a copy of every member. This is why these kinds of classes are called "value - based"; QPtrList and QDict are "pointer based". + based"; TQPtrList and QDict are "pointer based". TQValueList contains and manages a collection of objects of type T and provides iterators that allow the contained objects to be addressed. TQValueList owns the contained items. For more relaxed - ownership semantics, see QPtrCollection and friends which are + ownership semantics, see TQPtrCollection and friends which are pointer-based containers. Some classes cannot be used within a TQValueList, for example, all diff --git a/doc/tqvaluestack.doc b/doc/tqvaluestack.doc index 39f9f07a..9197110e 100644 --- a/doc/tqvaluestack.doc +++ b/doc/tqvaluestack.doc @@ -57,7 +57,7 @@ Note that TQValueStack does not store pointers to the members of the stack; it holds a copy of every member. That is why these - kinds of classes are called "value based"; QPtrStack, QPtrList, + kinds of classes are called "value based"; TQPtrStack, TQPtrList, QDict, etc., are "pointer based". A stack is a last in, first out (LIFO) structure. Items are added @@ -81,7 +81,7 @@ \endcode TQValueStack is a specialized TQValueList provided for convenience. - All of TQValueList's functionality also applies to QPtrStack, for + All of TQValueList's functionality also applies to TQPtrStack, for example the facility to iterate over all elements using TQValueStack::Iterator. See TQValueListIterator for further details. diff --git a/doc/tqvaluevector.doc b/doc/tqvaluevector.doc index bb2c12a5..ecb09f2c 100644 --- a/doc/tqvaluevector.doc +++ b/doc/tqvaluevector.doc @@ -60,12 +60,12 @@ of values that all have the class T. TQValueVector does not store pointers to the members of the vector; it holds a copy of every member. TQValueVector is said to be value based; in contrast, - QPtrList and QDict are pointer based. + TQPtrList and QDict are pointer based. TQValueVector contains and manages a collection of objects of type T and provides random access iterators that allow the contained objects to be addressed. TQValueVector owns the contained - elements. For more relaxed ownership semantics, see QPtrCollection + elements. For more relaxed ownership semantics, see TQPtrCollection and friends, which are pointer-based containers. TQValueVector provides good performance if you append or remove diff --git a/doc/xml-sax-features-walkthrough.doc b/doc/xml-sax-features-walkthrough.doc index baffbbe1..72ca41d2 100644 --- a/doc/xml-sax-features-walkthrough.doc +++ b/doc/xml-sax-features-walkthrough.doc @@ -235,7 +235,7 @@ All we have to implement so far is content handling. In addition we have a function that selects a listview for the output. -\printuntil QPtrStack +\printuntil TQPtrStack Keep in mind that we write a SAX2 parser that doesn't have an object model to keep all elements and attributes @@ -323,13 +323,13 @@ Therefore we define a \l QListViewItem variable. As long as the element \e stack isn't empty the current element is a child of the topmost (last unclosed) element on the stack. Thus we -create a new \l QListViewItem as a child of QPtrStack::stack.top() with +create a new \l QListViewItem as a child of TQPtrStack::stack.top() with the new element's qualified name in the first column and the according namespace URI (or nothing) in the second one. The QListViewItem is usally inserted as the first child. This means that we would get the elements in reverse order. So we first search for the last -child of the QPtrStack::stack.top() element and insert it after this +child of the TQPtrStack::stack.top() element and insert it after this element. In a valid XML document this applies to all elements except diff --git a/examples/customlayout/border.h b/examples/customlayout/border.h index 98788aa6..8229b118 100644 --- a/examples/customlayout/border.h +++ b/examples/customlayout/border.h @@ -15,7 +15,7 @@ #define BORDER_H #include -#include +#include class BorderWidgetItem : public TQWidgetItem { diff --git a/examples/customlayout/card.h b/examples/customlayout/card.h index 0e7f8ed7..dfe31487 100644 --- a/examples/customlayout/card.h +++ b/examples/customlayout/card.h @@ -15,7 +15,7 @@ #define CARD_H #include -#include +#include class CardLayout : public TQLayout { diff --git a/examples/customlayout/flow.h b/examples/customlayout/flow.h index 5b5421cd..a2c85455 100644 --- a/examples/customlayout/flow.h +++ b/examples/customlayout/flow.h @@ -15,7 +15,7 @@ #define FLOW_H #include -#include +#include class SimpleFlow : public TQLayout { diff --git a/examples/demo/qasteroids/ledmeter.h b/examples/demo/qasteroids/ledmeter.h index 720afd6e..4cdf62ba 100644 --- a/examples/demo/qasteroids/ledmeter.h +++ b/examples/demo/qasteroids/ledmeter.h @@ -8,7 +8,7 @@ #define __LEDMETER_H__ #include -#include +#include class KALedMeter : public TQFrame diff --git a/examples/demo/qasteroids/view.h b/examples/demo/qasteroids/view.h index bbc873b3..89c1ba42 100644 --- a/examples/demo/qasteroids/view.h +++ b/examples/demo/qasteroids/view.h @@ -8,7 +8,7 @@ #define __AST_VIEW_H__ #include -#include +#include #include #include #include diff --git a/examples/helpdemo/helpdemo.h b/examples/helpdemo/helpdemo.h index c6d40ac4..4c808adb 100644 --- a/examples/helpdemo/helpdemo.h +++ b/examples/helpdemo/helpdemo.h @@ -1,7 +1,7 @@ #ifndef HELPDEMO_H #define HELPDEMO_H -#include +#include #include "helpdemobase.h" diff --git a/examples/listviews/listviews.h b/examples/listviews/listviews.h index f6c2b461..6b9cc7ea 100644 --- a/examples/listviews/listviews.h +++ b/examples/listviews/listviews.h @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include class TQListView; diff --git a/examples/mdi/application.h b/examples/mdi/application.h index 33e87fac..15562ac5 100644 --- a/examples/mdi/application.h +++ b/examples/mdi/application.h @@ -11,7 +11,7 @@ #define APPLICATION_H #include -#include +#include class TQTextEdit; class TQToolBar; diff --git a/examples/qwerty/qwerty.cpp b/examples/qwerty/qwerty.cpp index 28dbc48a..928fd27a 100644 --- a/examples/qwerty/qwerty.cpp +++ b/examples/qwerty/qwerty.cpp @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include diff --git a/examples/tetrix/qdragapp.cpp b/examples/tetrix/qdragapp.cpp index de234f16..7004f478 100644 --- a/examples/tetrix/qdragapp.cpp +++ b/examples/tetrix/qdragapp.cpp @@ -8,7 +8,7 @@ *****************************************************************************/ #include "qdragapp.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqintdict.h" #include "ntqpopupmenu.h" #include "ntqguardedptr.h" diff --git a/examples/tictac/tictac.h b/examples/tictac/tictac.h index 1bf3927e..ceb7fc50 100644 --- a/examples/tictac/tictac.h +++ b/examples/tictac/tictac.h @@ -12,7 +12,7 @@ #include -#include +#include class TQComboBox; class TQLabel; diff --git a/examples/xml/tagreader-with-features/structureparser.h b/examples/xml/tagreader-with-features/structureparser.h index 56b7b5fc..e1aa8159 100644 --- a/examples/xml/tagreader-with-features/structureparser.h +++ b/examples/xml/tagreader-with-features/structureparser.h @@ -5,7 +5,7 @@ #define STRUCTUREPARSER_H #include -#include +#include class TQListView; class TQListViewItem; diff --git a/extensions/nsplugin/examples/grapher/grapher.cpp b/extensions/nsplugin/examples/grapher/grapher.cpp index 328a6b35..bbf24ba7 100644 --- a/extensions/nsplugin/examples/grapher/grapher.cpp +++ b/extensions/nsplugin/examples/grapher/grapher.cpp @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include // Include some C library functions. diff --git a/include/ntqptrcollection.h b/include/ntqptrcollection.h deleted file mode 120000 index db4a3c1a..00000000 --- a/include/ntqptrcollection.h +++ /dev/null @@ -1 +0,0 @@ -../src/tools/ntqptrcollection.h \ No newline at end of file diff --git a/include/ntqptrdict.h b/include/ntqptrdict.h deleted file mode 120000 index b015621e..00000000 --- a/include/ntqptrdict.h +++ /dev/null @@ -1 +0,0 @@ -../src/tools/ntqptrdict.h \ No newline at end of file diff --git a/include/ntqptrlist.h b/include/ntqptrlist.h deleted file mode 120000 index 18d35154..00000000 --- a/include/ntqptrlist.h +++ /dev/null @@ -1 +0,0 @@ -../src/tools/ntqptrlist.h \ No newline at end of file diff --git a/include/ntqptrqueue.h b/include/ntqptrqueue.h deleted file mode 120000 index c5f4fd82..00000000 --- a/include/ntqptrqueue.h +++ /dev/null @@ -1 +0,0 @@ -../src/tools/ntqptrqueue.h \ No newline at end of file diff --git a/include/ntqptrstack.h b/include/ntqptrstack.h deleted file mode 120000 index 4b778a40..00000000 --- a/include/ntqptrstack.h +++ /dev/null @@ -1 +0,0 @@ -../src/tools/ntqptrstack.h \ No newline at end of file diff --git a/include/ntqptrvector.h b/include/ntqptrvector.h deleted file mode 120000 index d6fcf2d0..00000000 --- a/include/ntqptrvector.h +++ /dev/null @@ -1 +0,0 @@ -../src/tools/ntqptrvector.h \ No newline at end of file diff --git a/include/tqptrcollection.h b/include/tqptrcollection.h new file mode 120000 index 00000000..5d7529f3 --- /dev/null +++ b/include/tqptrcollection.h @@ -0,0 +1 @@ +../src/tools/tqptrcollection.h \ No newline at end of file diff --git a/include/tqptrdict.h b/include/tqptrdict.h new file mode 120000 index 00000000..eed77ac5 --- /dev/null +++ b/include/tqptrdict.h @@ -0,0 +1 @@ +../src/tools/tqptrdict.h \ No newline at end of file diff --git a/include/tqptrlist.h b/include/tqptrlist.h new file mode 120000 index 00000000..46f5f765 --- /dev/null +++ b/include/tqptrlist.h @@ -0,0 +1 @@ +../src/tools/tqptrlist.h \ No newline at end of file diff --git a/include/tqptrqueue.h b/include/tqptrqueue.h new file mode 120000 index 00000000..2f589c5d --- /dev/null +++ b/include/tqptrqueue.h @@ -0,0 +1 @@ +../src/tools/tqptrqueue.h \ No newline at end of file diff --git a/include/tqptrstack.h b/include/tqptrstack.h new file mode 120000 index 00000000..74d599b7 --- /dev/null +++ b/include/tqptrstack.h @@ -0,0 +1 @@ +../src/tools/tqptrstack.h \ No newline at end of file diff --git a/include/tqptrvector.h b/include/tqptrvector.h new file mode 120000 index 00000000..062547f3 --- /dev/null +++ b/include/tqptrvector.h @@ -0,0 +1 @@ +../src/tools/tqptrvector.h \ No newline at end of file diff --git a/plugins/src/codecs/cn/main.cpp b/plugins/src/codecs/cn/main.cpp index 36ea2709..b5a7f2cf 100644 --- a/plugins/src/codecs/cn/main.cpp +++ b/plugins/src/codecs/cn/main.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include diff --git a/plugins/src/codecs/jp/main.cpp b/plugins/src/codecs/jp/main.cpp index 5c34c16d..e8de7fef 100644 --- a/plugins/src/codecs/jp/main.cpp +++ b/plugins/src/codecs/jp/main.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include diff --git a/plugins/src/codecs/kr/main.cpp b/plugins/src/codecs/kr/main.cpp index e024d64c..72f0b5cd 100644 --- a/plugins/src/codecs/kr/main.cpp +++ b/plugins/src/codecs/kr/main.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include diff --git a/plugins/src/codecs/tw/main.cpp b/plugins/src/codecs/tw/main.cpp index 85e746b3..0e8ec6a5 100644 --- a/plugins/src/codecs/tw/main.cpp +++ b/plugins/src/codecs/tw/main.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include diff --git a/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp b/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp index 02439527..a18ece99 100644 --- a/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp +++ b/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp @@ -48,7 +48,7 @@ const int XKeyRelease = KeyRelease; #include "ntqapplication.h" #include "tqwidget.h" #include "ntqstring.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqintdict.h" #include "ntqtextcodec.h" diff --git a/qmake/Makefile.unix b/qmake/Makefile.unix index 9f474919..51042f19 100644 --- a/qmake/Makefile.unix +++ b/qmake/Makefile.unix @@ -6,7 +6,7 @@ OBJS=project.o property.o main.o makefile.o unixmake2.o unixmake.o msvc_nmake.o #qt code QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \ - qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o \ + qdatastream.o qgarray.o qbuffer.o qglist.o tqptrcollection.o qfile.o \ qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o quuid.o \ qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o tqmap.o \ qconfig.o qunicodetables.o qsettings.o qlocale.o @QMAKE_QTOBJS@ @@ -21,7 +21,7 @@ DEPEND_SRC=project.cpp property.cpp meta.cpp main.cpp qtmd5.cpp generators/makef @SOURCE_PATH@/src/tools/qgdict.cpp @SOURCE_PATH@/src/tools/qcstring.cpp \ @SOURCE_PATH@/src/tools/qdatastream.cpp @SOURCE_PATH@/src/tools/qgarray.cpp \ @SOURCE_PATH@/src/tools/qbuffer.cpp @SOURCE_PATH@/src/tools/qglist.cpp \ - @SOURCE_PATH@/src/tools/qptrcollection.cpp @SOURCE_PATH@/src/tools/qfile.cpp \ + @SOURCE_PATH@/src/tools/tqptrcollection.cpp @SOURCE_PATH@/src/tools/qfile.cpp \ @SOURCE_PATH@/src/tools/qfile_unix.cpp @SOURCE_PATH@/src/tools/qregexp.cpp \ @SOURCE_PATH@/src/tools/qgvector.cpp @SOURCE_PATH@/src/tools/qgcache.cpp \ @SOURCE_PATH@/src/tools/qbitarray.cpp @SOURCE_PATH@/src/tools/qdir.cpp \ @@ -105,8 +105,8 @@ qbuffer.o: @SOURCE_PATH@/src/tools/qbuffer.cpp qglist.o: @SOURCE_PATH@/src/tools/qglist.cpp $(CXX) -c -o $@ $(CXXFLAGS) @SOURCE_PATH@/src/tools/qglist.cpp -qptrcollection.o: @SOURCE_PATH@/src/tools/qptrcollection.cpp - $(CXX) -c -o $@ $(CXXFLAGS) @SOURCE_PATH@/src/tools/qptrcollection.cpp +tqptrcollection.o: @SOURCE_PATH@/src/tools/tqptrcollection.cpp + $(CXX) -c -o $@ $(CXXFLAGS) @SOURCE_PATH@/src/tools/tqptrcollection.cpp qfile.o: @SOURCE_PATH@/src/tools/qfile.cpp $(CXX) -c -o $@ $(CXXFLAGS) @SOURCE_PATH@/src/tools/qfile.cpp diff --git a/qmake/Makefile.win32-g++ b/qmake/Makefile.win32-g++ index b0f8f137..f961f611 100644 --- a/qmake/Makefile.win32-g++ +++ b/qmake/Makefile.win32-g++ @@ -20,7 +20,7 @@ OBJS=project.o main.o makefile.o unixmake.o unixmake2.o borland_bmake.o mingw_ma #qt code QTOBJS=qstring.o quuid.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o qdatastream.o \ - qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o qfile_win.o qregexp.o qgvector.o \ + qgarray.o qbuffer.o qglist.o tqptrcollection.o qfile.o qfile_win.o qregexp.o qgvector.o \ qgcache.o qbitarray.o qdir.o qfileinfo_win.o qdir_win.o qfileinfo.o qdatetime.o \ qstringlist.o tqmap.o qlibrary.o qlibrary_win.o qconfig.o qsettings.o qsettings_win.o qunicodetables.o \ qlocale.o @@ -88,8 +88,8 @@ qbuffer.o: ..\src\tools\qbuffer.cpp qglist.o: ..\src\tools\qglist.cpp $(CXX) $(CXXFLAGS) ..\src\tools\qglist.cpp -qptrcollection.o: ..\src\tools\qptrcollection.cpp - $(CXX) $(CXXFLAGS) ..\src\tools\qptrcollection.cpp +tqptrcollection.o: ..\src\tools\tqptrcollection.cpp + $(CXX) $(CXXFLAGS) ..\src\tools\tqptrcollection.cpp qfile.o: ..\src\tools\qfile.cpp $(CXX) $(CXXFLAGS) ..\src\tools\qfile.cpp diff --git a/src/canvas/tqcanvas.cpp b/src/canvas/tqcanvas.cpp index cd03790a..6e1db596 100644 --- a/src/canvas/tqcanvas.cpp +++ b/src/canvas/tqcanvas.cpp @@ -43,7 +43,7 @@ #include "ntqapplication.h" #include "ntqbitmap.h" #include "ntqimage.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqpainter.h" #include "ntqpolygonscanner.h" #include "ntqtimer.h" diff --git a/src/canvas/tqcanvas.h b/src/canvas/tqcanvas.h index 744f21f5..2a847524 100644 --- a/src/canvas/tqcanvas.h +++ b/src/canvas/tqcanvas.h @@ -44,7 +44,7 @@ #ifndef QT_H #include "ntqscrollview.h" #include "ntqpixmap.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqbrush.h" #include "ntqpen.h" #include "tqvaluelist.h" diff --git a/src/dialogs/qfiledialog.cpp b/src/dialogs/qfiledialog.cpp index 8812f210..911b22c2 100644 --- a/src/dialogs/qfiledialog.cpp +++ b/src/dialogs/qfiledialog.cpp @@ -82,7 +82,7 @@ #include "ntqpainter.h" #include "ntqpopupmenu.h" #include "ntqprogressbar.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "ntqpushbutton.h" #include "ntqregexp.h" #include "ntqsplitter.h" diff --git a/src/dialogs/qwizard.cpp b/src/dialogs/qwizard.cpp index 9e1d31a7..e5b3f8f4 100644 --- a/src/dialogs/qwizard.cpp +++ b/src/dialogs/qwizard.cpp @@ -48,7 +48,7 @@ #include "ntqlabel.h" #include "tqwidgetstack.h" #include "ntqapplication.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqpainter.h" #include "ntqaccel.h" diff --git a/src/kernel/ntqinputcontext.h b/src/kernel/ntqinputcontext.h index a37c0167..f782c1f7 100644 --- a/src/kernel/ntqinputcontext.h +++ b/src/kernel/ntqinputcontext.h @@ -43,7 +43,7 @@ #include "ntqglobal.h" #include "ntqevent.h" #include "ntqstring.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #endif class TQWidget; diff --git a/src/kernel/ntqmime.h b/src/kernel/ntqmime.h index 50ed2799..00c31a37 100644 --- a/src/kernel/ntqmime.h +++ b/src/kernel/ntqmime.h @@ -125,7 +125,7 @@ private: #if defined(TQ_WS_WIN) #ifndef QT_H -#include "ntqptrlist.h" // down here for GCC 2.7.* compatibility +#include "tqptrlist.h" // down here for GCC 2.7.* compatibility #endif // QT_H /* @@ -161,7 +161,7 @@ public: #if defined(TQ_WS_MAC) #ifndef QT_H -#include "ntqptrlist.h" // down here for GCC 2.7.* compatibility +#include "tqptrlist.h" // down here for GCC 2.7.* compatibility #endif // QT_H /* diff --git a/src/kernel/ntqsignalslotimp.h b/src/kernel/ntqsignalslotimp.h index 375f8eaa..80c18b5d 100644 --- a/src/kernel/ntqsignalslotimp.h +++ b/src/kernel/ntqsignalslotimp.h @@ -43,8 +43,8 @@ #ifndef QT_H #include "ntqconnection.h" -#include "ntqptrlist.h" -#include "ntqptrvector.h" +#include "tqptrlist.h" +#include "tqptrvector.h" #endif // QT_H class TQ_EXPORT TQConnectionList : public TQPtrList diff --git a/src/kernel/ntqstylesheet.h b/src/kernel/ntqstylesheet.h index d1154874..dbf5fd6e 100644 --- a/src/kernel/ntqstylesheet.h +++ b/src/kernel/ntqstylesheet.h @@ -44,7 +44,7 @@ #ifndef QT_H #include "ntqstring.h" #include "tqvaluelist.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "ntqdict.h" #include "tqobject.h" #endif // QT_H diff --git a/src/kernel/ntqt.h b/src/kernel/ntqt.h index eef4df77..fd10a18b 100644 --- a/src/kernel/ntqt.h +++ b/src/kernel/ntqt.h @@ -18,7 +18,7 @@ #include "ntqglobal.h" #include "ntqfeatures.h" #include "ntqshared.h" -#include "ntqptrcollection.h" +#include "tqptrcollection.h" #include "ntqglist.h" #include "tqobjectdefs.h" #include "ntqnamespace.h" @@ -26,7 +26,7 @@ #include "ntqmemarray.h" #include "ntqcstring.h" #include "ntqstring.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqiodevice.h" #include "ntqkeysequence.h" #include "ntqwindowdefs.h" @@ -135,7 +135,7 @@ #include #include #include -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "ntqmutex.h" #include #include @@ -164,10 +164,10 @@ #include #include "ntqprogressbar.h" #include -#include "ntqptrdict.h" +#include "tqptrdict.h" #include -#include -#include +#include +#include #include "ntqstylesheet.h" #include #include diff --git a/src/kernel/ntqurloperator.h b/src/kernel/ntqurloperator.h index 986fb25a..f290b37f 100644 --- a/src/kernel/ntqurloperator.h +++ b/src/kernel/ntqurloperator.h @@ -44,7 +44,7 @@ #ifndef QT_H #include "tqobject.h" #include "ntqurl.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqnetworkprotocol.h" #include "ntqstringlist.h" // TQString->TQStringList conversion #endif // QT_H diff --git a/src/kernel/qaccel.cpp b/src/kernel/qaccel.cpp index beb50405..8b37b92e 100644 --- a/src/kernel/qaccel.cpp +++ b/src/kernel/qaccel.cpp @@ -45,7 +45,7 @@ #include "ntqsignal.h" #include "ntqapplication.h" #include "tqwidget.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqwhatsthis.h" #include "ntqguardedptr.h" #include "ntqstatusbar.h" diff --git a/src/kernel/qaccessible.cpp b/src/kernel/qaccessible.cpp index 8306faa0..d486607c 100644 --- a/src/kernel/qaccessible.cpp +++ b/src/kernel/qaccessible.cpp @@ -40,7 +40,7 @@ #if defined(QT_ACCESSIBILITY_SUPPORT) -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqmetaobject.h" #include #include "ntqapplication.h" diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp index 39f8abc5..e5b28642 100644 --- a/src/kernel/qapplication.cpp +++ b/src/kernel/qapplication.cpp @@ -45,7 +45,7 @@ #include "tqwidget.h" #include "tqwidgetlist.h" #include "tqwidgetintdict.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqcleanuphandler.h" #include "ntqtranslator.h" diff --git a/src/kernel/qasyncimageio.cpp b/src/kernel/qasyncimageio.cpp index 8605c79a..c8903671 100644 --- a/src/kernel/qasyncimageio.cpp +++ b/src/kernel/qasyncimageio.cpp @@ -42,7 +42,7 @@ #ifndef TQT_NO_ASYNC_IMAGE_IO -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqgif.h" #include diff --git a/src/kernel/qeventloop_glib_p.h b/src/kernel/qeventloop_glib_p.h index b5dbbada..f3711b62 100644 --- a/src/kernel/qeventloop_glib_p.h +++ b/src/kernel/qeventloop_glib_p.h @@ -63,7 +63,7 @@ class TQSocketNotifier; -#include "ntqptrlist.h" +#include "tqptrlist.h" #include diff --git a/src/kernel/qeventloop_p.h b/src/kernel/qeventloop_p.h index d0e00f66..8ab5f954 100644 --- a/src/kernel/qeventloop_p.h +++ b/src/kernel/qeventloop_p.h @@ -70,7 +70,7 @@ class TQMacSockNotPrivate; #endif #if defined(Q_OS_UNIX) || defined (TQ_WS_WIN) -#include "ntqptrlist.h" +#include "tqptrlist.h" #endif // Q_OS_UNIX || TQ_WS_WIN #if defined(Q_OS_UNIX) diff --git a/src/kernel/qfontengine_p.h b/src/kernel/qfontengine_p.h index 09fa3200..17aa618b 100644 --- a/src/kernel/qfontengine_p.h +++ b/src/kernel/qfontengine_p.h @@ -43,7 +43,7 @@ #ifdef TQ_WS_WIN #include "qt_windows.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #endif #include "qtextengine_p.h" diff --git a/src/kernel/qimage.cpp b/src/kernel/qimage.cpp index 1097a5f8..3d7c15bf 100644 --- a/src/kernel/qimage.cpp +++ b/src/kernel/qimage.cpp @@ -44,7 +44,7 @@ #include "ntqdatastream.h" #include "ntqtextstream.h" #include "ntqbuffer.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqasyncimageio.h" #include "ntqpngio.h" #include "ntqmngio.h" diff --git a/src/kernel/qinternal_p.h b/src/kernel/qinternal_p.h index e8142c8f..6b4139f3 100644 --- a/src/kernel/qinternal_p.h +++ b/src/kernel/qinternal_p.h @@ -55,7 +55,7 @@ #ifndef QT_H #include "ntqnamespace.h" #include "ntqrect.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqcstring.h" #include "ntqiodevice.h" #endif // QT_H diff --git a/src/kernel/qlayout.cpp b/src/kernel/qlayout.cpp index 229a9ed7..6fd85c40 100644 --- a/src/kernel/qlayout.cpp +++ b/src/kernel/qlayout.cpp @@ -44,7 +44,7 @@ #include "ntqapplication.h" #include "tqwidget.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqsizepolicy.h" #include "qlayoutengine_p.h" diff --git a/src/kernel/qmovie.cpp b/src/kernel/qmovie.cpp index 2f83cabf..cccfff43 100644 --- a/src/kernel/qmovie.cpp +++ b/src/kernel/qmovie.cpp @@ -42,7 +42,7 @@ #include "ntqtimer.h" #include "ntqpainter.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqbitmap.h" #include "ntqmovie.h" #include "ntqfile.h" diff --git a/src/kernel/qnetworkprotocol.cpp b/src/kernel/qnetworkprotocol.cpp index b8ad2b55..8d7ff8f1 100644 --- a/src/kernel/qnetworkprotocol.cpp +++ b/src/kernel/qnetworkprotocol.cpp @@ -46,7 +46,7 @@ #include "ntqurloperator.h" #include "ntqtimer.h" #include "tqmap.h" -#include "ntqptrqueue.h" +#include "tqptrqueue.h" //#define TQNETWORKPROTOCOL_DEBUG #define NETWORK_OP_DELAY 1000 diff --git a/src/kernel/qpainter.cpp b/src/kernel/qpainter.cpp index 3e3574df..da78db89 100644 --- a/src/kernel/qpainter.cpp +++ b/src/kernel/qpainter.cpp @@ -41,8 +41,8 @@ #include "ntqpainter.h" #include "qpainter_p.h" #include "ntqbitmap.h" -#include "ntqptrstack.h" -#include "ntqptrdict.h" +#include "tqptrstack.h" +#include "tqptrdict.h" #include "ntqdatastream.h" #include "tqwidget.h" #include "ntqimage.h" diff --git a/src/kernel/qprocess_unix.cpp b/src/kernel/qprocess_unix.cpp index 6d0f27ab..87f76848 100644 --- a/src/kernel/qprocess_unix.cpp +++ b/src/kernel/qprocess_unix.cpp @@ -50,8 +50,8 @@ #ifndef TQT_NO_PROCESS #include "ntqapplication.h" -#include "ntqptrqueue.h" -#include "ntqptrlist.h" +#include "tqptrqueue.h" +#include "tqptrlist.h" #include "ntqsocketnotifier.h" #include "ntqtimer.h" #include "ntqcleanuphandler.h" diff --git a/src/kernel/qrichtext.cpp b/src/kernel/qrichtext.cpp index a2ab4d0e..a74433d4 100644 --- a/src/kernel/qrichtext.cpp +++ b/src/kernel/qrichtext.cpp @@ -58,8 +58,8 @@ #include "ntqpainter.h" #include "ntqdrawutil.h" #include "ntqcursor.h" -#include "ntqptrstack.h" -#include "ntqptrdict.h" +#include "tqptrstack.h" +#include "tqptrdict.h" #include "ntqstyle.h" #include "ntqcleanuphandler.h" #include "qtextengine_p.h" diff --git a/src/kernel/qrichtext_p.h b/src/kernel/qrichtext_p.h index 874e6155..1d0c7627 100644 --- a/src/kernel/qrichtext_p.h +++ b/src/kernel/qrichtext_p.h @@ -55,7 +55,7 @@ #ifndef QT_H #include "ntqstring.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqrect.h" #include "ntqfontmetrics.h" #include "ntqintdict.h" @@ -70,7 +70,7 @@ #include "ntqdict.h" #include "ntqpixmap.h" #include "ntqstylesheet.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "ntqpainter.h" #include "ntqlayout.h" #include "tqobject.h" diff --git a/src/kernel/qsignalmapper.cpp b/src/kernel/qsignalmapper.cpp index 8efd2737..aff53a3c 100644 --- a/src/kernel/qsignalmapper.cpp +++ b/src/kernel/qsignalmapper.cpp @@ -40,7 +40,7 @@ #include "ntqsignalmapper.h" #ifndef TQT_NO_SIGNALMAPPER -#include "ntqptrdict.h" +#include "tqptrdict.h" struct TQSignalMapperRec { TQSignalMapperRec() diff --git a/src/kernel/qsound.cpp b/src/kernel/qsound.cpp index 98d21042..adfdf84e 100644 --- a/src/kernel/qsound.cpp +++ b/src/kernel/qsound.cpp @@ -42,7 +42,7 @@ #ifndef TQT_NO_SOUND -#include "ntqptrlist.h" +#include "tqptrlist.h" static TQPtrList *servers=0; diff --git a/src/kernel/qsound_x11.cpp b/src/kernel/qsound_x11.cpp index 2eaf0b46..11d34e47 100644 --- a/src/kernel/qsound_x11.cpp +++ b/src/kernel/qsound_x11.cpp @@ -42,7 +42,7 @@ #ifndef TQT_NO_SOUND -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqsocketnotifier.h" #include "ntqapplication.h" diff --git a/src/kernel/qt_pch.h b/src/kernel/qt_pch.h index 3e5224ae..54b96823 100644 --- a/src/kernel/qt_pch.h +++ b/src/kernel/qt_pch.h @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/src/kernel/qurloperator.cpp b/src/kernel/qurloperator.cpp index e5b84ca5..5dc39e29 100644 --- a/src/kernel/qurloperator.cpp +++ b/src/kernel/qurloperator.cpp @@ -46,7 +46,7 @@ #include "ntqnetworkprotocol.h" #include "tqmap.h" #include "ntqdir.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqguardedptr.h" //#define TQURLOPERATOR_DEBUG diff --git a/src/kernel/tqobject.cpp b/src/kernel/tqobject.cpp index d66f8cf1..b87fd8d0 100644 --- a/src/kernel/tqobject.cpp +++ b/src/kernel/tqobject.cpp @@ -47,7 +47,7 @@ #include "ntqmetaobject.h" #include #include "qucomextra_p.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" // TQStyleControlElementData #include "ntqstyle.h" diff --git a/src/kernel/tqobjectlist.h b/src/kernel/tqobjectlist.h index 830a32e3..c7a96544 100644 --- a/src/kernel/tqobjectlist.h +++ b/src/kernel/tqobjectlist.h @@ -43,7 +43,7 @@ #ifndef QT_H #include "tqobject.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #endif // QT_H diff --git a/src/kernel/tqwidget.cpp b/src/kernel/tqwidget.cpp index 9345c31e..118429a1 100644 --- a/src/kernel/tqwidget.cpp +++ b/src/kernel/tqwidget.cpp @@ -43,7 +43,7 @@ #include "tqwidget.h" #include "tqwidgetlist.h" #include "tqwidgetintdict.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqfocusdata.h" #include "ntqcursor.h" #include "ntqpixmap.h" diff --git a/src/kernel/tqwidgetlist.h b/src/kernel/tqwidgetlist.h index bcd7637c..fe03669c 100644 --- a/src/kernel/tqwidgetlist.h +++ b/src/kernel/tqwidgetlist.h @@ -43,7 +43,7 @@ #ifndef QT_H #include "tqwidget.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #endif // QT_H class TQ_EXPORT TQWidgetList : public TQPtrList diff --git a/src/moc/moc.pro b/src/moc/moc.pro index 6871d9d9..f053ae33 100644 --- a/src/moc/moc.pro +++ b/src/moc/moc.pro @@ -13,7 +13,7 @@ DEPENDPATH += $$QT_SOURCE_TREE/include ../tools . LIBS = OBJECTS_DIR = . SOURCES = ../tools/qbuffer.cpp \ - ../tools/qptrcollection.cpp \ + ../tools/tqptrcollection.cpp \ ../tools/qcstring.cpp \ ../tools/qdatastream.cpp \ ../tools/qdatetime.cpp \ diff --git a/src/moc/moc.y b/src/moc/moc.y index 79664759..222ff3f2 100644 --- a/src/moc/moc.y +++ b/src/moc/moc.y @@ -64,7 +64,7 @@ void yyerror( const char *msg ); #include "ntqdict.h" #include "ntqfile.h" #include "ntqdir.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqregexp.h" #include "ntqstrlist.h" #ifdef MOC_MWERKS_PLUGIN diff --git a/src/moc/moc_yacc.cpp b/src/moc/moc_yacc.cpp index d6b97ad8..07406ced 100644 --- a/src/moc/moc_yacc.cpp +++ b/src/moc/moc_yacc.cpp @@ -77,7 +77,7 @@ void yyerror( const char *msg ); #include "ntqdict.h" #include "ntqfile.h" #include "ntqdir.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqregexp.h" #include "ntqstrlist.h" #ifdef MOC_MWERKS_PLUGIN diff --git a/src/network/qdns.cpp b/src/network/qdns.cpp index b1eeaa53..db93c4e9 100644 --- a/src/network/qdns.cpp +++ b/src/network/qdns.cpp @@ -66,13 +66,13 @@ #include "ntqdatetime.h" #include "ntqdict.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqstring.h" #include "ntqtimer.h" #include "ntqapplication.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "ntqstrlist.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqfile.h" #include "ntqtextstream.h" #include "ntqsocketdevice.h" diff --git a/src/network/qftp.cpp b/src/network/qftp.cpp index 7a23afbf..bdbfe47b 100644 --- a/src/network/qftp.cpp +++ b/src/network/qftp.cpp @@ -50,7 +50,7 @@ #include "ntqregexp.h" #include "ntqtimer.h" #include "ntqfileinfo.h" -#include "ntqptrdict.h" // binary compatibility +#include "tqptrdict.h" // binary compatibility #ifndef TQT_NO_TEXTCODEC #include "ntqtextcodec.h" diff --git a/src/network/qsocket.cpp b/src/network/qsocket.cpp index 381a1a8e..687c13f9 100644 --- a/src/network/qsocket.cpp +++ b/src/network/qsocket.cpp @@ -40,7 +40,7 @@ #include "ntqsocket.h" #ifndef TQT_NO_NETWORK -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqtimer.h" #include "ntqsocketdevice.h" #include "ntqdns.h" diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index 83b27a0c..6882259d 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -43,7 +43,7 @@ #include "ntqpaintdevicemetrics.h" #include "ntqimage.h" #include "ntqcleanuphandler.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" static TQGLFormat* qgl_default_format = 0; static TQGLFormat* qgl_default_overlay_format = 0; diff --git a/src/sql/drivers/cache/tqsqlcachedresult.h b/src/sql/drivers/cache/tqsqlcachedresult.h index 3542a174..11aa63d9 100644 --- a/src/sql/drivers/cache/tqsqlcachedresult.h +++ b/src/sql/drivers/cache/tqsqlcachedresult.h @@ -53,7 +53,7 @@ #include #include -#include +#include #include #include diff --git a/src/sql/drivers/sqlite/tqsql_sqlite.cpp b/src/sql/drivers/sqlite/tqsql_sqlite.cpp index 3f0053d3..4b7191bb 100644 --- a/src/sql/drivers/sqlite/tqsql_sqlite.cpp +++ b/src/sql/drivers/sqlite/tqsql_sqlite.cpp @@ -17,7 +17,7 @@ #include #include #include -#include +#include #if !defined TQ_WS_WIN32 # include #endif diff --git a/src/sql/drivers/sqlite3/tqsql_sqlite3.cpp b/src/sql/drivers/sqlite3/tqsql_sqlite3.cpp index afa21ac8..ec577c87 100644 --- a/src/sql/drivers/sqlite3/tqsql_sqlite3.cpp +++ b/src/sql/drivers/sqlite3/tqsql_sqlite3.cpp @@ -19,7 +19,7 @@ #include #include #include -#include +#include #if !defined TQ_WS_WIN32 # include #endif diff --git a/src/sql/tqsqldriver.h b/src/sql/tqsqldriver.h index ba865f09..10548880 100644 --- a/src/sql/tqsqldriver.h +++ b/src/sql/tqsqldriver.h @@ -43,7 +43,7 @@ #ifndef QT_H #include "tqobject.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqstring.h" #include "tqsqlerror.h" #include "tqsqlquery.h" diff --git a/src/table/ntqtable.h b/src/table/ntqtable.h index 490909e1..0e890df2 100644 --- a/src/table/ntqtable.h +++ b/src/table/ntqtable.h @@ -44,10 +44,10 @@ #ifndef QT_H #include "ntqscrollview.h" #include "ntqpixmap.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "ntqheader.h" #include "ntqmemarray.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqguardedptr.h" #include "ntqshared.h" #include "ntqintdict.h" diff --git a/src/tools/ntqcleanuphandler.h b/src/tools/ntqcleanuphandler.h index e1dc339b..b6347f7e 100644 --- a/src/tools/ntqcleanuphandler.h +++ b/src/tools/ntqcleanuphandler.h @@ -40,7 +40,7 @@ #define TQCLEANUPHANDLER_H #ifndef QT_H -#include "ntqptrlist.h" +#include "tqptrlist.h" #endif // QT_H template diff --git a/src/tools/ntqgcache.h b/src/tools/ntqgcache.h index cbcb0723..9082af76 100644 --- a/src/tools/ntqgcache.h +++ b/src/tools/ntqgcache.h @@ -42,7 +42,7 @@ #define TQGCACHE_H #ifndef QT_H -#include "ntqptrcollection.h" +#include "tqptrcollection.h" #include "ntqglist.h" #include "ntqgdict.h" #endif // QT_H diff --git a/src/tools/ntqgdict.h b/src/tools/ntqgdict.h index c3f8fb36..0e29a51e 100644 --- a/src/tools/ntqgdict.h +++ b/src/tools/ntqgdict.h @@ -42,7 +42,7 @@ #define TQGDICT_H #ifndef QT_H -#include "ntqptrcollection.h" +#include "tqptrcollection.h" #include "ntqstring.h" #endif // QT_H diff --git a/src/tools/ntqglist.h b/src/tools/ntqglist.h index 247c4f68..95a5786d 100644 --- a/src/tools/ntqglist.h +++ b/src/tools/ntqglist.h @@ -42,7 +42,7 @@ #define TQGLIST_H #ifndef QT_H -#include "ntqptrcollection.h" +#include "tqptrcollection.h" #endif // QT_H class TQ_EXPORT TQLNode diff --git a/src/tools/ntqgvector.h b/src/tools/ntqgvector.h index 4702c0e4..d1e8385d 100644 --- a/src/tools/ntqgvector.h +++ b/src/tools/ntqgvector.h @@ -42,7 +42,7 @@ #define TQGVECTOR_H #ifndef QT_H -#include "ntqptrcollection.h" +#include "tqptrcollection.h" #endif // QT_H diff --git a/src/tools/ntqstrlist.h b/src/tools/ntqstrlist.h index 2495f55a..e8eb3d3f 100644 --- a/src/tools/ntqstrlist.h +++ b/src/tools/ntqstrlist.h @@ -43,7 +43,7 @@ #ifndef QT_H #include "ntqstring.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqdatastream.h" #endif // QT_H diff --git a/src/tools/ntqstrvec.h b/src/tools/ntqstrvec.h index 9f224508..82fea5e9 100644 --- a/src/tools/ntqstrvec.h +++ b/src/tools/ntqstrvec.h @@ -43,7 +43,7 @@ #ifndef QT_H #include "ntqstring.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "ntqdatastream.h" #endif // QT_H diff --git a/src/tools/qgcache.cpp b/src/tools/qgcache.cpp index 07a91fd2..9cde4b24 100644 --- a/src/tools/qgcache.cpp +++ b/src/tools/qgcache.cpp @@ -39,7 +39,7 @@ **********************************************************************/ #include "ntqgcache.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqdict.h" #include "ntqstring.h" diff --git a/src/tools/qgdict.cpp b/src/tools/qgdict.cpp index fe68644c..63901487 100644 --- a/src/tools/qgdict.cpp +++ b/src/tools/qgdict.cpp @@ -39,7 +39,7 @@ **********************************************************************/ #include "ntqgdict.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqstring.h" #include "ntqdatastream.h" #include diff --git a/src/tools/qgpluginmanager.cpp b/src/tools/qgpluginmanager.cpp index dc72dad3..3a7c321f 100644 --- a/src/tools/qgpluginmanager.cpp +++ b/src/tools/qgpluginmanager.cpp @@ -287,7 +287,7 @@ static int similarity( const TQString& s1, const TQString& s2 ) -#include +#include TQGPluginManager::TQGPluginManager( const TQUuid& id, const TQStringList& paths, const TQString &suffix, bool cs ) : interfaceId( id ), plugDict( 17, cs ), casesens( cs ), autounload( TRUE ) diff --git a/src/tools/qregexp.cpp b/src/tools/qregexp.cpp index 19b983f7..ab6f0ee8 100644 --- a/src/tools/qregexp.cpp +++ b/src/tools/qregexp.cpp @@ -48,7 +48,7 @@ #include "ntqcleanuphandler.h" #include "ntqintdict.h" #include "tqmap.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "ntqstring.h" #include "ntqtl.h" diff --git a/src/tools/qt_tools.pri b/src/tools/qt_tools.pri index 5026f379..e5e7a7af 100644 --- a/src/tools/qt_tools.pri +++ b/src/tools/qt_tools.pri @@ -36,21 +36,21 @@ tools { $$TOOLS_P/qlibrary_p.h \ $$TOOLS_H/ntqlocale.h \ $$TOOLS_P/qlocale_p.h \ - $$TOOLS_H/ntqptrlist.h \ + $$TOOLS_H/tqptrlist.h \ $$TOOLS_H/tqmap.h \ $$TOOLS_H/ntqmutex.h \ $$TOOLS_P/qmutex_p.h \ $$TOOLS_P/qmutexpool_p.h \ $$TOOLS_P/qpluginmanager_p.h \ - $$TOOLS_H/ntqptrcollection.h \ - $$TOOLS_H/ntqptrdict.h \ - $$TOOLS_H/ntqptrqueue.h \ + $$TOOLS_H/tqptrcollection.h \ + $$TOOLS_H/tqptrdict.h \ + $$TOOLS_H/tqptrqueue.h \ $$TOOLS_H/ntqregexp.h \ $$TOOLS_H/ntqsemaphore.h \ $$TOOLS_H/ntqsettings.h \ $$TOOLS_P/qsettings_p.h \ $$TOOLS_H/ntqshared.h \ - $$TOOLS_H/ntqptrstack.h \ + $$TOOLS_H/tqptrstack.h \ $$TOOLS_H/ntqstring.h \ $$TOOLS_H/ntqstringlist.h \ $$TOOLS_H/ntqstrlist.h \ @@ -59,7 +59,7 @@ tools { $$TOOLS_P/qthreadinstance_p.h \ $$TOOLS_H/ntqthreadstorage.h\ $$TOOLS_P/qunicodetables_p.h \ - $$TOOLS_H/ntqptrvector.h \ + $$TOOLS_H/tqptrvector.h \ $$TOOLS_H/tqvaluelist.h \ $$TOOLS_H/tqvaluestack.h \ $$TOOLS_H/tqvaluevector.h \ @@ -129,7 +129,7 @@ tools { $$TOOLS_CPP/qlocale.cpp \ $$TOOLS_CPP/tqmap.cpp \ $$TOOLS_CPP/qmutexpool.cpp \ - $$TOOLS_CPP/qptrcollection.cpp \ + $$TOOLS_CPP/tqptrcollection.cpp \ $$TOOLS_CPP/qregexp.cpp \ $$TOOLS_CPP/qstring.cpp \ $$TOOLS_CPP/qsemaphore.cpp \ diff --git a/src/tools/qwinexport.cpp b/src/tools/qwinexport.cpp index 244db1ce..12d8832d 100644 --- a/src/tools/qwinexport.cpp +++ b/src/tools/qwinexport.cpp @@ -22,8 +22,8 @@ #include #include #include -#include -#include +#include +#include #include #include #include diff --git a/src/tools/qptrcollection.cpp b/src/tools/tqptrcollection.cpp similarity index 98% rename from src/tools/qptrcollection.cpp rename to src/tools/tqptrcollection.cpp index 718a739d..7a9258c5 100644 --- a/src/tools/qptrcollection.cpp +++ b/src/tools/tqptrcollection.cpp @@ -38,10 +38,10 @@ ** **********************************************************************/ -#include "ntqptrcollection.h" +#include "tqptrcollection.h" /*! - \class TQPtrCollection ntqptrcollection.h + \class TQPtrCollection tqptrcollection.h \reentrant \brief The TQPtrCollection class is the base class of most pointer-based TQt collections. diff --git a/src/tools/ntqptrcollection.h b/src/tools/tqptrcollection.h similarity index 100% rename from src/tools/ntqptrcollection.h rename to src/tools/tqptrcollection.h diff --git a/src/tools/ntqptrdict.h b/src/tools/tqptrdict.h similarity index 100% rename from src/tools/ntqptrdict.h rename to src/tools/tqptrdict.h diff --git a/src/tools/ntqptrlist.h b/src/tools/tqptrlist.h similarity index 100% rename from src/tools/ntqptrlist.h rename to src/tools/tqptrlist.h diff --git a/src/tools/ntqptrqueue.h b/src/tools/tqptrqueue.h similarity index 100% rename from src/tools/ntqptrqueue.h rename to src/tools/tqptrqueue.h diff --git a/src/tools/ntqptrstack.h b/src/tools/tqptrstack.h similarity index 100% rename from src/tools/ntqptrstack.h rename to src/tools/tqptrstack.h diff --git a/src/tools/ntqptrvector.h b/src/tools/tqptrvector.h similarity index 100% rename from src/tools/ntqptrvector.h rename to src/tools/tqptrvector.h diff --git a/src/widgets/ntqdockarea.h b/src/widgets/ntqdockarea.h index 85dce12b..441f4b82 100644 --- a/src/widgets/ntqdockarea.h +++ b/src/widgets/ntqdockarea.h @@ -43,7 +43,7 @@ #ifndef QT_H #include "tqwidget.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqdockwindow.h" #include "ntqlayout.h" #include "tqvaluelist.h" diff --git a/src/widgets/ntqmainwindow.h b/src/widgets/ntqmainwindow.h index 647c2320..73265436 100644 --- a/src/widgets/ntqmainwindow.h +++ b/src/widgets/ntqmainwindow.h @@ -44,7 +44,7 @@ #ifndef QT_H #include "tqwidget.h" #include "ntqtoolbar.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqtextstream.h" #endif // QT_H diff --git a/src/widgets/ntqmenudata.h b/src/widgets/ntqmenudata.h index 0f7e08af..06339233 100644 --- a/src/widgets/ntqmenudata.h +++ b/src/widgets/ntqmenudata.h @@ -132,7 +132,7 @@ private: // Disabled copy constructor and operator= #endif }; -#include "ntqptrlist.h" +#include "tqptrlist.h" typedef TQPtrList TQMenuItemList; typedef TQPtrListIterator TQMenuItemListIt; diff --git a/src/widgets/ntqtabbar.h b/src/widgets/ntqtabbar.h index c7010ed5..b9abccde 100644 --- a/src/widgets/ntqtabbar.h +++ b/src/widgets/ntqtabbar.h @@ -41,7 +41,7 @@ #ifndef QT_H #include "tqwidget.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #endif // QT_H #ifndef TQT_NO_TABBAR diff --git a/src/widgets/ntqtextbrowser.h b/src/widgets/ntqtextbrowser.h index 32806a53..c9ac4ae9 100644 --- a/src/widgets/ntqtextbrowser.h +++ b/src/widgets/ntqtextbrowser.h @@ -42,7 +42,7 @@ #define TQTEXTBROWSER_H #ifndef QT_H -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqpixmap.h" #include "ntqcolor.h" #include "ntqtextedit.h" diff --git a/src/widgets/ntqtextedit.h b/src/widgets/ntqtextedit.h index f14e06ff..40906dbf 100644 --- a/src/widgets/ntqtextedit.h +++ b/src/widgets/ntqtextedit.h @@ -44,9 +44,9 @@ #ifndef QT_H #include "ntqscrollview.h" #include "ntqstylesheet.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "tqvaluelist.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #endif // QT_H #ifndef TQT_NO_TEXTEDIT diff --git a/src/widgets/qaction.cpp b/src/widgets/qaction.cpp index cbeb093c..49f1108c 100644 --- a/src/widgets/qaction.cpp +++ b/src/widgets/qaction.cpp @@ -41,7 +41,7 @@ #ifndef TQT_NO_ACTION #include "ntqtoolbar.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqpopupmenu.h" #include "ntqaccel.h" #include "ntqtoolbutton.h" diff --git a/src/widgets/qbuttongroup.cpp b/src/widgets/qbuttongroup.cpp index 15495edf..c1a708b8 100644 --- a/src/widgets/qbuttongroup.cpp +++ b/src/widgets/qbuttongroup.cpp @@ -41,7 +41,7 @@ #include "ntqbuttongroup.h" #ifndef TQT_NO_BUTTONGROUP #include "ntqbutton.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqapplication.h" #include "ntqradiobutton.h" diff --git a/src/widgets/qdockarea.cpp b/src/widgets/qdockarea.cpp index 1f982a1d..702de25a 100644 --- a/src/widgets/qdockarea.cpp +++ b/src/widgets/qdockarea.cpp @@ -43,7 +43,7 @@ #ifndef TQT_NO_MAINWINDOW #include "ntqsplitter.h" #include "ntqlayout.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "ntqapplication.h" #include "ntqpainter.h" #include "tqwidgetlist.h" diff --git a/src/widgets/qheader.cpp b/src/widgets/qheader.cpp index f764b653..d8d2a88b 100644 --- a/src/widgets/qheader.cpp +++ b/src/widgets/qheader.cpp @@ -44,7 +44,7 @@ #include "ntqdrawutil.h" #include "ntqpixmap.h" #include "ntqbitarray.h" -#include "ntqptrvector.h" +#include "tqptrvector.h" #include "ntqapplication.h" #include "ntqstyle.h" diff --git a/src/widgets/qiconview.cpp b/src/widgets/qiconview.cpp index 154702ea..82ee7606 100644 --- a/src/widgets/qiconview.cpp +++ b/src/widgets/qiconview.cpp @@ -61,12 +61,12 @@ #include "ntqapplication.h" #include "ntqtextedit.h" #include "ntqmemarray.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqvbox.h" #include "ntqtooltip.h" #include "ntqbitmap.h" #include "ntqpixmapcache.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqstringlist.h" #include "ntqcleanuphandler.h" #include "private/qrichtext_p.h" diff --git a/src/widgets/qlistbox.cpp b/src/widgets/qlistbox.cpp index 3669b3e2..e4b4f806 100644 --- a/src/widgets/qlistbox.cpp +++ b/src/widgets/qlistbox.cpp @@ -52,7 +52,7 @@ #include "ntqstrlist.h" #include "ntqpixmap.h" #include "ntqapplication.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqtimer.h" #include "ntqstringlist.h" #include "ntqstyle.h" diff --git a/src/widgets/qlistview.cpp b/src/widgets/qlistview.cpp index 599c9943..91a62c7d 100644 --- a/src/widgets/qlistview.cpp +++ b/src/widgets/qlistview.cpp @@ -44,14 +44,14 @@ #include "ntqheader.h" #include "ntqpainter.h" #include "ntqcursor.h" -#include "ntqptrstack.h" -#include "ntqptrlist.h" +#include "tqptrstack.h" +#include "tqptrlist.h" #include "ntqstrlist.h" #include "ntqapplication.h" #include "ntqbitmap.h" #include "ntqdatetime.h" -#include "ntqptrdict.h" -#include "ntqptrvector.h" +#include "tqptrdict.h" +#include "tqptrvector.h" #include "ntqiconset.h" #include "ntqcleanuphandler.h" #include "ntqpixmapcache.h" diff --git a/src/widgets/qmainwindow.cpp b/src/widgets/qmainwindow.cpp index 3510c829..da20228b 100644 --- a/src/widgets/qmainwindow.cpp +++ b/src/widgets/qmainwindow.cpp @@ -46,7 +46,7 @@ #include "tqobjectlist.h" #include "ntqintdict.h" #include "ntqapplication.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "tqmap.h" #include "ntqcursor.h" #include "ntqpainter.h" diff --git a/src/widgets/qscrollview.cpp b/src/widgets/qscrollview.cpp index 8b9981ff..a9ce4f87 100644 --- a/src/widgets/qscrollview.cpp +++ b/src/widgets/qscrollview.cpp @@ -47,7 +47,7 @@ #include "ntqcursor.h" #include "ntqfocusdata.h" #include "ntqscrollview.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqapplication.h" #include "ntqtimer.h" #include "ntqstyle.h" diff --git a/src/widgets/qsplitter.cpp b/src/widgets/qsplitter.cpp index 33e5250b..3e261f28 100644 --- a/src/widgets/qsplitter.cpp +++ b/src/widgets/qsplitter.cpp @@ -49,7 +49,7 @@ #include "ntqmemarray.h" #include "tqobjectlist.h" #include "ntqpainter.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqstyle.h" const uint Default = QT_QSPLITTER_DEFAULT; diff --git a/src/widgets/qstatusbar.cpp b/src/widgets/qstatusbar.cpp index f5830d4b..b0f0b1ea 100644 --- a/src/widgets/qstatusbar.cpp +++ b/src/widgets/qstatusbar.cpp @@ -41,7 +41,7 @@ #include "ntqstatusbar.h" #ifndef TQT_NO_STATUSBAR -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqlayout.h" #include "ntqpainter.h" #include "ntqtimer.h" diff --git a/src/widgets/qtextedit.cpp b/src/widgets/qtextedit.cpp index fcb39a7f..0fb328bf 100644 --- a/src/widgets/qtextedit.cpp +++ b/src/widgets/qtextedit.cpp @@ -71,7 +71,7 @@ #include "ntqcursor.h" #include "ntqregexp.h" #include "ntqpopupmenu.h" -#include "ntqptrstack.h" +#include "tqptrstack.h" #include "ntqmetaobject.h" #include "ntqtextbrowser.h" #include diff --git a/src/widgets/qtooltip.cpp b/src/widgets/qtooltip.cpp index d576d203..a9f9624f 100644 --- a/src/widgets/qtooltip.cpp +++ b/src/widgets/qtooltip.cpp @@ -39,7 +39,7 @@ #include "ntqtooltip.h" #ifndef TQT_NO_TOOLTIP #include "ntqlabel.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqapplication.h" #include "ntqguardedptr.h" #include "ntqtimer.h" diff --git a/src/widgets/qwhatsthis.cpp b/src/widgets/qwhatsthis.cpp index 086c3f0c..41cb9fd8 100644 --- a/src/widgets/qwhatsthis.cpp +++ b/src/widgets/qwhatsthis.cpp @@ -43,7 +43,7 @@ #include "ntqpixmap.h" #include "ntqpainter.h" #include "ntqtimer.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #include "ntqtoolbutton.h" #include "ntqshared.h" #include "ntqcursor.h" diff --git a/src/widgets/tqwidgetstack.h b/src/widgets/tqwidgetstack.h index 4967804c..774ccb45 100644 --- a/src/widgets/tqwidgetstack.h +++ b/src/widgets/tqwidgetstack.h @@ -44,7 +44,7 @@ #ifndef QT_H #include "ntqframe.h" #include "ntqintdict.h" -#include "ntqptrdict.h" +#include "tqptrdict.h" #endif // QT_H #ifndef TQT_NO_WIDGETSTACK diff --git a/src/xml/tqdom.cpp b/src/xml/tqdom.cpp index 1abd76bc..4feaf47a 100644 --- a/src/xml/tqdom.cpp +++ b/src/xml/tqdom.cpp @@ -43,7 +43,7 @@ #ifndef TQT_NO_DOM #include "tqxml.h" -#include "ntqptrlist.h" +#include "tqptrlist.h" #include "ntqdict.h" #include "ntqtextstream.h" #include "ntqtextcodec.h" diff --git a/src/xml/tqxml.cpp b/src/xml/tqxml.cpp index a0d3f7f1..4a2b8615 100644 --- a/src/xml/tqxml.cpp +++ b/src/xml/tqxml.cpp @@ -42,7 +42,7 @@ #include "ntqtextcodec.h" #include "ntqbuffer.h" #include "ntqregexp.h" -#include "ntqptrstack.h" +#include "tqptrstack.h" #include "tqmap.h" #include "tqvaluestack.h" diff --git a/tools/assistant/docuparser.h b/tools/assistant/docuparser.h index f27957cc..f09b913d 100644 --- a/tools/assistant/docuparser.h +++ b/tools/assistant/docuparser.h @@ -35,7 +35,7 @@ #define DOCUPARSER_H #include -#include +#include #include class Profile; diff --git a/tools/assistant/helpdialogimpl.cpp b/tools/assistant/helpdialogimpl.cpp index a75573f3..0e8623b9 100644 --- a/tools/assistant/helpdialogimpl.cpp +++ b/tools/assistant/helpdialogimpl.cpp @@ -52,8 +52,8 @@ #include #include #include -#include -#include +#include +#include #include #include #include diff --git a/tools/assistant/main.cpp b/tools/assistant/main.cpp index 4f7d21b9..85d2ade0 100644 --- a/tools/assistant/main.cpp +++ b/tools/assistant/main.cpp @@ -39,7 +39,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/tools/assistant/mainwindow.ui b/tools/assistant/mainwindow.ui index b4ffa8f4..bd353eaa 100644 --- a/tools/assistant/mainwindow.ui +++ b/tools/assistant/mainwindow.ui @@ -596,7 +596,7 @@ ntqsettings.h ntqcheckbox.h tabbedbrowser.h - ntqptrlist.h + tqptrlist.h ntqguardedptr.h tqmap.h finddialog.h diff --git a/tools/assistant/settingsdialogimpl.cpp b/tools/assistant/settingsdialogimpl.cpp index 5cf462b4..2e4257ab 100644 --- a/tools/assistant/settingsdialogimpl.cpp +++ b/tools/assistant/settingsdialogimpl.cpp @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/tools/assistant/settingsdialogimpl.h b/tools/assistant/settingsdialogimpl.h index 6402dc61..24f105d2 100644 --- a/tools/assistant/settingsdialogimpl.h +++ b/tools/assistant/settingsdialogimpl.h @@ -37,7 +37,7 @@ #include "settingsdialog.h" #include -#include +#include #include class SettingsDialog : public SettingsDialogBase diff --git a/tools/designer/designer/actiondnd.h b/tools/designer/designer/actiondnd.h index 29d454a0..9f03b2f4 100644 --- a/tools/designer/designer/actiondnd.h +++ b/tools/designer/designer/actiondnd.h @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include #include #include "../shared/widgetdatabase.h" diff --git a/tools/designer/designer/command.cpp b/tools/designer/designer/command.cpp index 8eb22fb3..51bb600a 100644 --- a/tools/designer/designer/command.cpp +++ b/tools/designer/designer/command.cpp @@ -55,7 +55,7 @@ #include #include #include -#include +#include #include #include #ifndef TQT_NO_TABLE diff --git a/tools/designer/designer/command.h b/tools/designer/designer/command.h index 5bc5fd20..74f5ec88 100644 --- a/tools/designer/designer/command.h +++ b/tools/designer/designer/command.h @@ -43,7 +43,7 @@ #include #include #include -#include +#include #include #include diff --git a/tools/designer/designer/connectiondialog.ui b/tools/designer/designer/connectiondialog.ui index b938be93..fb56606a 100644 --- a/tools/designer/designer/connectiondialog.ui +++ b/tools/designer/designer/connectiondialog.ui @@ -199,7 +199,7 @@ - ntqptrlist.h + tqptrlist.h connectionitems.h connectiondialog.ui.h diff --git a/tools/designer/designer/dbconnectionsimpl.cpp b/tools/designer/designer/dbconnectionsimpl.cpp index 8aaf4521..c08e9554 100644 --- a/tools/designer/designer/dbconnectionsimpl.cpp +++ b/tools/designer/designer/dbconnectionsimpl.cpp @@ -32,7 +32,7 @@ **********************************************************************/ #include "dbconnectionsimpl.h" -#include +#include #include #include #include "project.h" diff --git a/tools/designer/designer/formwindow.h b/tools/designer/designer/formwindow.h index a934bcdb..7fd0e5ff 100644 --- a/tools/designer/designer/formwindow.h +++ b/tools/designer/designer/formwindow.h @@ -40,7 +40,7 @@ #include "actiondnd.h" #include -#include +#include #include #include #include diff --git a/tools/designer/designer/listboxdnd.h b/tools/designer/designer/listboxdnd.h index 546f6a2a..745d899e 100644 --- a/tools/designer/designer/listboxdnd.h +++ b/tools/designer/designer/listboxdnd.h @@ -34,7 +34,7 @@ #ifndef LISTBOXDND_H #define LISTBOXDND_H -#include +#include #include #include "listdnd.h" diff --git a/tools/designer/designer/listviewdnd.h b/tools/designer/designer/listviewdnd.h index a58773d7..2f79f1ad 100644 --- a/tools/designer/designer/listviewdnd.h +++ b/tools/designer/designer/listviewdnd.h @@ -34,7 +34,7 @@ #ifndef LISTVIEWDND_H #define LISTVIEWDND_H -#include +#include #include #include "listdnd.h" diff --git a/tools/designer/designer/listvieweditorimpl.cpp b/tools/designer/designer/listvieweditorimpl.cpp index b8cef906..9bce2ffa 100644 --- a/tools/designer/designer/listvieweditorimpl.cpp +++ b/tools/designer/designer/listvieweditorimpl.cpp @@ -49,7 +49,7 @@ #include #include #include -#include +#include ListViewEditor::ListViewEditor( TQWidget *parent, TQListView *lv, FormWindow *fw ) : ListViewEditorBase( parent, 0, TRUE ), listview( lv ), formwindow( fw ) diff --git a/tools/designer/designer/menubareditor.h b/tools/designer/designer/menubareditor.h index f1d87f20..ccb90574 100644 --- a/tools/designer/designer/menubareditor.h +++ b/tools/designer/designer/menubareditor.h @@ -35,7 +35,7 @@ #define MENUBAREDITOR_H #include -#include +#include class PopupMenuEditor; class MenuBarEditor; diff --git a/tools/designer/designer/metadatabase.cpp b/tools/designer/designer/metadatabase.cpp index 1f0b9782..e533d350 100644 --- a/tools/designer/designer/metadatabase.cpp +++ b/tools/designer/designer/metadatabase.cpp @@ -44,7 +44,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/tools/designer/designer/metadatabase.h b/tools/designer/designer/metadatabase.h index 269d829c..9e516504 100644 --- a/tools/designer/designer/metadatabase.h +++ b/tools/designer/designer/metadatabase.h @@ -38,7 +38,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/tools/designer/designer/popupmenueditor.h b/tools/designer/designer/popupmenueditor.h index 306629ba..b60a22c3 100644 --- a/tools/designer/designer/popupmenueditor.h +++ b/tools/designer/designer/popupmenueditor.h @@ -35,7 +35,7 @@ #define POPUPMENUEDITOR_H #include -#include +#include #include class PopupMenuEditor; diff --git a/tools/designer/designer/project.h b/tools/designer/designer/project.h index ceb42afc..e39a8256 100644 --- a/tools/designer/designer/project.h +++ b/tools/designer/designer/project.h @@ -38,14 +38,14 @@ #include #include -#include +#include #include #include #include "../interfaces/projectsettingsiface.h" #include "sourcefile.h" #include "formfile.h" #include -#include +#include #include "formfile.h" class TQObjectList; diff --git a/tools/designer/designer/propertyeditor.h b/tools/designer/designer/propertyeditor.h index 45f22481..ca3b426f 100644 --- a/tools/designer/designer/propertyeditor.h +++ b/tools/designer/designer/propertyeditor.h @@ -37,11 +37,11 @@ #include #include #include -#include +#include #include #include #include -#include +#include #include #include #include diff --git a/tools/designer/designer/propertyobject.cpp b/tools/designer/designer/propertyobject.cpp index 3244ec52..61c789d2 100644 --- a/tools/designer/designer/propertyobject.cpp +++ b/tools/designer/designer/propertyobject.cpp @@ -33,8 +33,8 @@ #include "propertyobject.h" #include "metadatabase.h" -#include -#include +#include +#include #include #include diff --git a/tools/designer/designer/sizehandle.h b/tools/designer/designer/sizehandle.h index 7027736b..8760afc7 100644 --- a/tools/designer/designer/sizehandle.h +++ b/tools/designer/designer/sizehandle.h @@ -36,7 +36,7 @@ #include #include -#include +#include class TQMouseEvent; class FormWindow; diff --git a/tools/designer/designer/startdialogimpl.cpp b/tools/designer/designer/startdialogimpl.cpp index aec2362b..e254396f 100644 --- a/tools/designer/designer/startdialogimpl.cpp +++ b/tools/designer/designer/startdialogimpl.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include #include diff --git a/tools/designer/designer/widgetfactory.h b/tools/designer/designer/widgetfactory.h index dc1ee3d2..1220d81c 100644 --- a/tools/designer/designer/widgetfactory.h +++ b/tools/designer/designer/widgetfactory.h @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/tools/designer/designer/wizardeditorimpl.h b/tools/designer/designer/wizardeditorimpl.h index c8326893..99c402e3 100644 --- a/tools/designer/designer/wizardeditorimpl.h +++ b/tools/designer/designer/wizardeditorimpl.h @@ -37,7 +37,7 @@ class TQWizard; class FormWindow; -#include +#include #include "wizardeditor.h" #include "command.h" diff --git a/tools/designer/interfaces/designerinterface.h b/tools/designer/interfaces/designerinterface.h index 10084beb..aa81f68a 100644 --- a/tools/designer/interfaces/designerinterface.h +++ b/tools/designer/interfaces/designerinterface.h @@ -48,7 +48,7 @@ // #include -#include +#include #include #include #include diff --git a/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp b/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp index e9230192..dc52d1e4 100644 --- a/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp +++ b/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp @@ -35,7 +35,7 @@ #include "kdevdlg2ui.h" #include #include -#include +#include /// some little helpers /// diff --git a/tools/designer/uilib/tqwidgetfactory.h b/tools/designer/uilib/tqwidgetfactory.h index a188c0be..80df0bbb 100644 --- a/tools/designer/uilib/tqwidgetfactory.h +++ b/tools/designer/uilib/tqwidgetfactory.h @@ -36,7 +36,7 @@ #ifndef QT_H #include -#include +#include #include #include #include diff --git a/tools/linguist/linguist/listviews.h b/tools/linguist/linguist/listviews.h index 62bc4294..65a296bf 100644 --- a/tools/linguist/linguist/listviews.h +++ b/tools/linguist/linguist/listviews.h @@ -37,7 +37,7 @@ #include "msgedit.h" #include -#include +#include #include #include diff --git a/tools/linguist/linguist/trwindow.h b/tools/linguist/linguist/trwindow.h index 82fc4ec1..f702b7f0 100644 --- a/tools/linguist/linguist/trwindow.h +++ b/tools/linguist/linguist/trwindow.h @@ -39,7 +39,7 @@ #include #include -#include +#include #include #include #include diff --git a/tools/qembed/qembed.cpp b/tools/qembed/qembed.cpp index d13cf46a..978a4f3d 100644 --- a/tools/qembed/qembed.cpp +++ b/tools/qembed/qembed.cpp @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include #include