diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-02-09 19:59:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-02-09 19:59:31 +0900 |
commit | e5256a1bd6b1ee6eb909041c7fecc01d3d6d4be6 (patch) | |
tree | ce495ba32c93f2d3906eefd47e9490157e4b14fc | |
parent | 7f7f7322f9986a25ceef33dc2f47853846e2ec88 (diff) | |
download | tdelibs-e5256a1bd6b1ee6eb909041c7fecc01d3d6d4be6.tar.gz tdelibs-e5256a1bd6b1ee6eb909041c7fecc01d3d6d4be6.zip |
Removed beagle related code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | tdeio/tdefile/kurlbar.cpp | 9 | ||||
-rw-r--r-- | tdeio/tdefile/tdefiledialog.cpp | 6 | ||||
-rw-r--r-- | tdeio/tdeio/netaccess.cpp | 2 |
3 files changed, 1 insertions, 16 deletions
diff --git a/tdeio/tdefile/kurlbar.cpp b/tdeio/tdefile/kurlbar.cpp index 64f5f4fb2..3912aced3 100644 --- a/tdeio/tdefile/kurlbar.cpp +++ b/tdeio/tdefile/kurlbar.cpp @@ -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, diff --git a/tdeio/tdefile/tdefiledialog.cpp b/tdeio/tdefile/tdefiledialog.cpp index 714d24ab7..0f3f69943 100644 --- a/tdeio/tdefile/tdefiledialog.cpp +++ b/tdeio/tdefile/tdefiledialog.cpp @@ -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 ) diff --git a/tdeio/tdeio/netaccess.cpp b/tdeio/tdeio/netaccess.cpp index 2867c3cf7..132c87a50 100644 --- a/tdeio/tdeio/netaccess.cpp +++ b/tdeio/tdeio/netaccess.cpp @@ -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 ); |