#include <QtGui/qtoolbar.h> #ifndef QDYNAMICTOOLBAR_H #ifndef QT_NO_TOOLBAR class QToolBar: public QWidget{ /* Some contents are skipped to improve readability */ public: struct QAction* addSeparator(); /* ... */ }; #endif // QT_NO_TOOLBAR #endif // QDYNAMICTOOLBAR_H