From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- doc/html/canvas-example.html | 58 ++++++++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'doc/html/canvas-example.html') 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; TQMenuBar* menu = menuBar(); TQPopupMenu* file = new TQPopupMenu( menu ); - file->insertItem("&Fill canvas", this, SLOT(init()), CTRL+Key_F); - file->insertItem("&Erase canvas", this, SLOT(clear()), CTRL+Key_E); - file->insertItem("&New view", this, SLOT(newView()), CTRL+Key_N); + file->insertItem("&Fill canvas", this, TQ_SLOT(init()), CTRL+Key_F); + file->insertItem("&Erase canvas", this, TQ_SLOT(clear()), CTRL+Key_E); + file->insertItem("&New view", this, TQ_SLOT(newView()), CTRL+Key_N); file->insertSeparator(); - file->insertItem("&Print...", this, SLOT(print()), CTRL+Key_P); + file->insertItem("&Print...", this, TQ_SLOT(print()), CTRL+Key_P); file->insertSeparator(); - file->insertItem("E&xit", tqApp, SLOT(quit()), CTRL+Key_Q); + file->insertItem("E&xit", tqApp, TQ_SLOT(quit()), CTRL+Key_Q); menu->insertItem("&File", file); TQPopupMenu* edit = new TQPopupMenu( menu ); - edit->insertItem("Add &Circle", this, SLOT(addCircle()), ALT+Key_C); - edit->insertItem("Add &Hexagon", this, SLOT(addHexagon()), ALT+Key_H); - edit->insertItem("Add &Polygon", this, SLOT(addPolygon()), ALT+Key_P); - edit->insertItem("Add Spl&ine", this, SLOT(addSpline()), ALT+Key_I); - edit->insertItem("Add &Text", this, SLOT(addText()), ALT+Key_T); - edit->insertItem("Add &Line", this, SLOT(addLine()), ALT+Key_L); - edit->insertItem("Add &Rectangle", this, SLOT(addRectangle()), ALT+Key_R); - edit->insertItem("Add &Sprite", this, SLOT(addSprite()), ALT+Key_S); - edit->insertItem("Create &Mesh", this, SLOT(addMesh()), ALT+Key_M ); - edit->insertItem("Add &Alpha-blended image", this, SLOT(addButterfly()), ALT+Key_A); + edit->insertItem("Add &Circle", this, TQ_SLOT(addCircle()), ALT+Key_C); + edit->insertItem("Add &Hexagon", this, TQ_SLOT(addHexagon()), ALT+Key_H); + edit->insertItem("Add &Polygon", this, TQ_SLOT(addPolygon()), ALT+Key_P); + edit->insertItem("Add Spl&ine", this, TQ_SLOT(addSpline()), ALT+Key_I); + edit->insertItem("Add &Text", this, TQ_SLOT(addText()), ALT+Key_T); + edit->insertItem("Add &Line", this, TQ_SLOT(addLine()), ALT+Key_L); + edit->insertItem("Add &Rectangle", this, TQ_SLOT(addRectangle()), ALT+Key_R); + edit->insertItem("Add &Sprite", this, TQ_SLOT(addSprite()), ALT+Key_S); + edit->insertItem("Create &Mesh", this, TQ_SLOT(addMesh()), ALT+Key_M ); + edit->insertItem("Add &Alpha-blended image", this, TQ_SLOT(addButterfly()), ALT+Key_A); menu->insertItem("&Edit", edit); TQPopupMenu* view = new TQPopupMenu( menu ); - view->insertItem("&Enlarge", this, SLOT(enlarge()), SHIFT+CTRL+Key_Plus); - view->insertItem("Shr&ink", this, SLOT(shrink()), SHIFT+CTRL+Key_Minus); + view->insertItem("&Enlarge", this, TQ_SLOT(enlarge()), SHIFT+CTRL+Key_Plus); + view->insertItem("Shr&ink", this, TQ_SLOT(shrink()), SHIFT+CTRL+Key_Minus); view->insertSeparator(); - view->insertItem("&Rotate clockwise", this, SLOT(rotateClockwise()), CTRL+Key_PageDown); - view->insertItem("Rotate &counterclockwise", this, SLOT(rotateCounterClockwise()), CTRL+Key_PageUp); - view->insertItem("&Zoom in", this, SLOT(zoomIn()), CTRL+Key_Plus); - view->insertItem("Zoom &out", this, SLOT(zoomOut()), CTRL+Key_Minus); - view->insertItem("Translate left", this, SLOT(moveL()), CTRL+Key_Left); - view->insertItem("Translate right", this, SLOT(moveR()), CTRL+Key_Right); - view->insertItem("Translate up", this, SLOT(moveU()), CTRL+Key_Up); - view->insertItem("Translate down", this, SLOT(moveD()), CTRL+Key_Down); - view->insertItem("&Mirror", this, SLOT(mirror()), CTRL+Key_Home); + view->insertItem("&Rotate clockwise", this, TQ_SLOT(rotateClockwise()), CTRL+Key_PageDown); + view->insertItem("Rotate &counterclockwise", this, TQ_SLOT(rotateCounterClockwise()), CTRL+Key_PageUp); + view->insertItem("&Zoom in", this, TQ_SLOT(zoomIn()), CTRL+Key_Plus); + view->insertItem("Zoom &out", this, TQ_SLOT(zoomOut()), CTRL+Key_Minus); + view->insertItem("Translate left", this, TQ_SLOT(moveL()), CTRL+Key_Left); + view->insertItem("Translate right", this, TQ_SLOT(moveR()), CTRL+Key_Right); + view->insertItem("Translate up", this, TQ_SLOT(moveU()), CTRL+Key_Up); + view->insertItem("Translate down", this, TQ_SLOT(moveD()), CTRL+Key_Down); + view->insertItem("&Mirror", this, TQ_SLOT(mirror()), CTRL+Key_Home); menu->insertItem("&View", view); options = new TQPopupMenu( menu ); - dbf_id = options->insertItem("Double buffer", this, SLOT(toggleDoubleBuffer())); + dbf_id = options->insertItem("Double buffer", this, TQ_SLOT(toggleDoubleBuffer())); options->setItemChecked(dbf_id, TRUE); menu->insertItem("&Options",options); menu->insertSeparator(); TQPopupMenu* help = new TQPopupMenu( menu ); - help->insertItem("&About", this, SLOT(help()), Key_F1); + help->insertItem("&About", this, TQ_SLOT(help()), Key_F1); help->setItemChecked(dbf_id, TRUE); menu->insertItem("&Help",help); @@ -922,7 +922,7 @@ int main(int argc, char** argv) else m.showMaximized(); - TQObject::connect( tqApp, SIGNAL(lastWindowClosed()), tqApp, SLOT(quit()) ); + TQObject::connect( tqApp, TQ_SIGNAL(lastWindowClosed()), tqApp, TQ_SLOT(quit()) ); return app.exec(); } -- cgit v1.2.1