[Kde-bindings] KDE/kdebindings/csharp/qyoto

Arno Rehn kde at arnorehn.de
Sat Jul 14 23:01:38 UTC 2007


SVN commit 687978 by arnorehn:

* Moved Init_qyoto() from the Q(Core)Application constructor to the
  static SmokeInvocation constructor. It's now called before anything
  else, even if you hadn't created a Q(Core)Application before.

CCMAIL: kde-bindings at kde.org



 M  +6 -0      ChangeLog  
 M  +0 -1      core/QCoreApplicationExtras.cs  
 M  +0 -3      gui/QApplicationExtras.cs  
 M  +1 -0      src/SmokeInvocation.cs  


--- trunk/KDE/kdebindings/csharp/qyoto/ChangeLog #687977:687978
@@ -1,3 +1,9 @@
+2007-07-15  Arno Rehn  <arno at arnorehn.de>
+
+	* Moved Init_qyoto() from the Q(Core)Application constructor to the
+	  static SmokeInvocation constructor. It's now called before anything
+	  else, even if you hadn't created a Q(Core)Application before.
+
 2007-06-26  Richard Dale  <rdale at foton.es>
 
 	* Fixed a bug parsing Q_PROPERTIES which messed up the code generation
--- trunk/KDE/kdebindings/csharp/qyoto/core/QCoreApplicationExtras.cs #687977:687978
@@ -6,7 +6,6 @@
 
 	public partial class QCoreApplication : QObject, IDisposable {
 		public QCoreApplication(string[] argv) : this((Type) null) {
-			Qyoto.Init_qyoto();
 			CreateProxy();
 			
 			string[] args = new string[argv.Length + 1];
--- trunk/KDE/kdebindings/csharp/qyoto/gui/QApplicationExtras.cs #687977:687978
@@ -7,7 +7,6 @@
 	public partial class QApplication : QCoreApplication, IDisposable {
 
 		public QApplication(string[] argv) : this((Type) null) {
-			Qyoto.Init_qyoto();
 			CreateProxy();
 			Qt.qApp = this;
       
@@ -21,7 +20,6 @@
 		}
 
 		public QApplication(string[] argv, bool GUIenabled) : this((Type) null) {
-			Qyoto.Init_qyoto();
 			CreateProxy();
 			Qt.qApp = this;
 			
@@ -35,7 +33,6 @@
 		}
     
 		public QApplication(string[] argv, QApplication.TypeOf arg3) : this((Type) null) {
-			Qyoto.Init_qyoto();
 			CreateProxy();
 			Qt.qApp = this;
 			
--- trunk/KDE/kdebindings/csharp/qyoto/src/SmokeInvocation.cs #687977:687978
@@ -365,6 +365,7 @@
 		}
 
 		static SmokeInvocation() {
+			Qyoto.Init_qyoto();
 			SmokeMarshallers.SetUp();
 		}
 		



More information about the Kde-bindings mailing list