summaryrefslogtreecommitdiffstats
path: root/kicker/extensions/taskbar/taskbarextension.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
commit8155225c9be993acc0512956416d195edfef4eb9 (patch)
treede4f3cd17614fc67e47eefabcdbe2fbe170c9be7 /kicker/extensions/taskbar/taskbarextension.cpp
parent364641b8e0279758d236af39abd138d379328a19 (diff)
downloadtdebase-8155225c9be993acc0512956416d195edfef4eb9.tar.gz
tdebase-8155225c9be993acc0512956416d195edfef4eb9.zip
Enable compilation with TQt for Qt4 3.4.0 TP2
This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/extensions/taskbar/taskbarextension.cpp')
-rw-r--r--kicker/extensions/taskbar/taskbarextension.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kicker/extensions/taskbar/taskbarextension.cpp b/kicker/extensions/taskbar/taskbarextension.cpp
index e0deb768e..56e6ea3ce 100644
--- a/kicker/extensions/taskbar/taskbarextension.cpp
+++ b/kicker/extensions/taskbar/taskbarextension.cpp
@@ -101,7 +101,7 @@ void TaskBarExtension::positionChange( Position p )
m_container->popupDirectionChange(KPanelApplet::Right);
break;
case Floating:
- if (orientation() == Horizontal)
+ if (orientation() == Qt::Horizontal)
{
m_container->popupDirectionChange(KPanelApplet::Down);
}
@@ -123,17 +123,17 @@ void TaskBarExtension::preferences()
m_container->preferences();
}
-TQSize TaskBarExtension::sizeHint(Position p, TQSize maxSize) const
+TQSize TaskBarExtension::tqsizeHint(Position p, TQSize maxSize) const
{
if (p == Left || p == Right)
maxSize.setWidth(sizeInPixels());
else
maxSize.setHeight(sizeInPixels());
-// kdDebug(1210) << "TaskBarExtension::sizeHint( Position, TQSize )" << endl;
+// kdDebug(1210) << "TaskBarExtension::tqsizeHint( Position, TQSize )" << endl;
// kdDebug(1210) << " width: " << size.width() << endl;
// kdDebug(1210) << "height: " << size.height() << endl;
- return m_container->sizeHint(p, maxSize);
+ return m_container->tqsizeHint(p, maxSize);
}
void TaskBarExtension::configure()
@@ -155,7 +155,7 @@ void TaskBarExtension::setBackgroundTheme()
}
else
{
- m_rootPixmap->repaint(true);
+ m_rootPixmap->tqrepaint(true);
}
double tint = double(KickerSettings::tintValue()) / 100;
@@ -185,7 +185,7 @@ void TaskBarExtension::setBackgroundTheme()
{
TQImage bgImage = m_bgImage;
- if (orientation() == Vertical)
+ if (orientation() == Qt::Vertical)
{
if (KickerSettings::rotateBackground())
{
@@ -213,7 +213,7 @@ void TaskBarExtension::setBackgroundTheme()
{
KickerLib::colorize(bgImage);
}
- setPaletteBackgroundPixmap(bgImage);
+ setPaletteBackgroundPixmap(TQPixmap(bgImage));
}
}