[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:       2005-12-31 20:44:17
Message-ID: 1136061857.355743.13051.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 492976 by rdale:

* Set up the 'qApp' global variable in Qyoto.



 M  +6 -1      kalyptusCxxToKimono.pm  


--- branches/KDE/3.5/kdebindings/kalyptus/kalyptusCxxToKimono.pm #492975:492976
@@ -274,6 +274,7 @@
 			Qyoto.Init_qyoto();
 			CreateQApplicationProxy();
 			CreateQApplicationSignalProxy();
+			Qt.qApp = this;
 			
 			string[] args = new string[argv.Length + 1];
 			args[0] = System.Reflection.Assembly.GetExecutingAssembly().Location;
@@ -295,7 +296,8 @@
 			Qyoto.Init_qyoto();
 			CreateQApplicationProxy();
 			CreateQApplicationSignalProxy();
-			
+			Qt.qApp = this;
+
 			string[] args = new string[argv.Length + 1];
 			args[0] = System.Reflection.Assembly.GetExecutingAssembly().Location;
 			argv.CopyTo(args, 1);
@@ -316,6 +318,7 @@
 			Qyoto.Init_qyoto();
 			CreateQApplicationProxy();
 			CreateQApplicationSignalProxy();
+			Qt.qApp = this;
 			
 			string[] args = new string[argv.Length + 1];
 			args[0] = System.Reflection.Assembly.GetExecutingAssembly().Location;
@@ -391,6 +394,8 @@
 		public const int IO_TimeOutError    = 7;
 		public const int IO_UnspecifiedError= 8;
 
+		public static QApplication qApp = null;
+
 		public static string SIGNAL(string signal) {
 			return "2"+ signal;
 		}
[prev in list] [next in list] [prev in thread] [next in thread] 

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