#include <QtGui/qstyleoption.h>
#ifndef QSTYLEOPTION_H
#ifndef QT_NO_TOOLBAR
class QStyleOptionToolBar: public QStyleOption{
   /* Some contents are skipped to improve readability */
   public: enum ToolBarPosition{
      Beginning = 0,
      Middle = 1,
      End = 2,
      OnlyOne = 3,
   };
   /* ... */
};
#endif
#endif // QSTYLEOPTION_H