#include <QtGui/qcompleter.h> #ifndef QCOMPLETER_H #ifndef QT_NO_COMPLETER class QCompleter: public QObject{ /* Some contents are skipped to improve readability */ public: void setPopup(struct QAbstractItemView* popup); /* ... */ }; #endif // QT_NO_COMPLETER #endif // QCOMPLETER_H