From kde-commits Sat Dec 31 20:44:17 2005 From: Richard Dale Date: Sat, 31 Dec 2005 20:44:17 +0000 To: kde-commits Subject: branches/KDE/3.5/kdebindings/kalyptus Message-Id: <1136061857.355743.13051.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=113606186622308 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; }