File fix-build-kde42.diff of Package qtcurve-kde4

--- style/qtcurve.cpp       2009-08-25 23:31:33.000000000 +0200
+++ style/qtcurve.cpp       2009-08-27 00:01:30.000000000 +0200
@@ -70,7 +70,11 @@
 #include <KDE/KComponentData>
 #include <KDE/KTitleWidget>
 #include <KDE/KTabBar>
+#if KDE_IS_VERSION(4, 3, 0)
 #include <KDE/KFileWidget>
+#else
+#include <kfilewidget.h>
+#endif

 #if !defined QTC_DISABLE_KDEFILEDIALOG_CALLS && !KDE_IS_VERSION(4, 1, 0)
 static int theInstanceCount=0;

openSUSE Build Service is sponsored by