diff options
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 (); |