diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /doc/html/canvas-example.html | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/canvas-example.html')
-rw-r--r-- | doc/html/canvas-example.html | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/html/canvas-example.html b/doc/html/canvas-example.html index 2c36c44a3..2856d6842 100644 --- a/doc/html/canvas-example.html +++ b/doc/html/canvas-example.html @@ -448,52 +448,52 @@ static TQImage *logoimg; <a href="ntqmenubar.html">TQMenuBar</a>* menu = <a href="ntqmainwindow.html#menuBar">menuBar</a>(); <a href="ntqpopupmenu.html">TQPopupMenu</a>* file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menu ); -<a name="x2936"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Fill canvas", this, SLOT(init()), CTRL+Key_F); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Erase canvas", this, SLOT(clear()), CTRL+Key_E); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>("&New view", this, SLOT(newView()), CTRL+Key_N); +<a name="x2936"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Fill canvas", this, TQ_SLOT(init()), CTRL+Key_F); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Erase canvas", this, TQ_SLOT(clear()), CTRL+Key_E); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>("&New view", this, TQ_SLOT(newView()), CTRL+Key_N); file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Print...", this, SLOT(print()), CTRL+Key_P); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Print...", this, TQ_SLOT(print()), CTRL+Key_P); file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>("E&xit", tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>("E&xit", tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()), CTRL+Key_Q); menu-><a href="ntqmenudata.html#insertItem">insertItem</a>("&File", file); <a href="ntqpopupmenu.html">TQPopupMenu</a>* edit = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menu ); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Circle", this, SLOT(addCircle()), ALT+Key_C); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Hexagon", this, SLOT(addHexagon()), ALT+Key_H); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Polygon", this, SLOT(addPolygon()), ALT+Key_P); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add Spl&ine", this, SLOT(addSpline()), ALT+Key_I); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Text", this, SLOT(addText()), ALT+Key_T); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Line", this, SLOT(addLine()), ALT+Key_L); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Rectangle", this, SLOT(addRectangle()), ALT+Key_R); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Sprite", this, SLOT(addSprite()), ALT+Key_S); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Create &Mesh", this, SLOT(addMesh()), ALT+Key_M ); - edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Alpha-blended image", this, SLOT(addButterfly()), ALT+Key_A); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Circle", this, TQ_SLOT(addCircle()), ALT+Key_C); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Hexagon", this, TQ_SLOT(addHexagon()), ALT+Key_H); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Polygon", this, TQ_SLOT(addPolygon()), ALT+Key_P); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add Spl&ine", this, TQ_SLOT(addSpline()), ALT+Key_I); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Text", this, TQ_SLOT(addText()), ALT+Key_T); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Line", this, TQ_SLOT(addLine()), ALT+Key_L); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Rectangle", this, TQ_SLOT(addRectangle()), ALT+Key_R); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Sprite", this, TQ_SLOT(addSprite()), ALT+Key_S); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Create &Mesh", this, TQ_SLOT(addMesh()), ALT+Key_M ); + edit-><a href="ntqmenudata.html#insertItem">insertItem</a>("Add &Alpha-blended image", this, TQ_SLOT(addButterfly()), ALT+Key_A); menu-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Edit", edit); <a href="ntqpopupmenu.html">TQPopupMenu</a>* view = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menu ); - view-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Enlarge", this, SLOT(enlarge()), SHIFT+CTRL+Key_Plus); - view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Shr&ink", this, SLOT(shrink()), SHIFT+CTRL+Key_Minus); + view-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Enlarge", this, TQ_SLOT(enlarge()), SHIFT+CTRL+Key_Plus); + view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Shr&ink", this, TQ_SLOT(shrink()), SHIFT+CTRL+Key_Minus); view-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - view-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Rotate clockwise", this, SLOT(rotateClockwise()), CTRL+Key_PageDown); - view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Rotate &counterclockwise", this, SLOT(rotateCounterClockwise()), CTRL+Key_PageUp); - view-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Zoom in", this, SLOT(zoomIn()), CTRL+Key_Plus); - view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Zoom &out", this, SLOT(zoomOut()), CTRL+Key_Minus); - view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Translate left", this, SLOT(moveL()), CTRL+Key_Left); - view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Translate right", this, SLOT(moveR()), CTRL+Key_Right); - view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Translate up", this, SLOT(moveU()), CTRL+Key_Up); - view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Translate down", this, SLOT(moveD()), CTRL+Key_Down); - view-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Mirror", this, SLOT(mirror()), CTRL+Key_Home); + view-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Rotate clockwise", this, TQ_SLOT(rotateClockwise()), CTRL+Key_PageDown); + view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Rotate &counterclockwise", this, TQ_SLOT(rotateCounterClockwise()), CTRL+Key_PageUp); + view-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Zoom in", this, TQ_SLOT(zoomIn()), CTRL+Key_Plus); + view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Zoom &out", this, TQ_SLOT(zoomOut()), CTRL+Key_Minus); + view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Translate left", this, TQ_SLOT(moveL()), CTRL+Key_Left); + view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Translate right", this, TQ_SLOT(moveR()), CTRL+Key_Right); + view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Translate up", this, TQ_SLOT(moveU()), CTRL+Key_Up); + view-><a href="ntqmenudata.html#insertItem">insertItem</a>("Translate down", this, TQ_SLOT(moveD()), CTRL+Key_Down); + view-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Mirror", this, TQ_SLOT(mirror()), CTRL+Key_Home); menu-><a href="ntqmenudata.html#insertItem">insertItem</a>("&View", view); options = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menu ); - dbf_id = options-><a href="ntqmenudata.html#insertItem">insertItem</a>("Double buffer", this, SLOT(toggleDoubleBuffer())); + dbf_id = options-><a href="ntqmenudata.html#insertItem">insertItem</a>("Double buffer", this, TQ_SLOT(toggleDoubleBuffer())); <a name="x2939"></a> options-><a href="ntqmenudata.html#setItemChecked">setItemChecked</a>(dbf_id, TRUE); menu-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Options",options); menu-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); <a href="ntqpopupmenu.html">TQPopupMenu</a>* help = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( menu ); - help-><a href="ntqmenudata.html#insertItem">insertItem</a>("&About", this, SLOT(help()), Key_F1); + help-><a href="ntqmenudata.html#insertItem">insertItem</a>("&About", this, TQ_SLOT(help()), Key_F1); help-><a href="ntqmenudata.html#setItemChecked">setItemChecked</a>(dbf_id, TRUE); menu-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Help",help); @@ -922,7 +922,7 @@ int main(int argc, char** argv) else <a name="x2968"></a> m.<a href="ntqwidget.html#showMaximized">showMaximized</a>(); - TQObject::<a href="ntqobject.html#connect">connect</a>( tqApp, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), tqApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + TQObject::<a href="ntqobject.html#connect">connect</a>( tqApp, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); return app.<a href="ntqapplication.html#exec">exec</a>(); } |