+#if defined HAVE_SONNET && !defined HAVE_KDE
+ // This member function is provided by KTextEdit
+ Sonnet::Highlighter *highlighter() const;
+
+private slots:
+ void setSpellCheckEnabled(bool enabled);
+
+private:
+ Sonnet::SpellCheckDecorator *_spellCheckDecorator{nullptr};
+#endif