summaryrefslogtreecommitdiffstats
path: root/qtsharp/src/examples/samples/quantumfractals.cs
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 11:29:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 20:32:49 +0900
commit1eb017313b2ebc441dfc81e73a5d6573d03ea08d (patch)
tree8d37ac85ad8a529697fc81479852a039de534b8e /qtsharp/src/examples/samples/quantumfractals.cs
parent673e65a4a15e713643f4bb804f7af6dfdaa0d6d6 (diff)
downloadtdebindings-1eb017313b2ebc441dfc81e73a5d6573d03ea08d.tar.gz
tdebindings-1eb017313b2ebc441dfc81e73a5d6573d03ea08d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit faf33629bb6562a6f43f930afafe4b22e9cdb60b)
Diffstat (limited to 'qtsharp/src/examples/samples/quantumfractals.cs')
-rw-r--r--qtsharp/src/examples/samples/quantumfractals.cs38
1 files changed, 19 insertions, 19 deletions
diff --git a/qtsharp/src/examples/samples/quantumfractals.cs b/qtsharp/src/examples/samples/quantumfractals.cs
index 3020eae6..a213f948 100644
--- a/qtsharp/src/examples/samples/quantumfractals.cs
+++ b/qtsharp/src/examples/samples/quantumfractals.cs
@@ -37,9 +37,9 @@ namespace Qf {
//Setup the filemenu
filemenu = new TQPopupMenu (null, "filemenu");
- filemenu.InsertItem ("&Screenshot", display, TQT_SLOT ("SlotScreenshot()"));
+ filemenu.InsertItem ("&Screenshot", display, TQ_SLOT ("SlotScreenshot()"));
filemenu.InsertSeparator ();
- filemenu.InsertItem ("&Quit", tqApp, TQT_SLOT ("quit()"));
+ filemenu.InsertItem ("&Quit", tqApp, TQ_SLOT ("quit()"));
//Setup the shapemenu
shapemenu = new TQPopupMenu (null, "typemenu");
@@ -52,12 +52,12 @@ namespace Qf {
shapemenu.InsertItem( "&Icosidodecahedron", 6);
//Connect the shapemenu
- TQObject.Connect (shapemenu, TQT_SIGNAL ("activated(int)"),
- display, TQT_SLOT("SlotShapeMenu(int)"));
+ TQObject.Connect (shapemenu, TQ_SIGNAL ("activated(int)"),
+ display, TQ_SLOT("SlotShapeMenu(int)"));
//Setup the settingsmenu
settingsmenu = new TQPopupMenu (null, "settingsmenu");
- settingsmenu.InsertItem ("&Alpha", display, TQT_SLOT ("SlotSetAlpha()"));
+ settingsmenu.InsertItem ("&Alpha", display, TQ_SLOT ("SlotSetAlpha()"));
//Setup the menubar
menubar = new TQMenuBar (this, "");
@@ -144,20 +144,20 @@ namespace Qf {
buttons.AddWidget (intense);
//Connect the buttons and SlotQuit
- TQObject.Connect (start, TQT_SIGNAL ("clicked()"),
- this, TQT_SLOT ("SlotStart()"));
- TQObject.Connect (stop, TQT_SIGNAL ("clicked()"),
- this, TQT_SLOT ("SlotStop()"));
- TQObject.Connect (reset, TQT_SIGNAL ("clicked()"),
- this, TQT_SLOT ("SlotReset()"));
- TQObject.Connect (gray, TQT_SIGNAL ("clicked()"),
- this, TQT_SLOT ("SlotGray()"));
- TQObject.Connect (intense, TQT_SIGNAL ("clicked()"),
- this, TQT_SLOT ("SlotIntense()"));
- TQObject.Connect (buffer, TQT_SIGNAL ("Painted()"),
- this, TQT_SLOT ("SlotSetLabels()"));
- TQObject.Connect (tqApp, TQT_SIGNAL ("lastWindowClosed ()"),
- this, TQT_SLOT ("SlotQuit ()"));
+ TQObject.Connect (start, TQ_SIGNAL ("clicked()"),
+ this, TQ_SLOT ("SlotStart()"));
+ TQObject.Connect (stop, TQ_SIGNAL ("clicked()"),
+ this, TQ_SLOT ("SlotStop()"));
+ TQObject.Connect (reset, TQ_SIGNAL ("clicked()"),
+ this, TQ_SLOT ("SlotReset()"));
+ TQObject.Connect (gray, TQ_SIGNAL ("clicked()"),
+ this, TQ_SLOT ("SlotGray()"));
+ TQObject.Connect (intense, TQ_SIGNAL ("clicked()"),
+ this, TQ_SLOT ("SlotIntense()"));
+ TQObject.Connect (buffer, TQ_SIGNAL ("Painted()"),
+ this, TQ_SLOT ("SlotSetLabels()"));
+ TQObject.Connect (tqApp, TQ_SIGNAL ("lastWindowClosed ()"),
+ this, TQ_SLOT ("SlotQuit ()"));
//Layout labels
labels = new TQVBoxLayout (layout);