List Info

Thread: branches/kdevelop/3.4/lib/widgets




branches/kdevelop/3.4/lib/widgets
user name
2006-05-24 18:58:41
SVN commit 544403 by amantia:

OK, fix this now for real. 

CCMAIL: kdevelop-develkdevelop.org

 M  +6 -8      fancylistviewitem.cpp  


--- branches/kdevelop/3.4/lib/widgets/fancylistviewitem.cpp
#544402:544403
 -17,11
+17,13 
    Boston, MA 02111-1307, USA.
 */
 
+///This file is just a template, included from
fancyqlistviewitem.cpp and fancyklistviewitem.cpp to define
the specific classes
 
 #include <qpixmap.h>
 #include <qapplication.h>
 #include <qnamespace.h>
 #include <kdeversion.h>
+
 #include "fancylistviewitem.h"
 
 
 -55,21
+57,17 
     return (QString)m_items[column];
 }
 
-#if defined(ISKLISTVIEWITEM) &&
KDE_IS_VERSION(3,4,0)
 
 QColor FancyListViewItem::backgroundColor(int col) {
-    return KListViewItem::backgroundColor(col);
-}
 
+#if KDE_IS_VERSION(3,4,0)
+    return KListViewItem::backgroundColor(col);
 #else
-
-QColor FancyListViewItem::backgroundColor(int col) {
-    return QColor();
+    return KListViewItem::backgroundColor();
+#endif
 }
 
-#endif
 
-
 ///this is a modified version of the original
QListViewItem::paintCell from the qt source
 ///multiline is not supported!
 

_______________________________________________
KDevelop-devel mailing list
KDevelop-develbarney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/
kdevelop-devel
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )