diff options
author | Michele Calgaro <[email protected]> | 2024-01-07 19:47:24 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-07 19:47:24 +0900 |
commit | a966514dd8398a2dd1a49820f336f997da1f628c (patch) | |
tree | d08e82c31a6404018267824ae95bf64852fcc39f | |
parent | 283e2da098ca935d119fded0464989fcde5fff66 (diff) | |
download | kommando-a966514dd8398a2dd1a49820f336f997da1f628c.tar.gz kommando-a966514dd8398a2dd1a49820f336f997da1f628c.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | src/configdialogimpl.cpp | 8 | ||||
-rw-r--r-- | src/kcmkommando.cpp | 2 | ||||
-rw-r--r-- | src/kommando.cpp | 6 | ||||
-rw-r--r-- | src/kommandod.cpp | 2 | ||||
-rw-r--r-- | src/menu.cpp | 8 | ||||
-rw-r--r-- | src/servicemenu.cpp | 8 |
6 files changed, 17 insertions, 17 deletions
diff --git a/src/configdialogimpl.cpp b/src/configdialogimpl.cpp index f2aa77a..a47fb3d 100644 --- a/src/configdialogimpl.cpp +++ b/src/configdialogimpl.cpp @@ -59,10 +59,10 @@ ConfigDialogImpl::ConfigDialogImpl(TQWidget* parent, const char* name, WFlags fl new TQListBoxPixmap(listBox,MainBarIcon("colors",TDEIcon::SizeLarge),"Appearance"); listBox->setSelected(listBox->topItem(),true); - connect(kKeyButton1,SIGNAL(capturedShortcut(const TDEShortcut&)),this,SLOT(slotShortcutChanged(const TDEShortcut&)) ); + connect(kKeyButton1,TQ_SIGNAL(capturedShortcut(const TDEShortcut&)),this,TQ_SLOT(slotShortcutChanged(const TDEShortcut&)) ); - addService->setPopup(new ServiceMenu(this, SLOT(slotAddService(KService*)), - SLOT(slotAddServiceGroup(KServiceGroup*)), addService)); + addService->setPopup(new ServiceMenu(this, TQ_SLOT(slotAddService(KService*)), + TQ_SLOT(slotAddServiceGroup(KServiceGroup*)), addService)); } void ConfigDialogImpl::readConfig() @@ -135,7 +135,7 @@ void ConfigDialogImpl::slotChangeListView(const TQString& appname) if(temp){ curListView = temp; lists->raiseWidget(curListView); - connect(curListView, SIGNAL(clicked(TQListViewItem*)), this, SLOT(slotMenuViewClicked(TQListViewItem*))); + connect(curListView, TQ_SIGNAL(clicked(TQListViewItem*)), this, TQ_SLOT(slotMenuViewClicked(TQListViewItem*))); slotMenuViewClicked(curListView->selectedItem()); } } diff --git a/src/kcmkommando.cpp b/src/kcmkommando.cpp index 4bd597f..88f1308 100644 --- a/src/kcmkommando.cpp +++ b/src/kcmkommando.cpp @@ -50,7 +50,7 @@ KCMKommando::KCMKommando(TQWidget *parent, const char *name, const TQStringList& TQVBoxLayout* layout = new TQVBoxLayout( this ); layout->setAutoAdd( true ); configDialog = new ConfigDialogImpl(this); - connect(configDialog, SIGNAL(changed(bool)), this, SLOT(configChanged(bool))); + connect(configDialog, TQ_SIGNAL(changed(bool)), this, TQ_SLOT(configChanged(bool))); load(); }; diff --git a/src/kommando.cpp b/src/kommando.cpp index 9a52b93..6c49f09 100644 --- a/src/kommando.cpp +++ b/src/kommando.cpp @@ -43,7 +43,7 @@ Kommando::Kommando() //set up the navbutton Config& config = Config::getSingleton(); navbutton.move(config.menuRadius(),config.menuRadius()); - connect(&navbutton, SIGNAL(clicked()), this, SLOT(slotNavClick())); + connect(&navbutton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNavClick())); } void Kommando::slotGlobAccel() @@ -121,8 +121,8 @@ void Kommando::setActMenu( Menu * newMenu ) } //initialize the new menu - connect(newMenu, SIGNAL(clicked(int)), this, SLOT(slotOnClick()) ); - connect(newMenu, SIGNAL(buttonSelected(int)),this,SLOT(slotButtonSelected(int))); + connect(newMenu, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(slotOnClick()) ); + connect(newMenu, TQ_SIGNAL(buttonSelected(int)),this,TQ_SLOT(slotButtonSelected(int))); newMenu->showButtons(); } actMenu = newMenu; diff --git a/src/kommandod.cpp b/src/kommandod.cpp index d8031ac..3ebcd31 100644 --- a/src/kommandod.cpp +++ b/src/kommandod.cpp @@ -39,7 +39,7 @@ KommandoDaemon::KommandoDaemon(const TQCString &name) Shortcut.insert("Toggle", i18n("Toggle"), i18n("This shortcut toggles the visibility of the Kommando menu"), TDEShortcut(config.Shortcut()), TDEShortcut(config.Shortcut()), - kommandoWin, SLOT( slotGlobAccel() ) ); + kommandoWin, TQ_SLOT( slotGlobAccel() ) ); Shortcut.setEnabled(true); Shortcut.updateConnections(); } diff --git a/src/menu.cpp b/src/menu.cpp index 66a3db6..e961f69 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -107,8 +107,8 @@ TQButton * Menu::selectedButton( ) int Menu::insert( TQButton * button, int id ) { RoundButton* rButton = static_cast<RoundButton*>(button); - connect(rButton, SIGNAL(mouseIn(RoundButton*)),this,SLOT(slotMouseIn(RoundButton*))); - connect(rButton, SIGNAL(mouseOut(RoundButton*)),this,SLOT(slotMouseOut())); + connect(rButton, TQ_SIGNAL(mouseIn(RoundButton*)),this,TQ_SLOT(slotMouseIn(RoundButton*))); + connect(rButton, TQ_SIGNAL(mouseOut(RoundButton*)),this,TQ_SLOT(slotMouseOut())); if(rButton->type() == RoundButton::Submenu){ children.append(static_cast<SubmenuButton*>(rButton)->subMenu()); @@ -120,8 +120,8 @@ int Menu::insert( TQButton * button, int id ) int Menu::insertNoChild( TQButton * button, int id ) { RoundButton* rButton = static_cast<RoundButton*>(button); - connect(rButton, SIGNAL(mouseIn(RoundButton*)),this,SLOT(slotMouseIn(RoundButton*))); - connect(rButton, SIGNAL(mouseOut(RoundButton*)),this,SLOT(slotMouseOut())); + connect(rButton, TQ_SIGNAL(mouseIn(RoundButton*)),this,TQ_SLOT(slotMouseIn(RoundButton*))); + connect(rButton, TQ_SIGNAL(mouseOut(RoundButton*)),this,TQ_SLOT(slotMouseOut())); return TQButtonGroup::insert(button,id); } diff --git a/src/servicemenu.cpp b/src/servicemenu.cpp index 3e65ffe..021c952 100644 --- a/src/servicemenu.cpp +++ b/src/servicemenu.cpp @@ -52,10 +52,10 @@ ServiceMenu::~ServiceMenu() void ServiceMenu::initialize() { m_subMenus.setAutoDelete(true); - connect(KSycoca::self(), SIGNAL(databaseChanged()), SLOT(createMenu())); - connect(this, SIGNAL(activated(int)), this, SLOT(slotActivated(int))); - connect(this, SIGNAL(serviceSelected(KService*)), m_receiver, m_slotActivatedItem); - connect(this, SIGNAL(serviceGroupSelected(KServiceGroup*)), m_receiver, m_slotActivatedGroup); + connect(KSycoca::self(), TQ_SIGNAL(databaseChanged()), TQ_SLOT(createMenu())); + connect(this, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotActivated(int))); + connect(this, TQ_SIGNAL(serviceSelected(KService*)), m_receiver, m_slotActivatedItem); + connect(this, TQ_SIGNAL(serviceGroupSelected(KServiceGroup*)), m_receiver, m_slotActivatedGroup); createMenu(); } |