diff options
author | Michele Calgaro <[email protected]> | 2025-01-20 18:25:59 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-02-03 21:40:45 +0900 |
commit | a7d0afc3a01114462488507812eb35d8d4ed0eb5 (patch) | |
tree | f9f2a3f5a6a0f15340c83c3249bff45eed905261 /konq-plugins/tdehtmlsettingsplugin | |
parent | 3318f2ef06191e7bb921bc9aca857cc938c169d9 (diff) | |
download | tdeaddons-a7d0afc3a01114462488507812eb35d8d4ed0eb5.tar.gz tdeaddons-a7d0afc3a01114462488507812eb35d8d4ed0eb5.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'konq-plugins/tdehtmlsettingsplugin')
-rw-r--r-- | konq-plugins/tdehtmlsettingsplugin/settingsplugin.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/konq-plugins/tdehtmlsettingsplugin/settingsplugin.cpp b/konq-plugins/tdehtmlsettingsplugin/settingsplugin.cpp index 58dc041..70a2ac5 100644 --- a/konq-plugins/tdehtmlsettingsplugin/settingsplugin.cpp +++ b/konq-plugins/tdehtmlsettingsplugin/settingsplugin.cpp @@ -46,8 +46,8 @@ SettingsPlugin::SettingsPlugin( TQObject* parent, const char* name, setInstance(SettingsPluginFactory::instance()); - if ( !kapp->dcopClient()->isAttached() ) - kapp->dcopClient()->attach(); + if ( !tdeApp->dcopClient()->isAttached() ) + tdeApp->dcopClient()->attach(); TDEActionMenu *menu = new TDEActionMenu( i18n("HTML Settings"), "configure", actionCollection(), "action menu" ); @@ -190,7 +190,7 @@ void SettingsPlugin::toggleCookies() TQByteArray data, replyData; TQDataStream stream( data, IO_WriteOnly ); stream << part->url().url() << advice; - bool ok = kapp->dcopClient()->call( "kded", "kcookiejar", + bool ok = tdeApp->dcopClient()->call( "kded", "kcookiejar", "setDomainAdvice(TQString,TQString)", data, replyType, replyData, true ); @@ -225,7 +225,7 @@ bool SettingsPlugin::cookiesEnabled( const TQString& url ) TQCString replyType; TQDataStream stream( data, IO_WriteOnly ); stream << url; - kapp->dcopClient()->call( "kcookiejar", "kcookiejar", "getDomainAdvice(TQString)", data, replyType, reply, true ); + tdeApp->dcopClient()->call( "kcookiejar", "kcookiejar", "getDomainAdvice(TQString)", data, replyType, reply, true ); bool enabled = false; @@ -315,7 +315,7 @@ void SettingsPlugin::updateIOSlaves() TQByteArray data; TQDataStream stream( data, IO_WriteOnly ); - DCOPClient* client = kapp->dcopClient(); + DCOPClient* client = tdeApp->dcopClient(); if ( !client->isAttached() ) client->attach(); |