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; }