Hello community,

here is the log from the commit of package kdelibs4 for openSUSE:Factory
checked in at Mon Aug 1 16:05:52 CEST 2011.



--------
--- KDE/kdelibs4/kdelibs4-apidocs.changes       2011-07-26 14:10:11.000000000 
+0200
+++ /mounts/work_src_done/STABLE/kdelibs4/kdelibs4-apidocs.changes      
2011-07-29 11:49:55.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jul 29 09:45:26 UTC 2011 - idon...@novell.com
+
+- Add kdewidgets-in-designer.patch, fix KDE widgets not showing up
+  in Qt Designer, upstream r101804 
+
+-------------------------------------------------------------------
kdelibs4.changes: same change

calling whatdependson for head-i586


New:
----
  kdewidgets-in-designer.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdelibs4-apidocs.spec ++++++
--- /var/tmp/diff_new_pack.1wH7pX/_old  2011-08-01 16:04:50.000000000 +0200
+++ /var/tmp/diff_new_pack.1wH7pX/_new  2011-08-01 16:04:50.000000000 +0200
@@ -19,7 +19,7 @@
 
 Name:           kdelibs4-apidocs
 Version:        4.7.0
-Release:        1
+Release:        2
 License:        LGPLv2.1+
 Summary:        KDE 4 API documentation
 Url:            http://www.kde.org

++++++ kdelibs4.spec ++++++
--- /var/tmp/diff_new_pack.1wH7pX/_old  2011-08-01 16:04:50.000000000 +0200
+++ /var/tmp/diff_new_pack.1wH7pX/_new  2011-08-01 16:04:50.000000000 +0200
@@ -67,7 +67,7 @@
 %endif
 BuildRequires:  xz-devel
 Version:        4.7.0
-Release:        1
+Release:        3
 License:        LGPLv2.1+
 Summary:        KDE Base Libraries
 Url:            http://www.kde.org
@@ -90,6 +90,7 @@
 Patch17:        flash-player-non-oss.diff
 Patch18:        plasma-libs.diff
 Patch20:        ignore-inline-menu.diff
+Patch21:        kdewidgets-in-designer.patch
 Patch24:        ksuseinstall.diff
 PreReq:         permissions
 Requires:       soprano >= %( echo `rpm -q --queryformat '%{VERSION}' 
libsoprano-devel`)
@@ -164,6 +165,7 @@
 %patch17
 %patch18
 %patch20
+%patch21 -p1
 %patch24
 #
 # define KDE version exactly

++++++ kdewidgets-in-designer.patch ++++++
diff --git a/kdewidgets/makekdewidgets.cpp b/kdewidgets/makekdewidgets.cpp
--- a/kdewidgets/makekdewidgets.cpp
+++ b/kdewidgets/makekdewidgets.cpp
@@ -195,7 +195,10 @@ QString buildWidgetClass( const QString &name, KConfig 
&_input, const QString &g
     defMap.insert( "PluginName", denamespace( name ) + QLatin1String( "Plugin" 
) );
 
     // FIXME: ### make this more useful, i.e. outsource to separate file
-    defMap.insert( "DomXml", input.readEntry( "DomXML" ).replace( '\"', "\\\"" 
) );
+    defMap.insert( "DomXml", input.readEntry( "DomXML",
+                QString("<widget class=\"%1\" name=\"%2\"/>").
+                arg(name,name.toLower())
+                ).replace( '\"', "\\\"" ));
     defMap.insert( "CodeTemplate", input.readEntry( "CodeTemplate" ) );
     defMap.insert( "CreateWidget", input.readEntry( "CreateWidget",
       QString( "\n\t\treturn new %1%2;" )


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to