diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:46:02 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:46:02 +0900 |
commit | 64efc076184547c5d23863fb027dd3a01d552f19 (patch) | |
tree | cbce71b757decf6ecf1b8cb324cedcaf0ec8a011 /twin-styles/kstep/nextclient.cpp | |
parent | 10f6b171a83061ddb1feb22d148fc956eb7fe6a4 (diff) | |
download | tdeartwork-64efc076184547c5d23863fb027dd3a01d552f19.tar.gz tdeartwork-64efc076184547c5d23863fb027dd3a01d552f19.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'twin-styles/kstep/nextclient.cpp')
-rw-r--r-- | twin-styles/kstep/nextclient.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/twin-styles/kstep/nextclient.cpp b/twin-styles/kstep/nextclient.cpp index fefcf019..8cb138bc 100644 --- a/twin-styles/kstep/nextclient.cpp +++ b/twin-styles/kstep/nextclient.cpp @@ -481,8 +481,8 @@ void NextClient::addButtons(TQBoxLayout* titleLayout, const TQString& spec) new NextButton(this, "maximize", maximize_bits, 10, 10, i18n("Maximize"), TQt::LeftButton|TQt::MidButton|TQt::RightButton); titleLayout->addWidget( button[MAXIMIZE_IDX] ); - connect( button[MAXIMIZE_IDX], TQT_SIGNAL(clicked()), - this, TQT_SLOT(maximizeButtonClicked()) ); + connect( button[MAXIMIZE_IDX], TQ_SIGNAL(clicked()), + this, TQ_SLOT(maximizeButtonClicked()) ); } break; @@ -491,8 +491,8 @@ void NextClient::addButtons(TQBoxLayout* titleLayout, const TQString& spec) button[HELP_IDX] = new NextButton(this, "help", question_bits, 10, 10, i18n("Help")); titleLayout->addWidget( button[HELP_IDX] ); - connect( button[HELP_IDX], TQT_SIGNAL(clicked()), - this, TQT_SLOT(showContextHelp()) ); + connect( button[HELP_IDX], TQ_SIGNAL(clicked()), + this, TQ_SLOT(showContextHelp()) ); } break; @@ -502,8 +502,8 @@ void NextClient::addButtons(TQBoxLayout* titleLayout, const TQString& spec) new NextButton(this, "iconify", iconify_bits, 10, 10, i18n("Minimize")); titleLayout->addWidget( button[ICONIFY_IDX] ); - connect( button[ICONIFY_IDX], TQT_SIGNAL(clicked()), - this, TQT_SLOT(minimize()) ); + connect( button[ICONIFY_IDX], TQ_SIGNAL(clicked()), + this, TQ_SLOT(minimize()) ); } break; @@ -512,16 +512,16 @@ void NextClient::addButtons(TQBoxLayout* titleLayout, const TQString& spec) new NextButton(this, "menu", NULL, 10, 10, i18n("Menu"), TQt::LeftButton|TQt::RightButton); titleLayout->addWidget( button[MENU_IDX] ); // NOTE DIFFERENCE: capture pressed(), not clicked() - connect( button[MENU_IDX], TQT_SIGNAL(pressed()), - this, TQT_SLOT(menuButtonPressed()) ); + connect( button[MENU_IDX], TQ_SIGNAL(pressed()), + this, TQ_SLOT(menuButtonPressed()) ); break; case 'L': button[SHADE_IDX] = new NextButton(this, "shade", NULL, 0, 0, i18n("Shade")); titleLayout->addWidget( button[SHADE_IDX] ); - connect( button[SHADE_IDX], TQT_SIGNAL(clicked()), - this, TQT_SLOT(shadeClicked()) ); + connect( button[SHADE_IDX], TQ_SIGNAL(clicked()), + this, TQ_SLOT(shadeClicked()) ); // NOTE DIFFERENCE: set the pixmap separately (2 states) shadeChange(); break; @@ -530,8 +530,8 @@ void NextClient::addButtons(TQBoxLayout* titleLayout, const TQString& spec) button[STICKY_IDX] = new NextButton(this, "sticky", NULL, 0, 0, i18n("On all desktops")); titleLayout->addWidget( button[STICKY_IDX] ); - connect( button[STICKY_IDX], TQT_SIGNAL(clicked()), - this, TQT_SLOT(toggleOnAllDesktops()) ); + connect( button[STICKY_IDX], TQ_SIGNAL(clicked()), + this, TQ_SLOT(toggleOnAllDesktops()) ); // NOTE DIFFERENCE: set the pixmap separately (2 states) desktopChange(); break; @@ -539,20 +539,20 @@ void NextClient::addButtons(TQBoxLayout* titleLayout, const TQString& spec) case 'F': button[ABOVE_IDX] = new NextButton(this, "above", NULL, 0, 0, ""); titleLayout->addWidget( button[ABOVE_IDX] ); - connect( button[ABOVE_IDX], TQT_SIGNAL(clicked()), - this, TQT_SLOT(aboveClicked()) ); - connect(this, TQT_SIGNAL(keepAboveChanged(bool)), - TQT_SLOT(keepAboveChange(bool))); + connect( button[ABOVE_IDX], TQ_SIGNAL(clicked()), + this, TQ_SLOT(aboveClicked()) ); + connect(this, TQ_SIGNAL(keepAboveChanged(bool)), + TQ_SLOT(keepAboveChange(bool))); keepAboveChange(keepAbove()); break; case 'B': button[BELOW_IDX] = new NextButton(this, "below", NULL, 0, 0, ""); titleLayout->addWidget( button[BELOW_IDX] ); - connect( button[BELOW_IDX], TQT_SIGNAL(clicked()), - this, TQT_SLOT(belowClicked()) ); - connect(this, TQT_SIGNAL(keepBelowChanged(bool)), - TQT_SLOT(keepBelowChange(bool))); + connect( button[BELOW_IDX], TQ_SIGNAL(clicked()), + this, TQ_SLOT(belowClicked()) ); + connect(this, TQ_SIGNAL(keepBelowChanged(bool)), + TQ_SLOT(keepBelowChange(bool))); keepBelowChange(keepBelow()); break; @@ -562,8 +562,8 @@ void NextClient::addButtons(TQBoxLayout* titleLayout, const TQString& spec) new NextButton(this, "close", close_bits, 10, 10, i18n("Close")); titleLayout->addWidget(button[CLOSE_IDX]); - connect(button[CLOSE_IDX], TQT_SIGNAL(clicked()), - this, TQT_SLOT(closeWindow())); + connect(button[CLOSE_IDX], TQ_SIGNAL(clicked()), + this, TQ_SLOT(closeWindow())); } break; @@ -574,8 +574,8 @@ void NextClient::addButtons(TQBoxLayout* titleLayout, const TQString& spec) i18n("Resize")); titleLayout->addWidget(button[RESIZE_IDX]); // NOTE DIFFERENCE: capture pressed(), not clicked() - connect(button[RESIZE_IDX], TQT_SIGNAL(pressed()), - this, TQT_SLOT(resizePressed())); + connect(button[RESIZE_IDX], TQ_SIGNAL(pressed()), + this, TQ_SLOT(resizePressed())); } break; case '_': |