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-05 10:36:00 +0900 |
| commit | 12fe60049b43f7299e1f0cde44ec812d68bb867e (patch) | |
| tree | c13a04e5b355c98c76cb2428fb715eb299ff09ae /src/tastymenu.cpp | |
| parent | 687b219ed6ae8690450397a9b1aab24a796cad27 (diff) | |
| download | tastymenu-12fe60049b43f7299e1f0cde44ec812d68bb867e.tar.gz tastymenu-12fe60049b43f7299e1f0cde44ec812d68bb867e.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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(); |
