diff options
author | Timothy Pearson <[email protected]> | 2011-12-05 16:20:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-05 16:20:48 -0600 |
commit | e63beeb5bdb82987b1e00bc35178667786fbad48 (patch) | |
tree | ab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /qtsharp/src/examples/samples/emit.cs | |
parent | 67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff) | |
download | tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip |
Fix incorrect conversion
Diffstat (limited to 'qtsharp/src/examples/samples/emit.cs')
-rw-r--r-- | qtsharp/src/examples/samples/emit.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qtsharp/src/examples/samples/emit.cs b/qtsharp/src/examples/samples/emit.cs index a15868db..125166a2 100644 --- a/qtsharp/src/examples/samples/emit.cs +++ b/qtsharp/src/examples/samples/emit.cs @@ -6,12 +6,12 @@ namespace QtSamples { using Qt; [DeclareQtSignal ("MySignal()")] - public class EmitSample: TTQVBox { + public class EmitSample: TQVBox { public EmitSample (): this (null, "") {} - public EmitSample (TTQWidget parent, string name): base () + public EmitSample (TQWidget parent, string name): base () { - TTQPushButton pb = new TTQPushButton ("Papa Smurf", this); + TQPushButton pb = new TQPushButton ("Papa Smurf", this); Connect (pb, TQT_SIGNAL ("clicked ()"), TQT_SLOT ("DoEmit ()")); Connect (this, TQT_SIGNAL ("MySignal ()"), TQT_SLOT ("PrintStuff ()")); @@ -29,7 +29,7 @@ namespace QtSamples { public static int Main (string[] args) { - TTQApplication app = new TTQApplication (args); + TQApplication app = new TQApplication (args); EmitSample es = new EmitSample (); app.SetMainWidget (es); es.Show (); |