Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/renamedialog.h
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 53 | public: | |||
---|---|---|---|---|---|
85 | 85 | | |||
86 | /** | 86 | /** | ||
87 | * @return an automatically renamed destination | 87 | * @return an automatically renamed destination | ||
88 | * @since 4.5 | 88 | * @since 4.5 | ||
89 | * valid always | 89 | * valid always | ||
90 | */ | 90 | */ | ||
91 | QUrl autoDestUrl() const; | 91 | QUrl autoDestUrl() const; | ||
92 | 92 | | |||
93 | #if KIOWIDGETS_ENABLE_DEPRECATED_SINCE(5, 0) | ||||
93 | /** | 94 | /** | ||
94 | * Given a directory path and a filename (which usually exists already), | 95 | * Given a directory path and a filename (which usually exists already), | ||
95 | * this function returns a suggested name for a file that doesn't exist | 96 | * this function returns a suggested name for a file that doesn't exist | ||
96 | * in that directory. The existence is only checked for local urls though. | 97 | * in that directory. The existence is only checked for local urls though. | ||
97 | * The suggested file name is of the form "foo 1", "foo 2" etc. | 98 | * The suggested file name is of the form "foo 1", "foo 2" etc. | ||
98 | * @deprecated use KFileUtils::suggestName from KCoreAddons | 99 | * @deprecated Since 5.0. Use KIO::suggestName, since 5.61, use KFileUtils::suggestName from KCoreAddons | ||
99 | */ | 100 | */ | ||
100 | #ifndef KIOWIDGETS_NO_DEPRECATED | 101 | KIOWIDGETS_DEPRECATED_VERSION(5, 0, "Use KFileUtils::suggestName(const QUrl &, const QString &) from KCoreAddons >= 5.61, or KIO::suggestName(const QUrl &, const QString &)") | ||
101 | static KIOWIDGETS_DEPRECATED QString suggestName(const QUrl &baseURL, const QString &oldName); | 102 | static QString suggestName(const QUrl &baseURL, const QString &oldName); | ||
102 | #endif | 103 | #endif | ||
103 | 104 | | |||
104 | public Q_SLOTS: | 105 | public Q_SLOTS: | ||
105 | void cancelPressed(); | 106 | void cancelPressed(); | ||
106 | void renamePressed(); | 107 | void renamePressed(); | ||
107 | void skipPressed(); | 108 | void skipPressed(); | ||
108 | void autoSkipPressed(); | 109 | void autoSkipPressed(); | ||
109 | void overwritePressed(); | 110 | void overwritePressed(); | ||
Show All 24 Lines |