summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kbuttonboxtest.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 00:54:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 00:54:43 -0600
commitb212a1de50010bf9f8ff93123281a6956291cdf2 (patch)
tree9cb6fe3d3e794cb0bdf5c8720c296b54ad4c6063 /tdeui/tests/kbuttonboxtest.cpp
parentca1f1a08ecb01139487ff2f0591f97b97164c4e4 (diff)
downloadtdelibs-b212a1de50010bf9f8ff93123281a6956291cdf2.tar.gz
tdelibs-b212a1de50010bf9f8ff93123281a6956291cdf2.zip
Rename tqsetAlignment to fix bindings
Diffstat (limited to 'tdeui/tests/kbuttonboxtest.cpp')
-rw-r--r--tdeui/tests/kbuttonboxtest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeui/tests/kbuttonboxtest.cpp b/tdeui/tests/kbuttonboxtest.cpp
index 75295079f..1773c47f9 100644
--- a/tdeui/tests/kbuttonboxtest.cpp
+++ b/tdeui/tests/kbuttonboxtest.cpp
@@ -37,7 +37,7 @@ int main(int argc, char **argv) {
"the window!\n"
"Press OK or Cancel when done"
, w);
- l->tqsetAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
+ l->setAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
l->setMinimumSize(l->sizeHint());
tl->addWidget(l,1);
KButtonBox *bbox = new KButtonBox(w);
@@ -65,7 +65,7 @@ int main(int argc, char **argv) {
TQLabel *l = new TQLabel("Another common dialog\n\n"\
"OK and Cancel are right aligned\n"\
"Try resizing the window!", w);
- l->tqsetAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
+ l->setAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
l->setMinimumSize(l->sizeHint());
tl->addWidget(l,1);
KButtonBox *bbox = new KButtonBox(w);
@@ -91,7 +91,7 @@ int main(int argc, char **argv) {
TQLabel *l = new TQLabel("Another common dialog\n\n"\
"OK and Cancel are middle aligned\n"\
"Try resizing the window!", w);
- l->tqsetAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
+ l->setAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
l->setMinimumSize(l->sizeHint());
tl->addWidget(l,1);
KButtonBox *bbox = new KButtonBox(w);
@@ -120,7 +120,7 @@ int main(int argc, char **argv) {
"the maximum width for all buttons\n"
"since it will look ugly -- "
"anyway, it works", w);
- l->tqsetAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
+ l->setAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
l->setMinimumSize(l->sizeHint());
tl->addWidget(l,1);
KButtonBox *bbox = new KButtonBox(w);
@@ -152,7 +152,7 @@ int main(int argc, char **argv) {
"prevent this strange effect as seen\n"
"the former example!"
,w);
- l->tqsetAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
+ l->setAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
l->setMinimumSize(l->sizeHint());
tl->addWidget(l,1);
KButtonBox *bbox = new KButtonBox(w);
@@ -182,7 +182,7 @@ int main(int argc, char **argv) {
"to make vertically aligned buttons\n"
"too?"
,w);
- l->tqsetAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
+ l->setAlignment(Qt::AlignVCenter|Qt::AlignLeft|Qt::WordBreak);
l->setMinimumSize(l->sizeHint());
tl->addWidget(l,1);
KButtonBox *bbox = new KButtonBox(w, KButtonBox::Vertical);