From 269551cf8e80ed83b626bb793f0f9f15b5f2809c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 2 Jan 2024 11:38:29 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/pluginmanager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/pluginmanager.cpp') diff --git a/src/pluginmanager.cpp b/src/pluginmanager.cpp index 89c750a..ef376ce 100644 --- a/src/pluginmanager.cpp +++ b/src/pluginmanager.cpp @@ -107,7 +107,7 @@ void PluginManager::addWidgetPluginMenuItems(TQMenuData *menu, TQMap(it.current()); if (!b) continue; - int id = menu->insertItem("dummy", b->getWidget(), TQT_SLOT(toggleShown())); + int id = menu->insertItem("dummy", b->getWidget(), TQ_SLOT(toggleShown())); map.insert(b, id); updateWidgetPluginMenuItem(b, menu, map, b->isReallyVisible()); } @@ -305,8 +305,8 @@ TQFrame *PluginManager::addConfigurationPage (const ConfigPageInfo &info) l->addWidget( info.page, 0, 0 ); // make sure, that config page receives ok, apply and cancel signals - TQObject::connect(this, TQT_SIGNAL(sigConfigOK()), info.page, TQT_SLOT(slotOK())); - TQObject::connect(m_configDialog, TQT_SIGNAL(cancelClicked()), info.page, TQT_SLOT(slotCancel())); + TQObject::connect(this, TQ_SIGNAL(sigConfigOK()), info.page, TQ_SLOT(slotOK())); + TQObject::connect(m_configDialog, TQ_SIGNAL(cancelClicked()), info.page, TQ_SLOT(slotCancel())); return f; } @@ -329,8 +329,8 @@ void PluginManager::createConfigDialog(const TQString &title) m_configDialog = cfg; - TQObject::connect(m_configDialog, TQT_SIGNAL(okClicked()), this, TQT_SLOT(slotConfigOK())); - TQObject::connect(m_configDialog, TQT_SIGNAL(applyClicked()), this, TQT_SLOT(slotConfigOK())); + TQObject::connect(m_configDialog, TQ_SIGNAL(okClicked()), this, TQ_SLOT(slotConfigOK())); + TQObject::connect(m_configDialog, TQ_SIGNAL(applyClicked()), this, TQ_SLOT(slotConfigOK())); insertPlugin(cfg); -- cgit v1.2.3