diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 11:29:06 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 11:45:40 +0900 |
commit | faf33629bb6562a6f43f930afafe4b22e9cdb60b (patch) | |
tree | 8fc6dc6d999a3a039ace28db2fe5b96712fa18e0 /qtsharp/src/examples/samples/quantumfractals.cs | |
parent | 0ff7d227c65fecb4fb7482ecd679acb594ef5cf7 (diff) | |
download | tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.tar.gz tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'qtsharp/src/examples/samples/quantumfractals.cs')
-rw-r--r-- | qtsharp/src/examples/samples/quantumfractals.cs | 38 |
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); |