summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/filters/levelfilter
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /chalk/plugins/filters/levelfilter
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'chalk/plugins/filters/levelfilter')
-rw-r--r--chalk/plugins/filters/levelfilter/kgradientslider.cc16
-rw-r--r--chalk/plugins/filters/levelfilter/kis_level_filter.cc2
-rw-r--r--chalk/plugins/filters/levelfilter/wdg_level.ui34
3 files changed, 26 insertions, 26 deletions
diff --git a/chalk/plugins/filters/levelfilter/kgradientslider.cc b/chalk/plugins/filters/levelfilter/kgradientslider.cc
index b36e5ce97..7b836436e 100644
--- a/chalk/plugins/filters/levelfilter/kgradientslider.cc
+++ b/chalk/plugins/filters/levelfilter/kgradientslider.cc
@@ -66,7 +66,7 @@ void KGradientSlider::paintEvent(TQPaintEvent *)
/*if (!m_dragging) {*/
TQPixmap pm(size());
TQPainter p1;
- p1.begin(TQT_TQPAINTDEVICE(&pm), this);
+ p1.tqbegin(TQT_TQPAINTDEVICE(&pm), this);
pm.fill();
@@ -203,7 +203,7 @@ void KGradientSlider::mousePressEvent ( TQMouseEvent * e )
m_gamma = 1.0 / pow (10, tmp);
break;
}
- repaint(false);
+ tqrepaint(false);
}
void KGradientSlider::mouseReleaseEvent ( TQMouseEvent * e )
@@ -212,7 +212,7 @@ void KGradientSlider::mouseReleaseEvent ( TQMouseEvent * e )
return;
m_dragging = false;
- repaint(false);
+ tqrepaint(false);
switch (m_grab_cursor) {
case BlackCursor:
@@ -283,7 +283,7 @@ void KGradientSlider::mouseMoveEvent ( TQMouseEvent * e )
}
}
- repaint(false);
+ tqrepaint(false);
}
void KGradientSlider::leaveEvent( TQEvent * )
@@ -294,7 +294,7 @@ void KGradientSlider::leaveEvent( TQEvent * )
void KGradientSlider::enableGamma(bool b)
{
m_gammaEnabled = b;
- repaint(false);
+ tqrepaint(false);
}
double KGradientSlider::getGamma(void)
@@ -311,7 +311,7 @@ void KGradientSlider::modifyBlack(int v) {
double tmp = log10 (1.0 / m_gamma);
m_gammacursor = (unsigned int)tqRound(mid + delta * tmp);
}
- repaint(false);
+ tqrepaint(false);
}
}
void KGradientSlider::modifyWhite(int v) {
@@ -323,7 +323,7 @@ void KGradientSlider::modifyWhite(int v) {
double tmp = log10 (1.0 / m_gamma);
m_gammacursor = (unsigned int)tqRound(mid + delta * tmp);
}
- repaint(false);
+ tqrepaint(false);
}
}
void KGradientSlider::modifyGamma(double v) {
@@ -332,7 +332,7 @@ void KGradientSlider::modifyGamma(double v) {
double mid = (double)m_blackcursor + delta;
double tmp = log10 (1.0 / m_gamma);
m_gammacursor = (unsigned int)tqRound(mid + delta * tmp);
- repaint(false);
+ tqrepaint(false);
}
#include "kgradientslider.moc"
diff --git a/chalk/plugins/filters/levelfilter/kis_level_filter.cc b/chalk/plugins/filters/levelfilter/kis_level_filter.cc
index 2dbf8a44d..b7c1cb00d 100644
--- a/chalk/plugins/filters/levelfilter/kis_level_filter.cc
+++ b/chalk/plugins/filters/levelfilter/kis_level_filter.cc
@@ -22,7 +22,7 @@
#include <klocale.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpixmap.h>
#include <tqpainter.h>
#include <tqlabel.h>
diff --git a/chalk/plugins/filters/levelfilter/wdg_level.ui b/chalk/plugins/filters/levelfilter/wdg_level.ui
index f365e3d14..841b78fb5 100644
--- a/chalk/plugins/filters/levelfilter/wdg_level.ui
+++ b/chalk/plugins/filters/levelfilter/wdg_level.ui
@@ -20,13 +20,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>32767</width>
<height>32767</height>
@@ -60,7 +60,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
- <cstring>layout7</cstring>
+ <cstring>tqlayout7</cstring>
</property>
<vbox>
<property name="name">
@@ -70,13 +70,13 @@
<property name="name">
<cstring>histview</cstring>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>256</width>
<height>256</height>
</size>
</property>
- <property name="maximumSize">
+ <property name="tqmaximumSize">
<size>
<width>256</width>
<height>256</height>
@@ -88,7 +88,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout5</cstring>
+ <cstring>tqlayout5</cstring>
</property>
<vbox>
<property name="name">
@@ -98,7 +98,7 @@
<property name="name">
<cstring>ingradient</cstring>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>256</width>
<height>20</height>
@@ -107,7 +107,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout5</cstring>
+ <cstring>tqlayout5</cstring>
</property>
<hbox>
<property name="name">
@@ -134,7 +134,7 @@
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>25</width>
<height>20</height>
@@ -148,7 +148,7 @@
<property name="text">
<string>1.0</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>AlignCenter</set>
</property>
</widget>
@@ -162,7 +162,7 @@
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>25</width>
<height>20</height>
@@ -194,7 +194,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout6</cstring>
+ <cstring>tqlayout6</cstring>
</property>
<vbox>
<property name="name">
@@ -204,7 +204,7 @@
<property name="name">
<cstring>outgradient</cstring>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>256</width>
<height>20</height>
@@ -213,7 +213,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout2</cstring>
+ <cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
@@ -240,7 +240,7 @@
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>50</width>
<height>20</height>
@@ -274,7 +274,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>21</width>
<height>20</height>
@@ -291,7 +291,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>