From e234565531cd8c11949cc6aecf16179e75312458 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 11 Jan 2024 10:35:25 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22) --- konq-plugins/tdehtmlsettingsplugin/settingsplugin.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'konq-plugins/tdehtmlsettingsplugin/settingsplugin.cpp') diff --git a/konq-plugins/tdehtmlsettingsplugin/settingsplugin.cpp b/konq-plugins/tdehtmlsettingsplugin/settingsplugin.cpp index b83e759..58dc041 100644 --- a/konq-plugins/tdehtmlsettingsplugin/settingsplugin.cpp +++ b/konq-plugins/tdehtmlsettingsplugin/settingsplugin.cpp @@ -57,40 +57,40 @@ SettingsPlugin::SettingsPlugin( TQObject* parent, const char* name, action = new TDEToggleAction( i18n("Java&Script"), 0, - this, TQT_SLOT(toggleJavascript()), + this, TQ_SLOT(toggleJavascript()), actionCollection(), "javascript" ); menu->insert( action ); action = new TDEToggleAction( i18n("&Java"), 0, - this, TQT_SLOT(toggleJava()), + this, TQ_SLOT(toggleJava()), actionCollection(), "java" ); menu->insert( action ); action = new TDEToggleAction( i18n("&Cookies"), 0, - this, TQT_SLOT(toggleCookies()), + this, TQ_SLOT(toggleCookies()), actionCollection(), "cookies" ); menu->insert( action ); action = new TDEToggleAction( i18n("&Plugins"), 0, - this, TQT_SLOT(togglePlugins()), + this, TQ_SLOT(togglePlugins()), actionCollection(), "plugins" ); menu->insert( action ); action = new TDEToggleAction( i18n("Autoload &Images"), 0, - this, TQT_SLOT(toggleImageLoading()), + this, TQ_SLOT(toggleImageLoading()), actionCollection(), "imageloading" ); menu->insert( action ); menu->insert( new TDEActionSeparator(actionCollection()) ); action = new TDEToggleAction( i18n("Enable Pro&xy"), 0, - this, TQT_SLOT(toggleProxy()), + this, TQ_SLOT(toggleProxy()), actionCollection(), "useproxy" ); action->setCheckedState(i18n("Disable Pro&xy")); menu->insert( action ); action = new TDEToggleAction( i18n("Enable Cac&he"), 0, - this, TQT_SLOT(toggleCache()), + this, TQ_SLOT(toggleCache()), actionCollection(), "usecache" ); action->setCheckedState(i18n("Disable Cac&he")); menu->insert( action ); @@ -104,11 +104,11 @@ SettingsPlugin::SettingsPlugin( TQObject* parent, const char* name, policies += i18n( "&Use Cache if Possible" ); policies += i18n( "&Offline Browsing Mode" ); sAction->setItems( policies ); - connect( sAction, TQT_SIGNAL( activated( int ) ), TQT_SLOT( cachePolicyChanged(int) ) ); + connect( sAction, TQ_SIGNAL( activated( int ) ), TQ_SLOT( cachePolicyChanged(int) ) ); menu->insert( sAction ); - connect( menu->popupMenu(), TQT_SIGNAL( aboutToShow() ), TQT_SLOT( showPopup() )); + connect( menu->popupMenu(), TQ_SIGNAL( aboutToShow() ), TQ_SLOT( showPopup() )); } SettingsPlugin::~SettingsPlugin() -- cgit v1.2.1