diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-13 08:32:36 +0000 |
commit | f7e71d47719ab6094cf4a9fafffa5ea351973522 (patch) | |
tree | 30834aa632d442019e14f88685001d94657d060b /kdeui/ktoolbarlabelaction.cpp | |
parent | b31cfd9a1ee986fe2ae9a693f3afd7f171dd897c (diff) | |
download | tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.tar.gz tdelibs-f7e71d47719ab6094cf4a9fafffa5ea351973522.zip |
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
Diffstat (limited to 'kdeui/ktoolbarlabelaction.cpp')
-rw-r--r-- | kdeui/ktoolbarlabelaction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<TQLabel*>(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(); } |