[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/bindings/kimono
From: Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date: 2005-12-31 20:38:29
Message-ID: 1136061509.515630.12918.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 492974 by rdale:
* Set up the global variable 'qApp' with a reference to the QApplication
* Added tutorial example t4
M +4 -1 qt3qyoto/QApplication.cs
M +2 -0 qt3qyoto/Qt.cs
A t4.cs
--- trunk/playground/bindings/kimono/qt3qyoto/QApplication.cs #492973:492974
@@ -592,6 +592,7 @@
Qyoto.Init_qyoto();
CreateQApplicationProxy();
CreateQApplicationSignalProxy();
+ Qt.qApp = this;
string[] args = new string[argv.Length + 1];
args[0] = System.Reflection.Assembly.GetExecutingAssembly().Location;
@@ -613,7 +614,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);
@@ -634,6 +636,7 @@
Qyoto.Init_qyoto();
CreateQApplicationProxy();
CreateQApplicationSignalProxy();
+ Qt.qApp = this;
string[] args = new string[argv.Length + 1];
args[0] = System.Reflection.Assembly.GetExecutingAssembly().Location;
--- trunk/playground/bindings/kimono/qt3qyoto/Qt.cs #492973:492974
@@ -1826,6 +1826,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