summaryrefslogtreecommitdiffstats
path: root/lib/kopainter
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /lib/kopainter
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'lib/kopainter')
-rw-r--r--lib/kopainter/koFrameButton.cc2
-rw-r--r--lib/kopainter/ko_cmyk_widget.cc2
-rw-r--r--lib/kopainter/ko_color_wheel.cc2
-rw-r--r--lib/kopainter/ko_gray_widget.cc2
-rw-r--r--lib/kopainter/ko_hsv_widget.cc4
-rw-r--r--lib/kopainter/ko_rgb_widget.cc2
6 files changed, 7 insertions, 7 deletions
diff --git a/lib/kopainter/koFrameButton.cc b/lib/kopainter/koFrameButton.cc
index c87fe230..d5f2dada 100644
--- a/lib/kopainter/koFrameButton.cc
+++ b/lib/kopainter/koFrameButton.cc
@@ -37,7 +37,7 @@ TQLabel(parent, name)
setFrameStyle(Panel | Raised);
setLineWidth(1);
setText(text);
- tqsetAlignment(AlignHCenter | AlignVCenter);
+ setAlignment(AlignHCenter | AlignVCenter);
mActive = false;
mToggle = false;
}
diff --git a/lib/kopainter/ko_cmyk_widget.cc b/lib/kopainter/ko_cmyk_widget.cc
index 1eb9eece..e1230d80 100644
--- a/lib/kopainter/ko_cmyk_widget.cc
+++ b/lib/kopainter/ko_cmyk_widget.cc
@@ -41,7 +41,7 @@
KoCMYKWidget::KoCMYKWidget(TQWidget *parent, const char *name) : super(parent, name)
{
m_ColorButton = new KDualColorButton(this);
- m_ColorButton -> setFixedSize(m_ColorButton->tqsizeHint());
+ m_ColorButton -> setFixedSize(m_ColorButton->sizeHint());
TQGridLayout *mGrid = new TQGridLayout(this, 4, 5, 5, 2);
/* setup color sliders */
diff --git a/lib/kopainter/ko_color_wheel.cc b/lib/kopainter/ko_color_wheel.cc
index 0c268849..f309125c 100644
--- a/lib/kopainter/ko_color_wheel.cc
+++ b/lib/kopainter/ko_color_wheel.cc
@@ -49,7 +49,7 @@ void KoColorWheel::drawWheel( TQPixmap *pixmap )
TQPoint center(size/2, size/2);
TQImage image( size, size, 32 );
- image.fill(tqcolorGroup ().background().pixel());
+ image.fill(colorGroup ().background().pixel());
TQColor col;
int a, b, h, s;
diff --git a/lib/kopainter/ko_gray_widget.cc b/lib/kopainter/ko_gray_widget.cc
index e40031b5..6e321152 100644
--- a/lib/kopainter/ko_gray_widget.cc
+++ b/lib/kopainter/ko_gray_widget.cc
@@ -36,7 +36,7 @@ KoGrayWidget::KoGrayWidget(TQWidget *parent, const char *name) : super(parent, n
m_ColorButton = new KDualColorButton(this);
Q_CHECK_PTR(m_ColorButton);
- m_ColorButton -> setFixedSize(m_ColorButton->tqsizeHint());
+ m_ColorButton -> setFixedSize(m_ColorButton->sizeHint());
TQGridLayout *mGrid = new TQGridLayout(this, 3, 5, 5, 2);
/* setup color sliders */
diff --git a/lib/kopainter/ko_hsv_widget.cc b/lib/kopainter/ko_hsv_widget.cc
index c870248a..8b2e556c 100644
--- a/lib/kopainter/ko_hsv_widget.cc
+++ b/lib/kopainter/ko_hsv_widget.cc
@@ -37,7 +37,7 @@
KoHSVWidget::KoHSVWidget(TQWidget *parent, const char *name) : super(parent, name)
{
m_ColorButton = new KDualColorButton(this);
- m_ColorButton -> setFixedSize(m_ColorButton->tqsizeHint());
+ m_ColorButton -> setFixedSize(m_ColorButton->sizeHint());
TQGridLayout *mGrid = new TQGridLayout(this, 5, 7, 5, 2);
m_colorwheel = new KoColorWheel(this);
@@ -96,7 +96,7 @@ KoHSVWidget::KoHSVWidget(TQWidget *parent, const char *name) : super(parent, nam
connect(mSIn, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotSChanged(int)));
connect(mVIn, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotVChanged(int)));
- //setFixedSize(mGrid -> tqminimumSize());
+ //setFixedSize(mGrid -> minimumSize());
m_autovalue = true; // So on the initial selection of h or v, s gets set to 255.
update(TQt::black, TQt::white);
diff --git a/lib/kopainter/ko_rgb_widget.cc b/lib/kopainter/ko_rgb_widget.cc
index 5eaef38e..7e8b69f9 100644
--- a/lib/kopainter/ko_rgb_widget.cc
+++ b/lib/kopainter/ko_rgb_widget.cc
@@ -38,7 +38,7 @@
KoRGBWidget::KoRGBWidget(TQWidget *parent, const char *name) : super(parent, name)
{
m_ColorButton = new KDualColorButton(this);
- m_ColorButton -> setFixedSize(m_ColorButton->tqsizeHint());
+ m_ColorButton -> setFixedSize(m_ColorButton->sizeHint());
TQGridLayout *mGrid = new TQGridLayout(this, 3, 5, 5, 2);
/* setup color sliders */