From bfd62a0bbfd44ce5f7530fc7bb624dd911f9033a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jul 2023 17:00:23 +0900 Subject: Drop Qt2's TQSemiModal and TQSortedList classes Signed-off-by: Michele Calgaro --- doc/classchart.doc | 1 - doc/html/classchart.html | 1 - doc/html/functions.html | 2 +- doc/html/headers.html | 1 - doc/html/hierarchy.html | 1 - doc/html/index | 2 - doc/html/ntqptrlist.html | 5 +- doc/html/ntqsortedlist.html | 95 --------------------------------- doc/html/qprogressdialog-h.html | 1 - doc/html/qsortedlist-h.html | 108 -------------------------------------- doc/html/qsortedlist-members.html | 90 ------------------------------- doc/html/qt.dcf | 6 --- doc/html/titleindex | 3 -- doc/man/man3/tqptrlist.3qt | 4 +- doc/qptrlist.doc | 4 -- doc/qsortedlist.doc | 91 -------------------------------- 16 files changed, 3 insertions(+), 412 deletions(-) delete mode 100644 doc/html/ntqsortedlist.html delete mode 100644 doc/html/qsortedlist-h.html delete mode 100644 doc/html/qsortedlist-members.html delete mode 100644 doc/qsortedlist.doc (limited to 'doc') diff --git a/doc/classchart.doc b/doc/classchart.doc index 25b1f37bb..ea456773d 100644 --- a/doc/classchart.doc +++ b/doc/classchart.doc @@ -327,7 +327,6 @@ - diff --git a/doc/html/classchart.html b/doc/html/classchart.html index f1b8d2e59..b4e761514 100644 --- a/doc/html/classchart.html +++ b/doc/html/classchart.html @@ -317,7 +317,6 @@ body { background: #ffffff; color: black; } - diff --git a/doc/html/functions.html b/doc/html/functions.html index 9a1d73f3c..d228d3385 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -1895,7 +1895,7 @@ object: 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 TQSortedList TQSqlCursor TQSqlError TQSqlField TQSqlFieldInfo TQSqlIndex TQSqlQuery TQSqlRecord TQStrList TQString TQStyleSheetItem TQTranslatorMessage TQUrl TQUrlInfo TQUuid TQValueList TQValueVector TQVariant
  • 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>>: diff --git a/doc/html/headers.html b/doc/html/headers.html index 13887d3e7..d72284a28 100644 --- a/doc/html/headers.html +++ b/doc/html/headers.html @@ -221,7 +221,6 @@ body { background: #ffffff; color: black; }
  • ntqsocket.h
  • ntqsocketdevice.h
  • ntqsocketnotifier.h -
  • ntqsortedlist.h
  • ntqsound.h
  • ntqspinbox.h
  • ntqsplashscreen.h diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html index 1c3cf4366..dbbdb5560 100644 --- a/doc/html/hierarchy.html +++ b/doc/html/hierarchy.html @@ -204,7 +204,6 @@ classes in the TQt API.
  • TQPtrList
    • TQObjectList -
    • TQSortedList
    • TQStrList
      • TQStrIList diff --git a/doc/html/index b/doc/html/index index bf0fbc87d..25e358ea8 100644 --- a/doc/html/index +++ b/doc/html/index @@ -5684,8 +5684,6 @@ "QSocketNotifier::socket" ntqsocketnotifier.html#socket "QSocketNotifier::type" ntqsocketnotifier.html#type "QSocketNotifier::~QSocketNotifier" ntqsocketnotifier.html#~QSocketNotifier -"QSortedList::operator=" ntqsortedlist.html#operator-eq -"QSortedList::~QSortedList" ntqsortedlist.html#~QSortedList "QSound" ntqsound.html "QSound::available" ntqsound.html#available "QSound::fileName" ntqsound.html#fileName diff --git a/doc/html/ntqptrlist.html b/doc/html/ntqptrlist.html index 305b49949..9307d8396 100644 --- a/doc/html/ntqptrlist.html +++ b/doc/html/ntqptrlist.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } More...

        #include <ntqptrlist.h>

        Inherits TQPtrCollection. -

        Inherited by TQObjectList, TQSortedList, and TQStrList. +

        Inherited by TQObjectList and TQStrList.

        List of all member functions.

        Public Members

          @@ -660,9 +660,6 @@ function.

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

          If the items in your list support operator<() and operator==(), -you might be better off with TQSortedList because it implements the -compareItems() function for you using these two operators.

          See also inSort().

          type * TQPtrList::take ( uint index ) diff --git a/doc/html/ntqsortedlist.html b/doc/html/ntqsortedlist.html deleted file mode 100644 index a8880cf5a..000000000 --- a/doc/html/ntqsortedlist.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - -TQSortedList Class - - - - - - - -
          - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

          TQSortedList Class Reference
          [obsolete]

          - -

          The TQSortedList class provides a list sorted by operator< and operator==. -More... -

          #include <ntqsortedlist.h> -

          Inherits TQPtrList<type>. -

          List of all member functions. -

          Public Members

          - -

          Detailed Description

          - - -The TQSortedList class provides a list sorted by operator< and operator==. -

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

          If you want to sort a TQPtrList you have to reimplement the -TQGList::compareItems() method. If the elements of your list support -operator<() and operator==(), you can use TQSortedList instead. -Its compareItems() calls operator<() and operator==() and returns an -appropriate result. -

          Otherwise, this is as TQPtrList. -

          See also TQPtrList. - -


          Member Function Documentation

          -

          TQSortedList::TQSortedList () -

          - -Constructs an empty list. - -

          TQSortedList::TQSortedList ( const TQSortedList<type> & list ) -

          - -Constructs a copy of list. -

          Each item in list is copied to this new list. - -

          TQSortedList::~TQSortedList () -

          - -Removes all items from the list and destroys the list. -

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

          TQSortedList<type> & TQSortedList::operator= ( const TQSortedList<type> & list ) -

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

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


          -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


          - -
          Copyright © 2007 -TrolltechTrademarks -
          TQt 3.3.8
          -
          - diff --git a/doc/html/qprogressdialog-h.html b/doc/html/qprogressdialog-h.html index 68f68de08..b86a9c247 100644 --- a/doc/html/qprogressdialog-h.html +++ b/doc/html/qprogressdialog-h.html @@ -78,7 +78,6 @@ body { background: #ffffff; color: black; } #define TQPROGRESSDIALOG_H #ifndef QT_H -#include "ntqsemimodal.h" #include "ntqlabel.h" // ### remove or keep for users' convenience? #include "ntqprogressbar.h" // ### remove or keep for users' convenience? #endif // QT_H diff --git a/doc/html/qsortedlist-h.html b/doc/html/qsortedlist-h.html deleted file mode 100644 index 9acb1a10a..000000000 --- a/doc/html/qsortedlist-h.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - -ntqsortedlist.h Include File - - - - - - - -
          - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

          ntqsortedlist.h

          - -

          This is the verbatim text of the ntqsortedlist.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


          -
          -/****************************************************************************
          -** $Id: qt/ntqsortedlist.h   3.3.8   edited Jan 11 14:38 $
          -**
          -** Definition of TQSortedList template/macro class
          -**
          -** Created : 920701
          -**
          -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
          -**
          -** This file is part of the tools module of the TQt GUI Toolkit.
          -**
          -** This file may be used under the terms of the GNU General Public
          -** License versions 2.0 or 3.0 as published by the Free Software
          -** Foundation and appearing in the file LICENSE.GPL included in the
          -** packaging of this file. Alternatively you may (at your option) use any
          -** later version of the GNU General Public License if such license has
          -** been publicly approved by Trolltech ASA (or its successors, if any)
          -** and the KDE Free TQt Foundation.
          -**
          -** Please review the following information to ensure GNU General
          -** Public Licensing requirements will be met:
          -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
          -** If you are unsure which license is appropriate for your use, please
          -** review the following information:
          -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
          -** or contact the sales department at sales@trolltech.com.
          -**
          -** This file may be used under the terms of the Q Public License as
          -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
          -** included in the packaging of this file.  Licensees holding valid TQt
          -** Commercial licenses may use this file in accordance with the TQt
          -** Commercial License Agreement provided with the Software.
          -**
          -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
          -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
          -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
          -** herein.
          -**
          -**********************************************************************/
          -
          -#ifndef TQSORTEDLIST_H
          -#define TQSORTEDLIST_H
          -
          -#ifndef QT_H
          -#include "ntqptrlist.h"
          -#endif // QT_H
          -
          -
          -template<class type> 
          -class TQSortedList : public TQPtrList<type>
          -{
          -public:
          -    TQSortedList() {}
          -    TQSortedList( const TQSortedList<type> &l ) : TQPtrList<type>(l) {}
          -    ~TQSortedList() { this->clear(); }
          -    TQSortedList<type> &operator=(const TQSortedList<type> &l)
          -      { return (TQSortedList<type>&)TQPtrList<type>::operator=(l); }
          -
          -    virtual int compareItems( TQPtrCollection::Item s1, TQPtrCollection::Item s2 )
          -      { if ( *((type*)s1) == *((type*)s2) ) return 0; return ( *((type*)s1) < *((type*)s2) ? -1 : 1 ); }
          -};
          -
          -#endif
          -
          - -


          - -
          Copyright © 2007 -TrolltechTrademarks -
          TQt 3.3.8
          -
          - diff --git a/doc/html/qsortedlist-members.html b/doc/html/qsortedlist-members.html deleted file mode 100644 index 3c3459658..000000000 --- a/doc/html/qsortedlist-members.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - -TQSortedList Member List - - - - - - - -
          - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

          Complete Member List for TQSortedList

          - -

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

          - -


          - -
          Copyright © 2007 -TrolltechTrademarks -
          TQt 3.3.8
          -
          - diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf index bf7f26907..a2841946e 100644 --- a/doc/html/qt.dcf +++ b/doc/html/qt.dcf @@ -6716,12 +6716,6 @@
          -
          - operator= - ~QSortedList -
          -
          -
          QSound available diff --git a/doc/html/titleindex b/doc/html/titleindex index 264d671b1..e91d005a9 100644 --- a/doc/html/titleindex +++ b/doc/html/titleindex @@ -769,8 +769,6 @@ QSocketDevice Class | ntqsocketdevice.html QSocketDevice Member List | qsocketdevice-members.html QSocketNotifier Class | ntqsocketnotifier.html QSocketNotifier Member List | qsocketnotifier-members.html -QSortedList Class | ntqsortedlist.html -QSortedList Member List | qsortedlist-members.html QSound Class | ntqsound.html QSound Member List | qsound-members.html QSpacerItem Class | qspaceritem.html @@ -1354,7 +1352,6 @@ ntqslider.h Include File | qslider-h.html ntqsocket.h Include File | qsocket-h.html ntqsocketdevice.h Include File | qsocketdevice-h.html ntqsocketnotifier.h Include File | qsocketnotifier-h.html -ntqsortedlist.h Include File | qsortedlist-h.html ntqsound.h Include File | qsound-h.html ntqspinbox.h Include File | qspinbox-h.html ntqsplashscreen.h Include File | qsplashscreen-h.html diff --git a/doc/man/man3/tqptrlist.3qt b/doc/man/man3/tqptrlist.3qt index 8546949f6..8d5b379df 100644 --- a/doc/man/man3/tqptrlist.3qt +++ b/doc/man/man3/tqptrlist.3qt @@ -13,7 +13,7 @@ QPtrList \- Template class that provides a list .PP Inherits QPtrCollection. .PP -Inherited by QObjectList, QSortedList, and QStrList. +Inherited by QObjectList and QStrList. .PP .SS "Public Members" .in +1c @@ -641,8 +641,6 @@ 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 -If the items in your list support operator<() and operator==(), you might be better off with QSortedList because it implements the compareItems() function for you using these two operators. -.PP See also inSort(). .SH "type * QPtrList::take ( uint index )" Takes the item at position \fIindex\fR out of the list without deleting it (even if auto-deletion is enabled). diff --git a/doc/qptrlist.doc b/doc/qptrlist.doc index 2d753f69f..7b784a66a 100644 --- a/doc/qptrlist.doc +++ b/doc/qptrlist.doc @@ -238,10 +238,6 @@ O(n*log n) comparisons. This is the asymptotic optimal solution of the sorting problem. - If the items in your list support operator<() and operator==(), - you might be better off with QSortedList because it implements the - compareItems() function for you using these two operators. - \sa inSort() */ diff --git a/doc/qsortedlist.doc b/doc/qsortedlist.doc deleted file mode 100644 index 06cd0e4f4..000000000 --- a/doc/qsortedlist.doc +++ /dev/null @@ -1,91 +0,0 @@ -/**************************************************************************** -** -** QSortedList documentation -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of the TQt GUI Toolkit. -** -** This file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free -** Software Foundation and appearing in the files LICENSE.GPL2 -** and LICENSE.GPL3 included in the packaging of this file. -** Alternatively you may (at your option) use any later version -** of the GNU General Public License if such license has been -** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free TQt Foundation. -** -** Please review the following information to ensure GNU General -** Public Licensing requirements will be met: -** http://trolltech.com/products/qt/licenses/licensing/opensource/. -** If you are unsure which license is appropriate for your use, please -** review the following information: -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview -** or contact the sales department at sales@trolltech.com. -** -** This file may be used under the terms of the Q Public License as -** defined by Trolltech ASA and appearing in the file LICENSE.QPL -** included in the packaging of this file. Licensees holding valid Qt -** Commercial licenses may use this file in accordance with the Qt -** Commercial License Agreement provided with the Software. -** -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted -** herein. -** -**********************************************************************/ - -/*! - \class QSortedList ntqsortedlist.h - \brief The QSortedList class provides a list sorted by operator< and operator==. - - \obsolete - - If you want to sort a QPtrList you have to reimplement the - QGList::compareItems() method. If the elements of your list support - operator<() and operator==(), you can use QSortedList instead. - Its compareItems() calls operator<() and operator==() and returns an - appropriate result. - - Otherwise, this is as QPtrList. - - \sa QPtrList -*/ - - -/*! - \fn QSortedList::QSortedList() - Constructs an empty list. -*/ - -/*! - \fn QSortedList::QSortedList( const QSortedList &list ) - Constructs a copy of \a list. - - Each item in \a list is copied to this new list. -*/ - -/*! - \fn QSortedList::~QSortedList() - Removes all items from the list and destroys the list. - - All list iterators that access this list will be reset. -*/ - -/*! - \fn QSortedList& QSortedList::operator=(const QSortedList& list) - Assigns \a list to this list and returns a reference to this list. - - This list is first cleared; each item in \a list is then - appended to this list. Only the pointers are copied - (shallow copy) unless newItem() has been reimplemented(). -*/ - -/*! - \fn int QSortedList::compareItems( QPtrCollection::Item s1, QPtrCollection::Item s2 ) - - \reimp - - This reimplementation uses operator< and operator== to compare. -*/ -- cgit v1.2.1