+#ifdef HAVE_KDE
+//This is done to make the KTextEdit look like a lineedit
+ setMaximumHeight(document()->size().toSize().height());
+ setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
+ setAcceptRichText(false);
+ connect(this, SIGNAL(textChanged()), this, SLOT(on_textChanged()));
+#endif
+