summaryrefslogtreecommitdiffstats
path: root/qtsharp
diff options
context:
space:
mode:
Diffstat (limited to 'qtsharp')
-rw-r--r--qtsharp/src/bindings/static/TQObject.cs2
-rw-r--r--qtsharp/src/examples/samples/display.cs2
-rw-r--r--qtsharp/src/examples/samples/quantumfractals.cs4
-rw-r--r--qtsharp/src/examples/samples/scribblewindow.cs2
-rw-r--r--qtsharp/src/examples/tutorials/t4.cs4
-rw-r--r--qtsharp/src/examples/tutorials/t5.cs2
-rw-r--r--qtsharp/src/examples/tutorials/t6.cs2
-rw-r--r--qtsharp/src/examples/tutorials/t7.cs2
8 files changed, 10 insertions, 10 deletions
diff --git a/qtsharp/src/bindings/static/TQObject.cs b/qtsharp/src/bindings/static/TQObject.cs
index 2df22d50..1ef8c354 100644
--- a/qtsharp/src/bindings/static/TQObject.cs
+++ b/qtsharp/src/bindings/static/TQObject.cs
@@ -43,7 +43,7 @@ namespace Qt {
private QtSignalMap csSignalMap;
private QtSignalMap cppSignalMap;
- public static TQApplication qApp {
+ public static TQApplication tqApp {
get {return qapp;}
set {qapp = value;}
}
diff --git a/qtsharp/src/examples/samples/display.cs b/qtsharp/src/examples/samples/display.cs
index 9f2f4939..daf8daa0 100644
--- a/qtsharp/src/examples/samples/display.cs
+++ b/qtsharp/src/examples/samples/display.cs
@@ -26,7 +26,7 @@ namespace QtSamples {
public Display ()
{
filemenu = new TQPopupMenu (null, "filemenu");
- filemenu.InsertItem ("&Quit", qApp, TQT_SLOT ("quit()"));
+ filemenu.InsertItem ("&Quit", tqApp, TQT_SLOT ("quit()"));
aboutmenu = new TQPopupMenu(null, "aboutmenu");
aboutmenu.InsertItem("&About Qt-Sharp", this, TQT_SLOT("slotAbout()"));
diff --git a/qtsharp/src/examples/samples/quantumfractals.cs b/qtsharp/src/examples/samples/quantumfractals.cs
index 9303b831..3020eae6 100644
--- a/qtsharp/src/examples/samples/quantumfractals.cs
+++ b/qtsharp/src/examples/samples/quantumfractals.cs
@@ -39,7 +39,7 @@ namespace Qf {
filemenu = new TQPopupMenu (null, "filemenu");
filemenu.InsertItem ("&Screenshot", display, TQT_SLOT ("SlotScreenshot()"));
filemenu.InsertSeparator ();
- filemenu.InsertItem ("&Quit", qApp, TQT_SLOT ("quit()"));
+ filemenu.InsertItem ("&Quit", tqApp, TQT_SLOT ("quit()"));
//Setup the shapemenu
shapemenu = new TQPopupMenu (null, "typemenu");
@@ -156,7 +156,7 @@ namespace Qf {
this, TQT_SLOT ("SlotIntense()"));
TQObject.Connect (buffer, TQT_SIGNAL ("Painted()"),
this, TQT_SLOT ("SlotSetLabels()"));
- TQObject.Connect (qApp, TQT_SIGNAL ("lastWindowClosed ()"),
+ TQObject.Connect (tqApp, TQT_SIGNAL ("lastWindowClosed ()"),
this, TQT_SLOT ("SlotQuit ()"));
//Layout labels
diff --git a/qtsharp/src/examples/samples/scribblewindow.cs b/qtsharp/src/examples/samples/scribblewindow.cs
index 4013c355..405b0e31 100644
--- a/qtsharp/src/examples/samples/scribblewindow.cs
+++ b/qtsharp/src/examples/samples/scribblewindow.cs
@@ -39,7 +39,7 @@ namespace QtSamples {
filemenu.InsertItem ("&Load", this, TQT_SLOT ("SlotLoad()") );
filemenu.InsertItem ("&Save", this, TQT_SLOT ("SlotSave()") );
filemenu.InsertSeparator ();
- filemenu.InsertItem ("&Quit", qApp, TQT_SLOT ("quit()"));
+ filemenu.InsertItem ("&Quit", tqApp, TQT_SLOT ("quit()"));
aboutmenu = new TQPopupMenu (null, "helpmenu");
aboutmenu.InsertItem ("&About Qt-Sharp", this, TQT_SLOT ("SlotAboutQtSharp()"));
diff --git a/qtsharp/src/examples/tutorials/t4.cs b/qtsharp/src/examples/tutorials/t4.cs
index e868cc7e..b3e66a07 100644
--- a/qtsharp/src/examples/tutorials/t4.cs
+++ b/qtsharp/src/examples/tutorials/t4.cs
@@ -17,8 +17,8 @@ public class MyWidget : TQWidget {
quit.SetGeometry (62, 40, 75, 30);
quit.SetFont (new TQFont ("Times", 18, TQFont.Weight.Bold) );
- Connect ( quit, TQT_SIGNAL ("clicked()"), qApp, TQT_SLOT ("Quit()") );
- // In C++, qApp is a global variable. Here it's a property of the TQObject
+ Connect ( quit, TQT_SIGNAL ("clicked()"), tqApp, TQT_SLOT ("Quit()") );
+ // In C++, tqApp is a global variable. Here it's a property of the TQObject
// class, which we inherit, giving the same effect. We also inherit the
// static method connect().
}
diff --git a/qtsharp/src/examples/tutorials/t5.cs b/qtsharp/src/examples/tutorials/t5.cs
index 0488969d..05ff5e96 100644
--- a/qtsharp/src/examples/tutorials/t5.cs
+++ b/qtsharp/src/examples/tutorials/t5.cs
@@ -13,7 +13,7 @@ public class MyWidget : TQVBox {
TQPushButton quit = new TQPushButton ("Quit", this, "quit");
quit.SetFont ( new TQFont ("Times", 18, TQFont.Weight.Bold) );
- TQObject.Connect ( quit, TQT_SIGNAL ("clicked()"), qApp, TQT_SLOT ("Quit()") );
+ TQObject.Connect ( quit, TQT_SIGNAL ("clicked()"), tqApp, TQT_SLOT ("Quit()") );
TQLCDNumber lcd = new TQLCDNumber (2, this, "lcd" );
diff --git a/qtsharp/src/examples/tutorials/t6.cs b/qtsharp/src/examples/tutorials/t6.cs
index 6fee48e1..910d13d1 100644
--- a/qtsharp/src/examples/tutorials/t6.cs
+++ b/qtsharp/src/examples/tutorials/t6.cs
@@ -31,7 +31,7 @@ public class MyWidget : TQVBox {
TQPushButton quit = new TQPushButton ("Quit", this, "quit");
quit.SetFont ( new TQFont ("Times", 18, TQFont.Weight.Bold) );
- Connect ( quit, TQT_SIGNAL ("clicked()"), qApp, TQT_SLOT ("Quit()") );
+ Connect ( quit, TQT_SIGNAL ("clicked()"), tqApp, TQT_SLOT ("Quit()") );
TQGrid grid = new TQGrid (4, this);
diff --git a/qtsharp/src/examples/tutorials/t7.cs b/qtsharp/src/examples/tutorials/t7.cs
index e1891d26..1372bf15 100644
--- a/qtsharp/src/examples/tutorials/t7.cs
+++ b/qtsharp/src/examples/tutorials/t7.cs
@@ -43,7 +43,7 @@ public class MyWidget : TQVBox {
TQPushButton quit = new TQPushButton ("Quit", this, "quit");
quit.SetFont ( new TQFont ("Times", 18, TQFont.Weight.Bold) );
- Connect ( quit, TQT_SIGNAL ("clicked()"), qApp, TQT_SLOT ("Quit()") );
+ Connect ( quit, TQT_SIGNAL ("clicked()"), tqApp, TQT_SLOT ("Quit()") );
TQGrid grid = new TQGrid (4, this);