From 08ac86386aec5c1375ced3c67200f2dd9f16f658 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 May 2019 12:55:58 +0900 Subject: Adjusted to latest TQVariant::TQVariant(bool) function. Signed-off-by: Michele Calgaro --- konqueror/keditbookmarks/actionsimpl.cpp | 6 +++--- konqueror/keditbookmarks/updater.cpp | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'konqueror/keditbookmarks') diff --git a/konqueror/keditbookmarks/actionsimpl.cpp b/konqueror/keditbookmarks/actionsimpl.cpp index b1b7c8c83..595e91021 100644 --- a/konqueror/keditbookmarks/actionsimpl.cpp +++ b/konqueror/keditbookmarks/actionsimpl.cpp @@ -429,9 +429,9 @@ void ActionsImpl::slotPrint() { s_part = KParts::ComponentFactory ::createPartInstanceFromQuery( "text/html", TQString::null); - s_part->setProperty("pluginsEnabled", TQVariant(false, 1)); - s_part->setProperty("javaScriptEnabled", TQVariant(false, 1)); - s_part->setProperty("javaEnabled", TQVariant(false, 1)); + s_part->setProperty("pluginsEnabled", TQVariant(false)); + s_part->setProperty("javaScriptEnabled", TQVariant(false)); + s_part->setProperty("javaEnabled", TQVariant(false)); // doc->openStream( "text/html", KURL() ); // doc->writeStream( TQCString( "FOO" ) ); diff --git a/konqueror/keditbookmarks/updater.cpp b/konqueror/keditbookmarks/updater.cpp index b3b0e2eff..ad55793e0 100644 --- a/konqueror/keditbookmarks/updater.cpp +++ b/konqueror/keditbookmarks/updater.cpp @@ -92,10 +92,10 @@ void FavIconUpdater::downloadIconActual(const KBookmark &bk) { = KParts::ComponentFactory ::createPartInstanceFromQuery("text/html", TQString::null); - part->setProperty("pluginsEnabled", TQVariant(false, 1)); - part->setProperty("javaScriptEnabled", TQVariant(false, 1)); - part->setProperty("javaEnabled", TQVariant(false, 1)); - part->setProperty("autoloadImages", TQVariant(false, 1)); + part->setProperty("pluginsEnabled", TQVariant(false)); + part->setProperty("javaScriptEnabled", TQVariant(false)); + part->setProperty("javaEnabled", TQVariant(false)); + part->setProperty("autoloadImages", TQVariant(false)); connect(part, TQT_SIGNAL( canceled(const TQString &) ), this, TQT_SLOT( slotCompleted() )); -- cgit v1.2.1