diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-24 12:55:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-24 12:55:58 +0900 |
commit | 08ac86386aec5c1375ced3c67200f2dd9f16f658 (patch) | |
tree | 254d337c01a48a2d3d42c79f7528818b9a17d83a | |
parent | 563adb52cbe17faf30ddbb720cb5707eac66fd95 (diff) | |
download | tdebase-08ac86386aec5c1375ced3c67200f2dd9f16f658.tar.gz tdebase-08ac86386aec5c1375ced3c67200f2dd9f16f658.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | kdesktop/kdiconview.cc | 2 | ||||
-rw-r--r-- | konqueror/keditbookmarks/actionsimpl.cpp | 6 | ||||
-rw-r--r-- | konqueror/keditbookmarks/updater.cpp | 8 | ||||
-rw-r--r-- | konqueror/konq_view.cc | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/kdesktop/kdiconview.cc b/kdesktop/kdiconview.cc index 39dcc4c28..d5b7ebbb1 100644 --- a/kdesktop/kdiconview.cc +++ b/kdesktop/kdiconview.cc @@ -1797,7 +1797,7 @@ void KDIconView::updateWorkArea( const TQRect &wr ) void KDIconView::setupSortKeys() { // can't use sorting in KFileIVI::setKey() - setProperty("sortDirectoriesFirst", TQVariant(false, 0)); + setProperty("sortDirectoriesFirst", TQVariant(false)); for (TQIconViewItem *it = firstItem(); it; it = it->nextItem()) { 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<KParts::ReadOnlyPart>( "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( "<HTML><BODY>FOO</BODY></HTML>" ) ); 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<KParts::ReadOnlyPart>("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() )); diff --git a/konqueror/konq_view.cc b/konqueror/konq_view.cc index fff2d04b0..ecbac60ca 100644 --- a/konqueror/konq_view.cc +++ b/konqueror/konq_view.cc @@ -461,7 +461,7 @@ void KonqView::connectPart( ) if ( ext ) urlDropHandling = ext->property( "urlDropHandling" ); else - urlDropHandling = TQVariant( true, 0 ); + urlDropHandling = TQVariant( true ); // Handle url drops if // a) either the property says "ok" |