From kde-commits Sun Dec 11 17:49:45 2005 From: =?utf-8?q?Andr=C3=A9=20W=C3=B6bbeking?= Date: Sun, 11 Dec 2005 17:49:45 +0000 To: kde-commits Subject: KDE/kdelibs/kstyles/plastik Message-Id: <1134323385.081469.32143.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=113432339308050 SVN commit 487724 by woebbe: I hate C++. Why is there no reimplement keyword? Especially with Qt4 we'll have much fun. M +2 -2 plastik.cpp M +2 -2 plastik.h --- trunk/KDE/kdelibs/kstyles/plastik/plastik.cpp #487723:487724 @@ -1657,7 +1657,7 @@ KStyle::polish(widget); } -void PlastikStyle::unPolish(QWidget* widget) +void PlastikStyle::unpolish(QWidget* widget) { // if( !strcmp(widget->name(), "__khtml") ) { // is it a khtml widget...? // khtmlWidgets.remove(widget); @@ -1695,7 +1695,7 @@ widget->setAttribute(Qt::WA_Hover, false); } -// KStyle::unPolish(widget); + KStyle::unpolish(widget); } // // void PlastikStyle::khtmlWidgetDestroyed(QObject* obj) --- trunk/KDE/kdelibs/kstyles/plastik/plastik.h #487723:487724 @@ -75,8 +75,8 @@ // // void polish(QApplication* app ); - void polish(QWidget* widget ); - void unPolish(QWidget* widget ); + virtual void polish(QWidget* widget); + virtual void unpolish(QWidget* widget); // // void drawKStylePrimitive(KStylePrimitive kpe, // QPainter* p,