Changeset View
Changeset View
Standalone View
Standalone View
src/core/ksambashare.h
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Line(s) | 39 | public: | |||
---|---|---|---|---|---|
101 | * @return @c an empty QList if there aren't matches for the given path. | 101 | * @return @c an empty QList if there aren't matches for the given path. | ||
102 | * | 102 | * | ||
103 | * @since 4.7 | 103 | * @since 4.7 | ||
104 | */ | 104 | */ | ||
105 | QList<KSambaShareData> getSharesByPath(const QString &path) const; | 105 | QList<KSambaShareData> getSharesByPath(const QString &path) const; | ||
106 | 106 | | |||
107 | virtual ~KSambaShare(); | 107 | virtual ~KSambaShare(); | ||
108 | 108 | | |||
109 | #if KIOCORE_ENABLE_DEPRECATED_SINCE(4, 6) | ||||
109 | /** | 110 | /** | ||
110 | * Returns the path to the used smb.conf file | 111 | * Returns the path to the used smb.conf file | ||
111 | * or empty string if no file was found | 112 | * or empty string if no file was found | ||
112 | * | 113 | * | ||
113 | * @return @c the path to the smb.conf file | 114 | * @return @c the path to the smb.conf file | ||
114 | * | 115 | * | ||
115 | * @deprecated | 116 | * @deprecated Since 4.6, the conf file is no longer used | ||
116 | */ | 117 | */ | ||
117 | #ifndef KIOCORE_NO_DEPRECATED | 118 | KIOCORE_DEPRECATED_VERSION(4, 6, "Conf file no longer used") | ||
118 | KIOCORE_DEPRECATED QString smbConfPath() const; | 119 | QString smbConfPath() const; | ||
119 | #endif | 120 | #endif | ||
120 | 121 | | |||
121 | Q_SIGNALS: | 122 | Q_SIGNALS: | ||
122 | /** | 123 | /** | ||
123 | * Emitted when a share is updated, added or removed | 124 | * Emitted when a share is updated, added or removed | ||
124 | */ | 125 | */ | ||
125 | void changed(); | 126 | void changed(); | ||
126 | 127 | | |||
Show All 12 Lines |