1 #ifndef __PROMPTLINEEDIT_H__
2 #define __PROMPTLINEEDIT_H__
6 class PromptLineEdit: public QLineEdit
11 PromptLineEdit(QWidget * parent = NULL);
15 void HandleCursorMoved(int, int);
16 void HandleTextChanged(const QString &);
17 void HandleSelectionChanged(void);
20 void keyPressEvent(QKeyEvent *);
23 QString text(void) const;
24 void SetPrompt(QString);
30 #endif // __PROMPTLINEEDIT_H__