Drop Qt2's TQSortedList class

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/37/head
Michele Calgaro 1 year ago
parent fded561239
commit a9bbaa83cc
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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++)
{

@ -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
{

@ -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" );

@ -29,7 +29,6 @@
#include <KoFilterChain.h>
#include <tqapplication.h>
#include <tqptrlist.h>
#include <tqsortedlist.h>
#include <tqfile.h>
#include <tqtextstream.h>

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

Loading…
Cancel
Save