summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-06-19 13:15:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-06-19 13:15:32 +0900
commita9bbaa83cc3c2e3291786ef7f80e834a3e81ae44 (patch)
treea1d88ea89501a391df32e27b66d961906ccfeaee
parentfded56123903e0a8d9e076b1a6a9a52374c3649d (diff)
downloadkoffice-a9bbaa83.tar.gz
koffice-a9bbaa83.zip
Drop Qt2's TQSortedList class
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp6
-rw-r--r--chalk/ui/kcurve.h2
-rw-r--r--filters/kpresenter/kword/kprkword.cpp4
-rw-r--r--filters/kspread/gnumeric/gnumericexport.cpp1
-rw-r--r--kivio/kiviopart/kivio_page.cpp2
5 files changed, 7 insertions, 8 deletions
diff --git a/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp b/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp
index ed2cf82aa..37c0815ea 100644
--- a/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp
+++ b/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp
@@ -39,7 +39,7 @@
KisPerChannelFilterConfiguration::KisPerChannelFilterConfiguration(int n)
: KisFilterConfiguration( "perchannel", 1 )
{
- curves = new TQSortedList<TQPair<double,double> >[n];
+ curves = new TQPtrList<TQPair<double,double> >[n];
for(int i=0;i<n;i++) {
transfers[i] = new TQ_UINT16[256];
@@ -75,7 +75,7 @@ void KisPerChannelFilterConfiguration::fromXML( const TQString& s )
TQDomNode curvesNode = e.firstChild();
int count = 0;
nTransfers = e.attribute("number").toUShort();
- curves = new TQSortedList<TQPair<double,double> >[nTransfers];
+ curves = new TQPtrList<TQPair<double,double> >[nTransfers];
while (!curvesNode.isNull()) {
TQDomElement curvesElement = curvesNode.toElement();
if (!curvesElement.isNull() &&
@@ -310,7 +310,7 @@ KisPerChannelConfigWidget::KisPerChannelConfigWidget(TQWidget * parent, KisPaint
TQ_CHECK_PTR(l);
m_dev = dev;
- m_curves = new TQSortedList<TQPair<double,double> >[m_dev->colorSpace()->nColorChannels()];
+ m_curves = new TQPtrList<TQPair<double,double> >[m_dev->colorSpace()->nColorChannels()];
m_activeCh = 0;
for(unsigned int ch=0; ch <m_dev->colorSpace()->nColorChannels(); ch++)
{
diff --git a/chalk/ui/kcurve.h b/chalk/ui/kcurve.h
index f2a006be4..9b68f5f86 100644
--- a/chalk/ui/kcurve.h
+++ b/chalk/ui/kcurve.h
@@ -24,7 +24,7 @@
#include <tqwidget.h>
#include <tqcolor.h>
#include <tqpair.h>
-#include <tqsortedlist.h>
+#include <tqptrlist.h>
#include <koffice_export.h>
class KRITAUI_EXPORT KCurve : public TQWidget
{
diff --git a/filters/kpresenter/kword/kprkword.cpp b/filters/kpresenter/kword/kprkword.cpp
index fc0f50cd0..8dbd628bf 100644
--- a/filters/kpresenter/kword/kprkword.cpp
+++ b/filters/kpresenter/kword/kprkword.cpp
@@ -26,7 +26,7 @@
#include <kprkword.h>
#include <tdelocale.h>
#include <kdebug.h>
-#include <tqsortedlist.h>
+#include <tqptrlist.h>
#include <tqcolor.h>
typedef KGenericFactory<KprKword, KoFilter> KprKwordFactory;
@@ -177,7 +177,7 @@ void KprKword::convert()
if ( objects.isNull() )
return;
- TQSortedList< KprObject > objList;
+ TQPtrList< KprObject > objList;
objList.setAutoDelete( true );
TQDomNodeList lst = objects.elementsByTagName( "OBJECT" );
diff --git a/filters/kspread/gnumeric/gnumericexport.cpp b/filters/kspread/gnumeric/gnumericexport.cpp
index 28f5453e9..77926298d 100644
--- a/filters/kspread/gnumeric/gnumericexport.cpp
+++ b/filters/kspread/gnumeric/gnumericexport.cpp
@@ -29,7 +29,6 @@
#include <KoFilterChain.h>
#include <tqapplication.h>
#include <tqptrlist.h>
-#include <tqsortedlist.h>
#include <tqfile.h>
#include <tqtextstream.h>
diff --git a/kivio/kiviopart/kivio_page.cpp b/kivio/kiviopart/kivio_page.cpp
index 6bf6a3aab..a48363526 100644
--- a/kivio/kiviopart/kivio_page.cpp
+++ b/kivio/kiviopart/kivio_page.cpp
@@ -36,7 +36,7 @@
#include <tqtextstream.h>
#include <tqdragobject.h>
#include <tqmime.h>
-#include <tqsortedlist.h>
+#include <tqptrlist.h>
#include <tqvaluelist.h>
#include <kdebug.h>