summaryrefslogtreecommitdiffstats
path: root/chalk
diff options
context:
space:
mode:
Diffstat (limited to 'chalk')
-rw-r--r--chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp6
-rw-r--r--chalk/ui/kcurve.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp b/chalk/plugins/filters/colorsfilters/kis_perchannel_filter.cpp
index ed2cf82a..37c0815e 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 f2a006be..9b68f5f8 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
{