From f7e71d47719ab6094cf4a9fafffa5ea351973522 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 13 Jan 2011 08:32:36 +0000 Subject: Initial conversion for TQt for Qt4 3.4.0 TP2 This will also compile with TQt for Qt3, and should not cause any problems with dependent modules such as kdebase. If it does then it needs to be fixed! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1214149 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeui/ktoolbarlabelaction.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kdeui/ktoolbarlabelaction.cpp') diff --git a/kdeui/ktoolbarlabelaction.cpp b/kdeui/ktoolbarlabelaction.cpp index aab7717b8..005ce559e 100644 --- a/kdeui/ktoolbarlabelaction.cpp +++ b/kdeui/ktoolbarlabelaction.cpp @@ -68,7 +68,7 @@ KToolBarLabelAction::KToolBarLabelAction(TQLabel* label, : KWidgetAction(label, label->text(), cut, receiver, slot, parent, name), d(new KToolBarLabelActionPrivate) { - Q_ASSERT(TQString::fromLatin1("kde toolbar widget") == label->name()); + Q_ASSERT(TQString::tqfromLatin1("kde toolbar widget") == label->name()); init(); } @@ -83,10 +83,10 @@ void KToolBarLabelAction::init() d->m_label = static_cast(widget()); /* these lines were copied from Konqueror's KonqDraggableLabel class in konq_misc.cc */ - d->m_label->setBackgroundMode(Qt::PaletteButton); - d->m_label->setAlignment((TQApplication::reverseLayout() + d->m_label->setBackgroundMode(TQt::PaletteButton); + d->m_label->tqsetAlignment((TQApplication::reverseLayout() ? Qt::AlignRight : Qt::AlignLeft) | - Qt::AlignVCenter | Qt::ShowPrefix ); + Qt::AlignVCenter | TQt::ShowPrefix ); d->m_label->adjustSize(); } -- cgit v1.2.1