summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/ntqfeatures.h9
-rw-r--r--src/tools/ntqsortedlist.h63
-rw-r--r--src/tools/qconfig-medium.h2
-rw-r--r--src/tools/qconfig-minimal.h1
-rw-r--r--src/tools/qconfig-small.h2
-rw-r--r--src/tools/qfeatures.txt10
-rw-r--r--src/tools/qt_tools.pri1
7 files changed, 4 insertions, 84 deletions
diff --git a/src/tools/ntqfeatures.h b/src/tools/ntqfeatures.h
index 9bc4921af..66fc95fcf 100644
--- a/src/tools/ntqfeatures.h
+++ b/src/tools/ntqfeatures.h
@@ -307,11 +307,6 @@
#define TQT_NO_REGEXP_WILDCARD
#endif
-// Semi-modal dialogs
-#if !defined(TQT_NO_SEMIMODAL) && (defined(TQT_NO_DIALOG))
-#define TQT_NO_SEMIMODAL
-#endif
-
// Session management
#if !defined(TQT_NO_SESSIONMANAGER) && (defined(TQT_NO_STRINGLIST))
#define TQT_NO_SESSIONMANAGER
@@ -853,7 +848,7 @@
#endif
// TQProgressDialog
-#if !defined(TQT_NO_PROGRESSDIALOG) && (defined(TQT_NO_SEMIMODAL) || defined(TQT_NO_LABEL) || defined(TQT_NO_PUSHBUTTON) || defined(TQT_NO_PROGRESSBAR))
+#if !defined(TQT_NO_PROGRESSDIALOG) && (defined(TQT_NO_DIALOG) || defined(TQT_NO_LABEL) || defined(TQT_NO_PUSHBUTTON) || defined(TQT_NO_PROGRESSBAR))
#define TQT_NO_PROGRESSDIALOG
#endif
@@ -968,7 +963,7 @@
#endif
// TQFileDialog
-#if !defined(TQT_NO_FILEDIALOG) && (defined(TQT_NO_MESSAGEBOX) || defined(TQT_NO_LISTVIEW) || defined(TQT_NO_NETWORKPROTOCOL) || defined(TQT_NO_COMBOBOX) || defined(TQT_NO_SEMIMODAL) || defined(TQT_NO_REGEXP_CAPTURE) || defined(TQT_NO_TOOLBUTTON) || defined(TQT_NO_BUTTONGROUP) || defined(TQT_NO_VBOX) || defined(TQT_NO_SPLITTER) || defined(TQT_NO_PROGRESSBAR) || defined(TQT_NO_WIDGETSTACK) || defined(TQT_NO_DATESTRING))
+#if !defined(TQT_NO_FILEDIALOG) && (defined(TQT_NO_MESSAGEBOX) || defined(TQT_NO_LISTVIEW) || defined(TQT_NO_NETWORKPROTOCOL) || defined(TQT_NO_COMBOBOX) || defined(TQT_NO_DIALOG) || defined(TQT_NO_REGEXP_CAPTURE) || defined(TQT_NO_TOOLBUTTON) || defined(TQT_NO_BUTTONGROUP) || defined(TQT_NO_VBOX) || defined(TQT_NO_SPLITTER) || defined(TQT_NO_PROGRESSBAR) || defined(TQT_NO_WIDGETSTACK) || defined(TQT_NO_DATESTRING))
#define TQT_NO_FILEDIALOG
#endif
diff --git a/src/tools/ntqsortedlist.h b/src/tools/ntqsortedlist.h
deleted file mode 100644
index 5923e3f17..000000000
--- a/src/tools/ntqsortedlist.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/****************************************************************************
-**
-** Definition of TQSortedList template/macro class
-**
-** Created : 920701
-**
-** Copyright (C) 1992-2008 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 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.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
diff --git a/src/tools/qconfig-medium.h b/src/tools/qconfig-medium.h
index 23a305738..17416abf4 100644
--- a/src/tools/qconfig-medium.h
+++ b/src/tools/qconfig-medium.h
@@ -60,8 +60,6 @@
/* #define TQT_NO_DIALOG */
-#define TQT_NO_SEMIMODAL
-
#define TQT_NO_EFFECTS
#define TQT_NO_COP
diff --git a/src/tools/qconfig-minimal.h b/src/tools/qconfig-minimal.h
index 4a4b87899..7d5305e69 100644
--- a/src/tools/qconfig-minimal.h
+++ b/src/tools/qconfig-minimal.h
@@ -53,7 +53,6 @@
#define TQT_NO_BUTTON
#define TQT_NO_DIALOG
#define TQT_NO_FRAME
-#define TQT_NO_SEMIMODAL
#define TQT_NO_STYLE
#define TQT_NO_EFFECTS
diff --git a/src/tools/qconfig-small.h b/src/tools/qconfig-small.h
index 4190ec926..f89fb8d1c 100644
--- a/src/tools/qconfig-small.h
+++ b/src/tools/qconfig-small.h
@@ -44,8 +44,6 @@
#define TQT_NO_DIALOG
-#define TQT_NO_SEMIMODAL
-
/* #define TQT_NO_STYLE //will require substantial work... */
#define TQT_NO_EFFECTS
diff --git a/src/tools/qfeatures.txt b/src/tools/qfeatures.txt
index af6f62046..0aa3cf785 100644
--- a/src/tools/qfeatures.txt
+++ b/src/tools/qfeatures.txt
@@ -798,12 +798,6 @@ Requires:
Name: Dialogs
SeeAlso: ???
-Feature: SEMIMODAL
-Section: Widgets
-Requires: DIALOG
-Name: Semi-modal dialogs
-SeeAlso: ???
-
Feature: FRAME
Section: Widgets
Requires: STYLE
@@ -1233,7 +1227,7 @@ SeeAlso: ???
Feature: FILEDIALOG
Section: Widgets
-Requires: MESSAGEBOX LISTVIEW NETWORKPROTOCOL COMBOBOX SEMIMODAL REGEXP_CAPTURE TOOLBUTTON BUTTONGROUP VBOX SPLITTER PROGRESSBAR WIDGETSTACK DATESTRING
+Requires: MESSAGEBOX LISTVIEW NETWORKPROTOCOL COMBOBOX DIALOG REGEXP_CAPTURE TOOLBUTTON BUTTONGROUP VBOX SPLITTER PROGRESSBAR WIDGETSTACK DATESTRING
Name: QFileDialog
SeeAlso: ???
@@ -1251,7 +1245,7 @@ SeeAlso: ???
Feature: PROGRESSDIALOG
Section: Widgets
-Requires: SEMIMODAL LABEL PUSHBUTTON PROGRESSBAR
+Requires: DIALOG LABEL PUSHBUTTON PROGRESSBAR
Name: QProgressDialog
SeeAlso: ???
diff --git a/src/tools/qt_tools.pri b/src/tools/qt_tools.pri
index 175cc88e4..7153653b8 100644
--- a/src/tools/qt_tools.pri
+++ b/src/tools/qt_tools.pri
@@ -50,7 +50,6 @@ tools {
$$TOOLS_H/ntqsettings.h \
$$TOOLS_P/qsettings_p.h \
$$TOOLS_H/ntqshared.h \
- $$TOOLS_H/ntqsortedlist.h \
$$TOOLS_H/ntqptrstack.h \
$$TOOLS_H/ntqstring.h \
$$TOOLS_H/ntqstringlist.h \