diff options
Diffstat (limited to 'tdeui/kbuttonbox.cpp')
| -rw-r--r-- | tdeui/kbuttonbox.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeui/kbuttonbox.cpp b/tdeui/kbuttonbox.cpp index faa26e95e..54329412e 100644 --- a/tdeui/kbuttonbox.cpp +++ b/tdeui/kbuttonbox.cpp @@ -130,7 +130,7 @@ KButtonBox::addButton( TQPushButton * pb = addButton(text, noexpand); if ((0 != receiver) && (0 != slot)) - TQObject::connect(pb, TQT_SIGNAL(clicked()), receiver, slot); + TQObject::connect(pb, TQ_SIGNAL(clicked()), receiver, slot); return pb; } @@ -146,7 +146,7 @@ KButtonBox::addButton( TQPushButton * pb = addButton(guiitem, noexpand); if ((0 != receiver) && (0 != slot)) - TQObject::connect(pb, TQT_SIGNAL(clicked()), receiver, slot); + TQObject::connect(pb, TQ_SIGNAL(clicked()), receiver, slot); return pb; } @@ -183,7 +183,7 @@ void KButtonBox::layout() { void KButtonBox::placeButtons() { - if(data->orientation == Qt::Horizontal) { + if(data->orientation == TQt::Horizontal) { // calculate free size and stretches int fs = width() - 2 * data->border; int stretch = 0; @@ -323,7 +323,7 @@ TQSize KButtonBox::sizeHint() const { else s = bs; - if(data->orientation == Qt::Horizontal) + if(data->orientation == TQt::Horizontal) dw += s.width(); else dw += s.height(); @@ -335,7 +335,7 @@ TQSize KButtonBox::sizeHint() const { ++itr; } - if(data->orientation == Qt::Horizontal) + if(data->orientation == TQt::Horizontal) return TQSize(dw, bs.height() + 2 * data->border); else return TQSize(bs.width() + 2 * data->border, dw); @@ -344,7 +344,7 @@ TQSize KButtonBox::sizeHint() const { TQSizePolicy KButtonBox::sizePolicy() const { - return data->orientation == Qt::Horizontal? + return data->orientation == TQt::Horizontal? TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Fixed ) : TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ); } |
