summaryrefslogtreecommitdiffstats
path: root/kicker/kicker/ui
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-05 07:19:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-05 07:19:55 +0000
commitcec8fe0157b0ab37d4919d0f04c131c11f2c9a9e (patch)
tree7063e9fe9a4205b926c181924c226bcf1112d51e /kicker/kicker/ui
parent80035308b1907d75e7e09be7c8f6e14098edd533 (diff)
downloadtdebase-cec8fe0157b0ab37d4919d0f04c131c11f2c9a9e.tar.gz
tdebase-cec8fe0157b0ab37d4919d0f04c131c11f2c9a9e.zip
Fix up a few Deep Buttons glitches
Add an option to include the clock in the system tray applet Majorly enhance the Quick Launch Kicker applet git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1245129 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/kicker/ui')
-rw-r--r--kicker/kicker/ui/popupmenutitle.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kicker/kicker/ui/popupmenutitle.h b/kicker/kicker/ui/popupmenutitle.h
index e5f565c1a..c9e545417 100644
--- a/kicker/kicker/ui/popupmenutitle.h
+++ b/kicker/kicker/ui/popupmenutitle.h
@@ -40,13 +40,13 @@ public:
bool fullSpan () const { return true; }
- void paint(TQPainter* p, const TQColorGroup& cg,
- bool /* act */, bool /*enabled*/,
+ void paint(TQPainter* p, const TQColorGroup& cg,
+ bool /* act */, bool /*enabled*/,
int x, int y, int w, int h)
{
p->save();
TQRect r(x, y, w, h);
- kapp->tqstyle().tqdrawPrimitive(TQStyle::PE_HeaderSection,
+ kapp->tqstyle().tqdrawPrimitive(TQStyle::PE_HeaderSectionMenu,
p, r, cg);
if (!m_desktopName.isEmpty())
@@ -54,7 +54,7 @@ public:
p->setPen(cg.buttonText());
p->setFont(m_font);
p->drawText(x, y, w, h,
- AlignCenter | SingleLine,
+ AlignCenter | SingleLine,
m_desktopName);
}
@@ -72,7 +72,7 @@ public:
TQSize tqsizeHint()
{
TQSize size = TQFontMetrics(m_font).size(AlignHCenter, m_desktopName);
- size.setHeight(size.height() +
+ size.setHeight(size.height() +
(kapp->tqstyle().tqpixelMetric(TQStyle::PM_DefaultFrameWidth) * 2 + 1));
return size;
}