summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/examples/samples
diff options
context:
space:
mode:
Diffstat (limited to 'qtsharp/src/examples/samples')
-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
3 files changed, 4 insertions, 4 deletions
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()"));