summaryrefslogtreecommitdiffstats
path: root/quanta/components/csseditor/colorslider.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:36:38 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-19 19:42:51 +0200
commita177b05ccc4f6a94c52944e4015831d766058b0e (patch)
treeb5b19a92c4080c992565ef3e07b55322ae3df020 /quanta/components/csseditor/colorslider.cpp
parent1e3f84a3c7f28cbd80c26f770055bca0dfebafbd (diff)
downloadtdewebdev-a177b05ccc4f6a94c52944e4015831d766058b0e.tar.gz
tdewebdev-a177b05ccc4f6a94c52944e4015831d766058b0e.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 9445f97b426e97c6ce46de18fba4030da45d56df)
Diffstat (limited to 'quanta/components/csseditor/colorslider.cpp')
-rw-r--r--quanta/components/csseditor/colorslider.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/quanta/components/csseditor/colorslider.cpp b/quanta/components/csseditor/colorslider.cpp
index 58e67d0f..411f056c 100644
--- a/quanta/components/csseditor/colorslider.cpp
+++ b/quanta/components/csseditor/colorslider.cpp
@@ -37,9 +37,9 @@ colorSlider::colorSlider(const TQString& fn,const TQString& l,const TQString& c,
TQLabel *leftLabel = new TQLabel("<b>" + l +"</b>",leftBox);
TQLabel *centerLabel = new TQLabel(("<b>" + c +"</b>"),centerBox);
TQLabel *rightLabel = new TQLabel(("<b>" + r +"</b>"),rightBox);
- leftLabel->tqsetAlignment(TQt::AlignHCenter);
- centerLabel->tqsetAlignment(TQt::AlignHCenter);
- rightLabel->tqsetAlignment(TQt::AlignHCenter);
+ leftLabel->setAlignment(TQt::AlignHCenter);
+ centerLabel->setAlignment(TQt::AlignHCenter);
+ rightLabel->setAlignment(TQt::AlignHCenter);
leftLabel->setTextFormat (TQt::RichText ) ;
centerLabel->setTextFormat ( TQt::RichText ) ;
rightLabel->setTextFormat (TQt::RichText ) ;