Changeset View
Changeset View
Standalone View
Standalone View
src/core/ksambashare.cpp
Show First 20 Lines • Show All 460 Lines • ▼ Show 20 Line(s) | |||||
461 | { | 461 | { | ||
462 | Q_D(const KSambaShare); | 462 | Q_D(const KSambaShare); | ||
463 | if (KDirWatch::exists() && KDirWatch::self()->contains(d->userSharePath)) { | 463 | if (KDirWatch::exists() && KDirWatch::self()->contains(d->userSharePath)) { | ||
464 | KDirWatch::self()->removeDir(d->userSharePath); | 464 | KDirWatch::self()->removeDir(d->userSharePath); | ||
465 | } | 465 | } | ||
466 | delete d_ptr; | 466 | delete d_ptr; | ||
467 | } | 467 | } | ||
468 | 468 | | |||
469 | #ifndef KIOCORE_NO_DEPRECATED | | |||
470 | QString KSambaShare::smbConfPath() const | 469 | QString KSambaShare::smbConfPath() const | ||
471 | { | 470 | { | ||
472 | Q_D(const KSambaShare); | 471 | Q_D(const KSambaShare); | ||
473 | return d->smbConf; | 472 | return d->smbConf; | ||
474 | } | 473 | } | ||
475 | #endif | | |||
476 | 474 | | |||
477 | bool KSambaShare::isDirectoryShared(const QString &path) const | 475 | bool KSambaShare::isDirectoryShared(const QString &path) const | ||
478 | { | 476 | { | ||
479 | Q_D(const KSambaShare); | 477 | Q_D(const KSambaShare); | ||
480 | return d->isDirectoryShared(path); | 478 | return d->isDirectoryShared(path); | ||
481 | } | 479 | } | ||
482 | 480 | | |||
483 | bool KSambaShare::isShareNameAvailable(const QString &name) const | 481 | bool KSambaShare::isShareNameAvailable(const QString &name) const | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |