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