Adjusted to latest TQVariant::TQVariant(bool) function.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/34/head
Michele Calgaro 6 years ago
parent 563adb52cb
commit 08ac86386a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1797,7 +1797,7 @@ void KDIconView::updateWorkArea( const TQRect &wr )
void KDIconView::setupSortKeys() void KDIconView::setupSortKeys()
{ {
// can't use sorting in KFileIVI::setKey() // can't use sorting in KFileIVI::setKey()
setProperty("sortDirectoriesFirst", TQVariant(false, 0)); setProperty("sortDirectoriesFirst", TQVariant(false));
for (TQIconViewItem *it = firstItem(); it; it = it->nextItem()) for (TQIconViewItem *it = firstItem(); it; it = it->nextItem())
{ {

@ -429,9 +429,9 @@ void ActionsImpl::slotPrint() {
s_part = KParts::ComponentFactory s_part = KParts::ComponentFactory
::createPartInstanceFromQuery<KParts::ReadOnlyPart>( ::createPartInstanceFromQuery<KParts::ReadOnlyPart>(
"text/html", TQString::null); "text/html", TQString::null);
s_part->setProperty("pluginsEnabled", TQVariant(false, 1)); s_part->setProperty("pluginsEnabled", TQVariant(false));
s_part->setProperty("javaScriptEnabled", TQVariant(false, 1)); s_part->setProperty("javaScriptEnabled", TQVariant(false));
s_part->setProperty("javaEnabled", TQVariant(false, 1)); s_part->setProperty("javaEnabled", TQVariant(false));
// doc->openStream( "text/html", KURL() ); // doc->openStream( "text/html", KURL() );
// doc->writeStream( TQCString( "<HTML><BODY>FOO</BODY></HTML>" ) ); // doc->writeStream( TQCString( "<HTML><BODY>FOO</BODY></HTML>" ) );

@ -92,10 +92,10 @@ void FavIconUpdater::downloadIconActual(const KBookmark &bk) {
= KParts::ComponentFactory = KParts::ComponentFactory
::createPartInstanceFromQuery<KParts::ReadOnlyPart>("text/html", TQString::null); ::createPartInstanceFromQuery<KParts::ReadOnlyPart>("text/html", TQString::null);
part->setProperty("pluginsEnabled", TQVariant(false, 1)); part->setProperty("pluginsEnabled", TQVariant(false));
part->setProperty("javaScriptEnabled", TQVariant(false, 1)); part->setProperty("javaScriptEnabled", TQVariant(false));
part->setProperty("javaEnabled", TQVariant(false, 1)); part->setProperty("javaEnabled", TQVariant(false));
part->setProperty("autoloadImages", TQVariant(false, 1)); part->setProperty("autoloadImages", TQVariant(false));
connect(part, TQT_SIGNAL( canceled(const TQString &) ), connect(part, TQT_SIGNAL( canceled(const TQString &) ),
this, TQT_SLOT( slotCompleted() )); this, TQT_SLOT( slotCompleted() ));

@ -461,7 +461,7 @@ void KonqView::connectPart( )
if ( ext ) if ( ext )
urlDropHandling = ext->property( "urlDropHandling" ); urlDropHandling = ext->property( "urlDropHandling" );
else else
urlDropHandling = TQVariant( true, 0 ); urlDropHandling = TQVariant( true );
// Handle url drops if // Handle url drops if
// a) either the property says "ok" // a) either the property says "ok"

Loading…
Cancel
Save