diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 12:28:49 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 12:28:49 +0900 |
commit | c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610 (patch) | |
tree | 50b08262da538c5b91f77e83e4b80d7fd6dbe0de /tdefifteen/src/mainwindow.cpp | |
parent | 51f65427771c47f6d34cda56b07d9d82bd0bfd33 (diff) | |
download | tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.tar.gz tdegames-c20f4d8f2cf03c69fcecc80d63fe3cbb80f51610.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdefifteen/src/mainwindow.cpp')
-rw-r--r-- | tdefifteen/src/mainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |