Removed beagle related code.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/73/head
Michele Calgaro 5 years ago
parent 7f7f7322f9
commit e5256a1bd6

@ -611,15 +611,6 @@ void KURLBar::readItem( int i, TDEConfig *config, bool applicationLocal )
TQString description = config->readEntry( TQString("Description_") + number ); TQString description = config->readEntry( TQString("Description_") + number );
if (description.isEmpty() && url.protocol()=="beagle") {
TDEIO::UDSEntry uds;
const KURL kurl("beagle:?beagled-status");
if (!TDEIO::NetAccess::stat(kurl, uds))
return;
description = i18n("Desktop Search");
}
insertItem( url, insertItem( url,
description, description,
applicationLocal, applicationLocal,

@ -1173,12 +1173,6 @@ void KFileDialog::urlEntered(const KURL& url)
d->pathCombo->setURL( url ); d->pathCombo->setURL( url );
} }
if (url.protocol()=="beagle" && url.path()=="/") {
d->pathCombo->setEditText("beagle:/<"+i18n("search term")+">");
d->pathCombo->lineEdit()->setSelection(8,255);
d->pathCombo->setFocus();
}
locationEdit->blockSignals( true ); locationEdit->blockSignals( true );
locationEdit->setCurrentItem( 0 ); locationEdit->setCurrentItem( 0 );
if ( d->keepLocation ) if ( d->keepLocation )

@ -343,7 +343,7 @@ bool NetAccess::statInternal( const KURL & url, int details, bool source,
TQWidget* window ) TQWidget* window )
{ {
bJobOK = true; // success unless further error occurs bJobOK = true; // success unless further error occurs
TDEIO::StatJob * job = TDEIO::stat( url, !url.isLocalFile() && !url.url().startsWith("beagle:?") ); TDEIO::StatJob * job = TDEIO::stat( url, !url.isLocalFile() );
job->setWindow (window); job->setWindow (window);
job->setDetails( details ); job->setDetails( details );
job->setSide( source ); job->setSide( source );

Loading…
Cancel
Save