summaryrefslogtreecommitdiffstats
path: root/tdefifteen
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 12:28:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 12:28:49 +0900
commitc20f4d8f2cf03c69fcecc80d63fe3cbb80f51610 (patch)
tree50b08262da538c5b91f77e83e4b80d7fd6dbe0de /tdefifteen
parent51f65427771c47f6d34cda56b07d9d82bd0bfd33 (diff)
downloadtdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.tar.gz
tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdefifteen')
-rw-r--r--tdefifteen/src/gameboard.cpp2
-rw-r--r--tdefifteen/src/mainwindow.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/tdefifteen/src/gameboard.cpp b/tdefifteen/src/gameboard.cpp
index 1cca80f4..0fb2084c 100644
--- a/tdefifteen/src/gameboard.cpp
+++ b/tdefifteen/src/gameboard.cpp
@@ -58,7 +58,7 @@ GameBoard::GameBoard(TQWidget *parent, const char *name)
dx = dy = 0;
tmr = new TQTimer(this);
- TQObject::connect(tmr, SIGNAL(timeout()), this, SLOT(moveItem()));
+ TQObject::connect(tmr, TQ_SIGNAL(timeout()), this, TQ_SLOT(moveItem()));
setEnabled(TRUE);
origin = xpm;
}
diff --git a/tdefifteen/src/mainwindow.cpp b/tdefifteen/src/mainwindow.cpp
index 258b0220..688c1743 100644
--- a/tdefifteen/src/mainwindow.cpp
+++ b/tdefifteen/src/mainwindow.cpp
@@ -11,11 +11,11 @@
MainWindow::MainWindow(TQWidget* parent, const char* name) : TDEMainWindow(parent, name)
{
- TDEAction* actionQuit = KStdAction::quit(this, SLOT(close()), 0);
- TDEAction* actionNew = new TDEAction( "&New Game", "reload", TQt::CTRL + TQt::Key_N, this, SLOT(newGame()), this, "New Game");
+ TDEAction* actionQuit = KStdAction::quit(this, TQ_SLOT(close()), 0);
+ TDEAction* actionNew = new TDEAction( "&New Game", "reload", TQt::CTRL + TQt::Key_N, this, TQ_SLOT(newGame()), this, "New Game");
mMenu = new TDEPopupMenu(this);
- mMenu->insertItem(SmallIcon("images_display"), "Load an image", this, SLOT(loadImage()), TQt::CTRL + TQt::Key_L);
+ mMenu->insertItem(SmallIcon("images_display"), "Load an image", this, TQ_SLOT(loadImage()), TQt::CTRL + TQt::Key_L);
mMenu->insertSeparator();
actionNew->plug(mMenu);