[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kstyles/plastik
From:       André Wöbbeking <Woebbeking () web ! de>
Date:       2005-12-11 17:49:45
Message-ID: 1134323385.081469.32143.nullmailer () svn ! kde ! org
[Download RAW message or body]

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,
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic