comments++

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=791229
This commit is contained in:
Chani Armitage 2008-03-28 19:43:17 +00:00
parent 213fa7106d
commit 7983ed5bb9

View File

@ -73,6 +73,10 @@ class PLASMA_EXPORT LineEdit : public QGraphicsTextItem, public LayoutItem
void updateGeometry();
QSizeF sizeHint() const;
/**
* Set text to be displayed when the LineEdit is empty and doesn't have focus.
* Warning: this will overwrite any text currently in the item
*/
void setDefaultText(const QString &text);
const QString toHtml();
const QString toPlainText();