[Kde-bindings] KDE/kdebindings/kalyptus

Arno Rehn kde at arnorehn.de
Sun Jun 29 13:22:35 UTC 2008


SVN commit 825827 by arnorehn:

* For slots and signals also include the original type in the types array.

CCMAIL: kde-bindings at kde.org



 M  +4 -0      ChangeLog  
 M  +6 -0      kalyptusCxxToSmoke.pm  


--- trunk/KDE/kdebindings/kalyptus/ChangeLog #825826:825827
@@ -1,3 +1,7 @@
+2008-06-29  Arno Rhen  <arno at arnorehn.de>
+
+	* For slots and signals also include the original type in the types array.
+
 2008-06-28  Arno Rehn  <arno at arnorehn.de>
 
 	* Resolve typedefs in kalyptus.
--- trunk/KDE/kdebindings/kalyptus/kalyptusCxxToSmoke.pm #825826:825827
@@ -701,6 +701,12 @@
 		}
 		else
 		{
+		    if (($m->{Access} =~ /slot/ || $m->{Access} =~ /signal/)
+		        && !(defined($excludeClasses{$className}) && !($m->{Flags} =~ "v"))) {
+			my $type = $arg->{ArgType};
+			$type =~ s/^const\s//;
+			registerType( $type );
+		    }
 		    # Resolve type in full, e.g. for QSessionManager::RestartHint
 		    # (x_QSessionManager doesn't inherit QSessionManager)
 		    $arg->{ArgType} = kalyptusDataDict::resolveType($arg->{ArgType}, $classNode, $rootnode);



More information about the Kde-bindings mailing list