#include <QtGui/qlineedit.h> #ifndef QLINEEDIT_H #ifndef QT_NO_LINEEDIT class QLineEdit: public QWidget{ /* Some contents are skipped to improve readability */ public: enum EchoMode{ Normal = 0, NoEcho = 1, Password = 2, PasswordEchoOnEdit = 3, }; /* ... */ }; #endif // QT_NO_LINEEDIT #endif // QLINEEDIT_H