summaryrefslogtreecommitdiffstats
path: root/kolourpaint/pixmapfx/kpeffectreducecolors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kolourpaint/pixmapfx/kpeffectreducecolors.cpp')
-rw-r--r--kolourpaint/pixmapfx/kpeffectreducecolors.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kolourpaint/pixmapfx/kpeffectreducecolors.cpp b/kolourpaint/pixmapfx/kpeffectreducecolors.cpp
index 910e78ac..528acf27 100644
--- a/kolourpaint/pixmapfx/kpeffectreducecolors.cpp
+++ b/kolourpaint/pixmapfx/kpeffectreducecolors.cpp
@@ -154,10 +154,10 @@ TQImage convertImageDepth (const TQImage &image, int depth, bool dither)
TQImage retImage = image.convertDepth (depth,
- Qt::AutoColor |
- (dither ? Qt::DiffuseDither : Qt::ThresholdDither) |
- Qt::ThresholdAlphaDither |
- (dither ? Qt::PreferDither : Qt::AvoidDither));
+ TQt::AutoColor |
+ (dither ? TQt::DiffuseDither : TQt::ThresholdDither) |
+ TQt::ThresholdAlphaDither |
+ (dither ? TQt::PreferDither : TQt::AvoidDither));
#if DEBUG_KP_EFFECT_REDUCE_COLORS && 0
kdDebug () << "After colour reduction:" << endl;
@@ -361,16 +361,16 @@ kpEffectReduceColorsWidget::kpEffectReduceColorsWidget (bool actOnSelection,
lay->addWidget (m_24BitRadioButton);
- connect (m_blackAndWhiteRadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SIGNAL (settingsChanged ()));
- connect (m_blackAndWhiteDitheredRadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SIGNAL (settingsChanged ()));
- connect (m_8BitRadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SIGNAL (settingsChanged ()));
- connect (m_8BitDitheredRadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SIGNAL (settingsChanged ()));
- connect (m_24BitRadioButton, TQT_SIGNAL (toggled (bool)),
- this, TQT_SIGNAL (settingsChanged ()));
+ connect (m_blackAndWhiteRadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SIGNAL (settingsChanged ()));
+ connect (m_blackAndWhiteDitheredRadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SIGNAL (settingsChanged ()));
+ connect (m_8BitRadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SIGNAL (settingsChanged ()));
+ connect (m_8BitDitheredRadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SIGNAL (settingsChanged ()));
+ connect (m_24BitRadioButton, TQ_SIGNAL (toggled (bool)),
+ this, TQ_SIGNAL (settingsChanged ()));
}
kpEffectReduceColorsWidget::~kpEffectReduceColorsWidget ()