summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/examples/samples/hello.cs
diff options
context:
space:
mode:
Diffstat (limited to 'qtsharp/src/examples/samples/hello.cs')
-rw-r--r--qtsharp/src/examples/samples/hello.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/qtsharp/src/examples/samples/hello.cs b/qtsharp/src/examples/samples/hello.cs
index 1039aa34..81a5eb89 100644
--- a/qtsharp/src/examples/samples/hello.cs
+++ b/qtsharp/src/examples/samples/hello.cs
@@ -11,11 +11,11 @@ namespace QtSamples {
using Qt;
using System;
- public class HelloWorld : TQVBox {
+ public class HelloWorld : TTQVBox {
public static void Main (String[] args)
{
- TQApplication app = new TQApplication (args);
+ TTQApplication app = new TTQApplication (args);
HelloWorld hello = new HelloWorld ();
app.SetMainWidget (hello);
hello.Show ();
@@ -24,13 +24,13 @@ namespace QtSamples {
public HelloWorld () : base (null)
{
- TQPushButton pb = new TQPushButton ("Hello Qt-Sharp-0.7!", this);
- TQObject.Connect (pb, TQT_SIGNAL ("clicked()"), this, TQT_SLOT("SlotClicked()"));
+ TTQPushButton pb = new TTQPushButton ("Hello Qt-Sharp-0.7!", this);
+ TTQObject.Connect (pb, TQT_SIGNAL ("clicked()"), this, TQT_SLOT("SlotClicked()"));
}
public void SlotClicked ()
{
- Console.WriteLine ("TQPushButton Clicked!");
+ Console.WriteLine ("TTQPushButton Clicked!");
}
}
}