[Kde-bindings] KDE/kdebindings/csharp

Arno Rehn kde at arnorehn.de
Sun Aug 10 12:26:27 UTC 2008


SVN commit 844767 by arnorehn:

* Fix ShowConfigurationDialog() for the ScriptEngine.
* Support uint as a method return type.

CCMAIL: kde-bindings at kde.org



 M  +1 -0      plasma/ChangeLog  
 M  +4 -2      plasma/src/PlasmaScripting_Applet.cs  
 M  +1 -0      qyoto/ChangeLog  
 M  +2 -0      qyoto/src/SmokeInvocation.cs  


--- trunk/KDE/kdebindings/csharp/plasma/ChangeLog #844766:844767
@@ -1,5 +1,6 @@
 2008-08-10  Arno Rehn  <arno at arnorehn.de>
 * Add some missing classes.
+* Fix ShowConfigurationDialog() for the ScriptEngine.
 
 2008-08-09  Arno Rehn  <arno at arnorehn.de>
 * If necessary, initialize additional bindings in the ScriptEngine.
--- trunk/KDE/kdebindings/csharp/plasma/src/PlasmaScripting_Applet.cs #844766:844767
@@ -377,6 +377,8 @@
         public virtual void Destroy() {
             applet.Destroy();
         }
+        KConfigSkeleton nullManager;
+        KConfigDialog dialog;
         /// <remarks>
         ///  Lets the user interact with the plasmoid options.
         ///  Called when the user selects the configure entry
@@ -391,8 +393,8 @@
         public virtual void ShowConfigurationInterface() {
             string dialogId = applet.Id() + "settings" + applet.Name;
             string windowTitle = KDE.I18nc("@title:window", applet.Name + " Settings");
-            KConfigSkeleton nullManager = new KConfigSkeleton((KSharedConfig) null);
-            KConfigDialog dialog = new KConfigDialog(null, dialogId, nullManager);
+            nullManager = new KConfigSkeleton();
+            dialog = new KConfigDialog(null, dialogId, nullManager);
             dialog.SetFaceType(KPageDialog.FaceType.Auto);
             dialog.SetWindowTitle(windowTitle);
             dialog.SetAttribute(Qt.WidgetAttribute.WA_DeleteOnClose, true);
--- trunk/KDE/kdebindings/csharp/qyoto/ChangeLog #844766:844767
@@ -1,6 +1,7 @@
 2008-08-10  Arno Rehn  <arno at arnorehn.de>
 
     * Make uics work with KDE classes.
+    * Support uint as a method return type.
 
 2008-08-09  Arno Rehn  <arno at arnorehn.de>
 
--- trunk/KDE/kdebindings/csharp/qyoto/src/SmokeInvocation.cs #844766:844767
@@ -614,6 +614,8 @@
 						returnValue = stack[0].s_long;
 					} else if (returnType == typeof(ushort)) {
 						returnValue = stack[0].s_ushort;
+					} else if (returnType == typeof(uint)) {
+						returnValue = stack[0].s_uint;
 					} else if (returnType.IsEnum) {
 						returnValue = Enum.ToObject(returnType, stack[0].s_int);
 					} else if (returnType == typeof(ulong)) {



More information about the Kde-bindings mailing list