Browse Source

Removed beagle related code.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/73/head
Michele Calgaro 1 month ago
parent
commit
e5256a1bd6
3 changed files with 1 additions and 16 deletions
  1. +0
    -9
      tdeio/tdefile/kurlbar.cpp
  2. +0
    -6
      tdeio/tdefile/tdefiledialog.cpp
  3. +1
    -1
      tdeio/tdeio/netaccess.cpp

+ 0
- 9
tdeio/tdefile/kurlbar.cpp View File

@@ -611,15 +611,6 @@ void KURLBar::readItem( int i, TDEConfig *config, bool applicationLocal )

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,
description,
applicationLocal,


+ 0
- 6
tdeio/tdefile/tdefiledialog.cpp View File

@@ -1173,12 +1173,6 @@ void KFileDialog::urlEntered(const KURL& 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->setCurrentItem( 0 );
if ( d->keepLocation )


+ 1
- 1
tdeio/tdeio/netaccess.cpp View File

@@ -343,7 +343,7 @@ bool NetAccess::statInternal( const KURL & url, int details, bool source,
TQWidget* window )
{
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->setDetails( details );
job->setSide( source );


Loading…
Cancel
Save