#include <QtGui/qlineedit.h> #ifndef QLINEEDIT_H #ifndef QT_NO_LINEEDIT class QLineEdit: public QWidget{ /* Some contents are skipped to improve readability */ public: void backspace(); /* ... */ }; #endif // QT_NO_LINEEDIT #endif // QLINEEDIT_H