summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/examples/samples/emit.cs
diff options
context:
space:
mode:
Diffstat (limited to 'qtsharp/src/examples/samples/emit.cs')
-rw-r--r--qtsharp/src/examples/samples/emit.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/qtsharp/src/examples/samples/emit.cs b/qtsharp/src/examples/samples/emit.cs
index 125166a2..a15868db 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: TQVBox {
+ public class EmitSample: TTQVBox {
public EmitSample (): this (null, "") {}
- public EmitSample (TQWidget parent, string name): base ()
+ public EmitSample (TTQWidget parent, string name): base ()
{
- TQPushButton pb = new TQPushButton ("Papa Smurf", this);
+ TTQPushButton pb = new TTQPushButton ("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)
{
- TQApplication app = new TQApplication (args);
+ TTQApplication app = new TTQApplication (args);
EmitSample es = new EmitSample ();
app.SetMainWidget (es);
es.Show ();