branches/kdevelop/3.4/lib/widgets
Andras Mantia
amantia at kde.org
Wed May 24 18:58:41 UTC 2006
SVN commit 544403 by amantia:
OK, fix this now for real.
CCMAIL: kdevelop-devel at kdevelop.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!
More information about the KDevelop-devel
mailing list