summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-07 19:47:24 +0900
committerMichele Calgaro <[email protected]>2024-01-09 10:54:28 +0900
commit3bf0b6d5ee3682be7fd1225496ae0df601d60ecb (patch)
treeede40d235408a2be3154eeba513ccfebe2a7efe9
parent9066230a322fb0cd17a05c6ddd9e12f290f3547a (diff)
downloadkommando-3bf0b6d5ee3682be7fd1225496ae0df601d60ecb.tar.gz
kommando-3bf0b6d5ee3682be7fd1225496ae0df601d60ecb.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit a966514dd8398a2dd1a49820f336f997da1f628c)
-rw-r--r--src/configdialogimpl.cpp8
-rw-r--r--src/kcmkommando.cpp2
-rw-r--r--src/kommando.cpp6
-rw-r--r--src/kommandod.cpp2
-rw-r--r--src/menu.cpp8
-rw-r--r--src/servicemenu.cpp8
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();
}