+#ifdef HAVE_KDE
+//Compatibility methods with the rest of the classes which expects this to be a QLineEdit
+ QString text() { return toPlainText(); };
+ int cursorPosition() { return textCursor().position(); };
+ void insert(const QString &newText) { insertPlainText(newText); };
+ void backspace() { keyPressEvent(new QKeyEvent(QEvent::KeyPress, Qt::Key_Backspace, Qt::NoModifier)); };
+ bool hasSelectedText() { return textCursor().hasSelection(); };
+#endif
+