-
-/**
- * A lineedit that displays a hint message when there is no
- * text and not under focus.
- */
-class SearchLineEdit : public QLineEdit {
- Q_OBJECT
-public:
- QString const hintMessage() const;
- SearchLineEdit(QWidget * parent) : QLineEdit(parent) {}
-protected Q_SLOTS:
- void focusInEvent(QFocusEvent * e);
- void focusOutEvent(QFocusEvent * e);
-};
-