Changeset View
Changeset View
Standalone View
Standalone View
src/ui/dialog.h
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Line(s) | 52 | public: | |||
---|---|---|---|---|---|
91 | * @since 4.4 | 91 | * @since 4.4 | ||
92 | */ | 92 | */ | ||
93 | void setSpellCheckContinuedAfterReplacement(bool b); | 93 | void setSpellCheckContinuedAfterReplacement(bool b); | ||
94 | 94 | | |||
95 | public Q_SLOTS: | 95 | public Q_SLOTS: | ||
96 | void setBuffer(const QString &); | 96 | void setBuffer(const QString &); | ||
97 | 97 | | |||
98 | Q_SIGNALS: | 98 | Q_SIGNALS: | ||
99 | #if SONNETUI_ENABLE_DEPRECATED_SINCE(5, 65) | ||||
99 | /** | 100 | /** | ||
100 | * The dialog won't be closed if you setBuffer() in slot connected to this signal | 101 | * The dialog won't be closed if you setBuffer() in slot connected to this signal | ||
101 | * | | |||
102 | * Also emitted after stop() signal | 102 | * Also emitted after stop() signal | ||
kossebau: @deprecated Should be last in docs text,
Cmp. also https://community.kde. | |||||
103 | * @deprecated Since 5.65, use spellCheckDone | ||||
103 | */ | 104 | */ | ||
105 | SONNETUI_DEPRECATED_VERSION(5, 65, "Use Dialog::spellCheckDone()") | ||||
104 | void done(const QString &newBuffer); | 106 | void done(const QString &newBuffer); | ||
107 | #endif | ||||
108 | /** | ||||
109 | * The dialog won't be closed if you setBuffer() in slot connected to this signal | ||||
110 | * Also emitted after stop() signal | ||||
kossebau: The @since would ideally also be move to the end of the docs. | |||||
111 | * @Since 5.65 | ||||
112 | */ | ||||
113 | void spellCheckDone(const QString &newBuffer); | ||||
105 | void misspelling(const QString &word, int start); | 114 | void misspelling(const QString &word, int start); | ||
106 | void replace(const QString &oldWord, int start, const QString &newWord); | 115 | void replace(const QString &oldWord, int start, const QString &newWord); | ||
107 | 116 | | |||
108 | void stop(); | 117 | void stop(); | ||
109 | void cancel(); | 118 | void cancel(); | ||
110 | void autoCorrect(const QString ¤tWord, const QString &replaceWord); | 119 | void autoCorrect(const QString ¤tWord, const QString &replaceWord); | ||
111 | 120 | | |||
112 | /** | 121 | /** | ||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |
@deprecated Should be last in docs text,
Cmp. also https://community.kde.org/Frameworks/Frameworks_Documentation_Policy#Document_Public_and_Protected_Members