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 81a5eb89..1039aa34 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 : TTQVBox {
+ public class HelloWorld : TQVBox {
public static void Main (String[] args)
{
- TTQApplication app = new TTQApplication (args);
+ TQApplication app = new TQApplication (args);
HelloWorld hello = new HelloWorld ();
app.SetMainWidget (hello);
hello.Show ();
@@ -24,13 +24,13 @@ namespace QtSamples {
public HelloWorld () : base (null)
{
- TTQPushButton pb = new TTQPushButton ("Hello Qt-Sharp-0.7!", this);
- TTQObject.Connect (pb, TQT_SIGNAL ("clicked()"), this, TQT_SLOT("SlotClicked()"));
+ TQPushButton pb = new TQPushButton ("Hello Qt-Sharp-0.7!", this);
+ TQObject.Connect (pb, TQT_SIGNAL ("clicked()"), this, TQT_SLOT("SlotClicked()"));
}
public void SlotClicked ()
{
- Console.WriteLine ("TTQPushButton Clicked!");
+ Console.WriteLine ("TQPushButton Clicked!");
}
}
}