diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:36:00 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-08 19:03:11 +0900 |
| commit | a65bdf88e79355f01f13b9d755bf9945b37f249f (patch) | |
| tree | 473abe47bcaebe293daf8ac9890e2245d7a168c8 /src/tastymenu.cpp | |
| parent | 44e77ecb2474060fd9fc64487273b7d5c448f68c (diff) | |
| download | tastymenu-a65bdf88.tar.gz tastymenu-a65bdf88.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 12fe60049b43f7299e1f0cde44ec812d68bb867e)
Diffstat (limited to 'src/tastymenu.cpp')
| -rw-r--r-- | src/tastymenu.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/tastymenu.cpp b/src/tastymenu.cpp index 853b2c8..fca4581 100644 --- a/src/tastymenu.cpp +++ b/src/tastymenu.cpp @@ -62,8 +62,8 @@ TastyMenu::TastyMenu(const TQString& configFile, Type type, int actions, TQWidge TQt::WType_Dialog : TQt::WType_Popup|TQt::WNoAutoErase); - connect (button, SIGNAL (pressed()), this, SLOT (clickSlot ())); - connect (menuHandler, SIGNAL(hidden()), this, SLOT(setButtonUp())); + connect (button, TQ_SIGNAL (pressed()), this, TQ_SLOT (clickSlot ())); + connect (menuHandler, TQ_SIGNAL(hidden()), this, TQ_SLOT(setButtonUp())); _menuButtonLabel = prefSkel->menuButtonLabel(); if(_menuButtonLabel.isEmpty()) button -> setTextLabel(i18n("Menu"), false); @@ -95,13 +95,13 @@ TastyMenu::TastyMenu(const TQString& configFile, Type type, int actions, TQWidge if( _newAppsNotification ) { setNewApplicationsMessage(prefSkel->newInstalledApps().count()); - connect( menuHandler, SIGNAL(newApplications(int)), - this, SLOT(setNewApplicationsMessage(int))); + connect( menuHandler, TQ_SIGNAL(newApplications(int)), + this, TQ_SLOT(setNewApplicationsMessage(int))); } setGlobalAccel( prefSkel->overrideAltF1()); - connect( menuHandler, SIGNAL(kickerConfChanged()), - this, SLOT(updateConfiguration()) ); + connect( menuHandler, TQ_SIGNAL(kickerConfChanged()), + this, TQ_SLOT(updateConfiguration()) ); } @@ -175,7 +175,7 @@ void TastyMenu::clickSlot() menuHandler->popup(menupos(menuHandler)); - //TQTimer::singleShot( 10000, this, SLOT(setButtonUp()) ); + //TQTimer::singleShot( 10000, this, TQ_SLOT(setButtonUp()) ); } void TastyMenu::about() @@ -266,8 +266,8 @@ void TastyMenu::preferences() TDEConfigDialog::Cancel ); dialog->addPage(appearanceDialog, i18n("Appearance"), "appearance" ); dialog->addPage(behaviourDialog, i18n("Behaviour"), "behaviour" ); - connect( dialog, SIGNAL(settingsChanged()), - this, SLOT(updateConfiguration()) ); + connect( dialog, TQ_SIGNAL(settingsChanged()), + this, TQ_SLOT(updateConfiguration()) ); dialog->show(); } @@ -276,7 +276,7 @@ void TastyMenu::setGlobalAccel( bool global ) globalAccel = new TDEGlobalAccel(this); globalAccel->insert("Toggle Tasty Menu", i18n("Toggle Tasty Menu"), i18n("Toggle Tasty Menu"), - 0, 0, this, SLOT(clickSlot())); + 0, 0, this, TQ_SLOT(clickSlot())); globalAccel->readSettings(); globalAccel->updateConnections(); |
