UiSettings s("InputWidget");
-#ifdef HAVE_KDE4
+#ifdef HAVE_KDE
s.notify("EnableSpellCheck", this, SLOT(setEnableSpellCheck(QVariant)));
setEnableSpellCheck(s.value("EnableSpellCheck", false));
#endif
fmt.clearBackground();
inputLine()->setCurrentCharFormat(fmt);
-#ifdef HAVE_KDE4
+#ifdef HAVE_KDE
// Set highlighter back to active in case it was deactivated by too many errors.
if (ui.inputEdit->highlighter())
ui.inputEdit->highlighter()->setActive(true);