summaryrefslogtreecommitdiffstats
path: root/kgamma
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:39 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 19:30:02 +0200
commita84302cc767bcabbf01b8c76f61419f4a2ab4ff0 (patch)
treeac5486dd6d994b05268976cb64e7ef1450d353bc /kgamma
parentcbf5be374069885933bdc8a3ede2cbf9c2ffdb5f (diff)
downloadtdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.tar.gz
tdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 45f529de247fc4b3662f6b474abe03fe904306ec)
Diffstat (limited to 'kgamma')
-rw-r--r--kgamma/kcmkgamma/displaynumber.cpp2
-rw-r--r--kgamma/kcmkgamma/kgamma.cpp14
2 files changed, 8 insertions, 8 deletions
diff --git a/kgamma/kcmkgamma/displaynumber.cpp b/kgamma/kcmkgamma/displaynumber.cpp
index 8ca9beed..dd678716 100644
--- a/kgamma/kcmkgamma/displaynumber.cpp
+++ b/kgamma/kcmkgamma/displaynumber.cpp
@@ -28,7 +28,7 @@ DisplayNumber::DisplayNumber(TQWidget *parent, int digits, \
setFrameStyle(TQFrame::Panel | TQFrame::Sunken);
setBackgroundMode(TQt::PaletteBase);
- tqsetAlignment(TQt::AlignCenter);
+ setAlignment(TQt::AlignCenter);
setFocusPolicy(TQ_NoFocus);
}
diff --git a/kgamma/kcmkgamma/kgamma.cpp b/kgamma/kcmkgamma/kgamma.cpp
index 519549c3..920e2844 100644
--- a/kgamma/kcmkgamma/kgamma.cpp
+++ b/kgamma/kcmkgamma/kgamma.cpp
@@ -157,37 +157,37 @@ void KGamma::setupUI() {
pic1->setMinimumSize(530, 171);
pic1->setBackgroundPixmap(background);
pic1->setPixmap(TQPixmap(locate("data", "kgamma/pics/greyscale.png")));
- pic1->tqsetAlignment(AlignCenter);
+ pic1->setAlignment(AlignCenter);
stack->addWidget( pic1, 0 );
TQLabel *pic2 = new TQLabel(stack);
pic2->setBackgroundPixmap(background);
pic2->setPixmap(TQPixmap(locate("data", "kgamma/pics/rgbscale.png")));
- pic2->tqsetAlignment(AlignCenter);
+ pic2->setAlignment(AlignCenter);
stack->addWidget( pic2, 1 );
TQLabel *pic3 = new TQLabel(stack);
pic3->setBackgroundPixmap(background);
pic3->setPixmap(TQPixmap(locate("data", "kgamma/pics/cmyscale.png")));
- pic3->tqsetAlignment(AlignCenter);
+ pic3->setAlignment(AlignCenter);
stack->addWidget( pic3, 2 );
TQLabel *pic4 = new TQLabel(stack);
pic4->setBackgroundPixmap(background);
pic4->setPixmap(TQPixmap(locate("data", "kgamma/pics/darkgrey.png")));
- pic4->tqsetAlignment(AlignCenter);
+ pic4->setAlignment(AlignCenter);
stack->addWidget( pic4, 3 );
TQLabel *pic5 = new TQLabel(stack);
pic5->setBackgroundPixmap(background);
pic5->setPixmap(TQPixmap(locate("data", "kgamma/pics/midgrey.png")));
- pic5->tqsetAlignment(AlignCenter);
+ pic5->setAlignment(AlignCenter);
stack->addWidget( pic5, 4 );
TQLabel *pic6 = new TQLabel(stack);
pic6->setBackgroundPixmap(background);
pic6->setPixmap(TQPixmap(locate("data", "kgamma/pics/lightgrey.png")));
- pic6->tqsetAlignment(AlignCenter);
+ pic6->setAlignment(AlignCenter);
stack->addWidget( pic6, 5 );
topLayout->addWidget(stack, 10);
@@ -279,7 +279,7 @@ void KGamma::setupUI() {
TQLabel *error = new TQLabel(this);
error->setText(i18n("Gamma correction is not supported by your"
" graphics hardware or driver."));
- error->tqsetAlignment(AlignCenter);
+ error->setAlignment(AlignCenter);
topLayout->addWidget(error);
}
}