[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdebindings/kalyptus
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2006-01-16 20:07:35
Message-ID: 1137442055.090862.10566.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 499005 by rdale:

* The methods to create transparent proxies to forward calls to \
SmokeInvocation.Invoke()  have been renamed CreateProxy(). The methods to create \
transparent proxies to forward  calls to SignaInvocation.Invoke() have been renamed \
CreateSignalProxy().



 M  +10 -10    kalyptusCxxToKimono.pm  


--- branches/KDE/3.5/kdebindings/kalyptus/kalyptusCxxToKimono.pm #499004:499005
@@ -273,8 +273,8 @@
 		/* Constructor #1 */
 		public QApplication(string[] argv) : this((Type) null) {
 			Qyoto.Init_qyoto();
-			CreateQApplicationProxy();
-			CreateQApplicationSignalProxy();
+			CreateProxy();
+			CreateSignalProxy();
 			Qt.qApp = this;
 			
 			string[] args = new string[argv.Length + 1];
@@ -295,8 +295,8 @@
 		/* Constructor #2 */
 		public QApplication(string[] argv, bool GUIenabled) : this((Type) null) {
 			Qyoto.Init_qyoto();
-			CreateQApplicationProxy();
-			CreateQApplicationSignalProxy();
+			CreateProxy();
+			CreateSignalProxy();
 			Qt.qApp = this;
 
 			string[] args = new string[argv.Length + 1];
@@ -317,8 +317,8 @@
 		/* Constructor #3 */
 		public QApplication(string[] argv, int arg3) : this((Type) null) {
 			Qyoto.Init_qyoto();
-			CreateQApplicationProxy();
-			CreateQApplicationSignalProxy();
+			CreateProxy();
+			CreateSignalProxy();
 			Qt.qApp = this;
 			
 			string[] args = new string[argv.Length + 1];
@@ -1305,7 +1305,7 @@
 	print CLASS $proxyInterfaceCode;
 	print CLASS "\t\t}\n\n";
     
-	print CLASS "\t\tprotected void Create$csharpClassName" . "Proxy() {\n";
+	print CLASS "\t\tprotected new void CreateProxy() {\n";
 	print CLASS "\t\t\tSmokeInvocation realProxy = new \
SmokeInvocation(typeof($csharpClassName), this);\n";  print CLASS "\t\t\t_interceptor \
= ($csharpClassName) realProxy.GetTransparentProxy();\n\t\t}\n";  
@@ -1353,7 +1353,7 @@
 	
 	
  	if ( is_kindof($node, "QObject") ) {
-		print CLASS "\t\tprotected void Create" . $csharpClassName . "SignalProxy() {\n";
+		print CLASS "\t\tprotected new void CreateSignalProxy() {\n";
 		print CLASS "\t\t\tSignalInvocation realProxy = new SignalInvocation(typeof(I" . \
$csharpClassName . "Signals), this);\n";  print CLASS "\t\t\tQ_EMIT = (I" . \
$csharpClassName . "Signals) realProxy.GetTransparentProxy();\n";  print CLASS \
"\t\t}\n"; @@ -1975,10 +1975,10 @@
 			if ( $generateConstructors ) {
 #				$proxyInterfaceCode .= "\t\t\tvoid new$csharpClassName($csharpparams);\n";
 				$methodCode .= "\t\tpublic $csharpClassName($csharpparams) : this((Type) null) \
                {\n";
-				$methodCode .= "\t\t\tCreate$csharpClassName" . "Proxy();\n";
+				$methodCode .= "\t\t\tCreateProxy();\n";
  				
 				if ( is_kindof($classNode, "QObject") ) {
-					$methodCode .= "\t\t\tCreate$csharpClassName" . "SignalProxy();\n";
+					$methodCode .= "\t\t\tCreateSignalProxy();\n";
 				}
 
 				$methodCode .= "\t\t\tNew$csharpClassName(@csharpArgList[0..$#csharpArgTypeList]);\n";



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic