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 20:00:19 +0900 |
commit | b88a15d2e847a410b6c5357385a35f0c10c22d66 (patch) | |
tree | d564e737a9417efb7dcaf248ded4da4b1e134953 /tdeio | |
parent | a10cf06d1fe04bd6df92448284306f97c0bfdcf8 (diff) | |
download | tdelibs-b88a15d2e847a410b6c5357385a35f0c10c22d66.tar.gz tdelibs-b88a15d2e847a410b6c5357385a35f0c10c22d66.zip |
Removed beagle related code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e5256a1bd6b1ee6eb909041c7fecc01d3d6d4be6)
Diffstat (limited to 'tdeio')
-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 ); |