From fb652a2be46ce1a2081e5dde268cd9f4ebe6fdd0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 15 Nov 2011 15:08:51 -0600 Subject: Fix kdelibs FTBFS on native TQt3 --- kstyles/plastik/plastik.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kstyles/plastik') diff --git a/kstyles/plastik/plastik.cpp b/kstyles/plastik/plastik.cpp index 1c6f5cd6a..4dd8f9cd1 100644 --- a/kstyles/plastik/plastik.cpp +++ b/kstyles/plastik/plastik.cpp @@ -886,7 +886,7 @@ void PlastikStyle::renderPanel(TQPainter *p, if (kickerMode && p->tqdevice() && p->tqdevice()->devType() == TQInternal::Widget && - TQCString(static_cast(static_cast(static_cast(p->tqdevice())))->className()) == "FittsLawFrame") { + TQCString(TQT_TQWIDGET(static_cast(p->tqdevice()))->className()) == "FittsLawFrame") { // Stolen wholesale from Keramik. I don't like it, but oh well. if (sunken) { const TQCOORD corners[] = { x2, y, x2, y2, x, y2, x, y }; @@ -1819,7 +1819,7 @@ void PlastikStyle::tqdrawPrimitive(TQ_PrimitiveElement pe, // -------------- case PE_Splitter: { // highlight on mouse over - TQColor color = (static_cast(static_cast(hoverWidget)) == static_cast(p->tqdevice()))?TQColor(cg.background().light(100+_contrast)):cg.background(); + TQColor color = (static_cast(static_cast(hoverWidget)) == static_cast(p->tqdevice()))?TQColor(cg.background().light(100+_contrast)):cg.background(); p->fillRect(r, color); if (w > h) { if (h > 4) { -- cgit v1.2.1