[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/bindings/kimono/qt3qyoto
From: Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date: 2005-12-31 17:40:24
Message-ID: 1136050824.214730.9213.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 492948 by rdale:
* Fixed code generation problems for these classes.`
M +64 -65 QApplication.cs
M +7 -7 QSizePolicy.cs
--- trunk/playground/bindings/kimono/qt3qyoto/QApplication.cs #492947:492948
@@ -131,70 +131,6 @@
public new virtual string ClassName() {
return ProxyQApplication().ClassName();
}
-
- /* Constructor #1 */
- public QApplication(string[] argv) : this((Type) null) {
- Qyoto.Init_qyoto();
- CreateQApplicationProxy();
- CreateQApplicationSignalProxy();
-
- string[] args = new string[argv.Length + 1];
- args[0] = System.Reflection.Assembly.GetExecutingAssembly().Location;
- argv.CopyTo(args, 1);
-
- NewQApplication(args);
- }
- private void NewQApplication(string[] argv) {
- ProxyQApplication().NewQApplication(argv.Length, argv);
- }
- [SmokeMethod("QApplication(int&, char**)")]
- private void NewQApplication(int argc, string[] argv) {
- ProxyQApplication().NewQApplication(argc, argv);
- }
- /* end Constructor #1 */
-
- /* Constructor #2 */
- public QApplication(string[] argv, bool GUIenabled) : this((Type) null) {
- Qyoto.Init_qyoto();
- CreateQApplicationProxy();
- CreateQApplicationSignalProxy();
-
- string[] args = new string[argv.Length + 1];
- args[0] = System.Reflection.Assembly.GetExecutingAssembly().Location;
- argv.CopyTo(args, 1);
-
- NewQApplication(args,GUIenabled);
- }
- private void NewQApplication(string[] argv, bool GUIenabled) {
- ProxyQApplication().NewQApplication(argv.Length, argv,GUIenabled);
- }
- [SmokeMethod("QApplication(int&, char**, bool)")]
- private void NewQApplication(int argc, string[] argv, bool GUIenabled) {
- ProxyQApplication().NewQApplication(argc, argv,GUIenabled);
- }
- /* end Constructor #2 */
-
- /* Constructor #3 */
- public QApplication(string[] argv, int arg3) : this((Type) null) {
- Qyoto.Init_qyoto();
- CreateQApplicationProxy();
- CreateQApplicationSignalProxy();
-
- string[] args = new string[argv.Length + 1];
- args[0] = System.Reflection.Assembly.GetExecutingAssembly().Location;
- argv.CopyTo(args, 1);
-
- NewQApplication(args,arg3);
- }
- private void NewQApplication(string[] argv, int arg3) {
- ProxyQApplication().NewQApplication(argv.Length,argv,arg3);
- }
- [SmokeMethod("QApplication(int&, char**, QApplication::Type)")]
- private void NewQApplication(int argc, string[] argv, int arg3) {
- ProxyQApplication().NewQApplication(argc,argv,arg3);
- }
- /* end Constructor #3 */
-
[SmokeMethod("mainWidget() const")]
public QWidget MainWidget() {
return ProxyQApplication().MainWidget();
@@ -651,8 +587,71 @@
private void DisposeQApplication() {
ProxyQApplication().DisposeQApplication();
}
-// public native string[] args();
+ /* Constructor #1 */
+ public QApplication(string[] argv) : this((Type) null) {
+ Qyoto.Init_qyoto();
+ CreateQApplicationProxy();
+ CreateQApplicationSignalProxy();
+
+ string[] args = new string[argv.Length + 1];
+ args[0] = System.Reflection.Assembly.GetExecutingAssembly().Location;
+ argv.CopyTo(args, 1);
+
+ NewQApplication(args);
+ }
+ private void NewQApplication(string[] argv) {
+ ProxyQApplication().NewQApplication(argv.Length, argv);
+ }
+ [SmokeMethod("QApplication(int&, char**)")]
+ private void NewQApplication(int argc, string[] argv) {
+ ProxyQApplication().NewQApplication(argc, argv);
+ }
+ /* end Constructor #1 */
+ /* Constructor #2 */
+ public QApplication(string[] argv, bool GUIenabled) : this((Type) null) {
+ Qyoto.Init_qyoto();
+ CreateQApplicationProxy();
+ CreateQApplicationSignalProxy();
+
+ string[] args = new string[argv.Length + 1];
+ args[0] = System.Reflection.Assembly.GetExecutingAssembly().Location;
+ argv.CopyTo(args, 1);
+
+ NewQApplication(args,GUIenabled);
+ }
+ private void NewQApplication(string[] argv, bool GUIenabled) {
+ ProxyQApplication().NewQApplication(argv.Length, argv,GUIenabled);
+ }
+ [SmokeMethod("QApplication(int&, char**, bool)")]
+ private void NewQApplication(int argc, string[] argv, bool GUIenabled) {
+ ProxyQApplication().NewQApplication(argc, argv,GUIenabled);
+ }
+ /* end Constructor #2 */
+
+ /* Constructor #3 */
+ public QApplication(string[] argv, int arg3) : this((Type) null) {
+ Qyoto.Init_qyoto();
+ CreateQApplicationProxy();
+ CreateQApplicationSignalProxy();
+
+ string[] args = new string[argv.Length + 1];
+ args[0] = System.Reflection.Assembly.GetExecutingAssembly().Location;
+ argv.CopyTo(args, 1);
+
+ NewQApplication(args,arg3);
+ }
+ private void NewQApplication(string[] argv, int arg3) {
+ ProxyQApplication().NewQApplication(argv.Length,argv,arg3);
+ }
+ [SmokeMethod("QApplication(int&, char**, QApplication::Type)")]
+ private void NewQApplication(int argc, string[] argv, int arg3) {
+ ProxyQApplication().NewQApplication(argc,argv,arg3);
+ }
+ /* end Constructor #3 */
+
+// public string[] args(return Argv());
+
protected void CreateQApplicationSignalProxy() {
SignalInvocation realProxy = new SignalInvocation(typeof(IQApplicationSignals), this);
_signalInterceptor = (IQApplicationSignals) realProxy.GetTransparentProxy();
--- trunk/playground/bindings/kimono/qt3qyoto/QSizePolicy.cs #492947:492948
@@ -28,13 +28,6 @@
return (IQSizePolicyProxy) _staticInterceptor;
}
- public const int HSize = 6;
- public const int HMask = 0x3f;
- public const int VMask = HMask<<HSize;
- public const int MayGrow = 1;
- public const int ExpMask = 2;
- public const int MayShrink = 4;
-
enum SizeType {
Fixed = 0,
Minimum = MayGrow,
@@ -179,5 +172,12 @@
private void DisposeQSizePolicy() {
ProxyQSizePolicy().DisposeQSizePolicy();
}
+
+ public const int HSize = 6;
+ public const int HMask = 0x3f;
+ public const int VMask = HMask<<HSize;
+ public const int MayGrow = 1;
+ public const int ExpMask = 2;
+ public const int MayShrink = 4;
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic