
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_java_awt_peer_qt_QtMenuBarPeer__
#define __gnu_java_awt_peer_qt_QtMenuBarPeer__

#pragma interface

#include <gnu/java/awt/peer/qt/QtMenuComponentPeer.h>
extern "Java"
{
  namespace gnu
  {
    namespace java
    {
      namespace awt
      {
        namespace peer
        {
          namespace qt
          {
              class QtMenuBarPeer;
              class QtMenuPeer;
              class QtToolkit;
          }
        }
      }
    }
  }
  namespace java
  {
    namespace awt
    {
        class Menu;
        class MenuBar;
    }
  }
}

class gnu::java::awt::peer::qt::QtMenuBarPeer : public ::gnu::java::awt::peer::qt::QtMenuComponentPeer
{

public:
  QtMenuBarPeer(::gnu::java::awt::peer::qt::QtToolkit *, ::java::awt::MenuBar *);
public: // actually protected
  virtual void init();
  virtual void setup();
public: // actually package-private
  virtual void addMenus();
private:
  void addMenu(::gnu::java::awt::peer::qt::QtMenuPeer *);
  void addHelpMenu(::gnu::java::awt::peer::qt::QtMenuPeer *);
  void delMenu(::gnu::java::awt::peer::qt::QtMenuPeer *);
public:
  virtual void addMenu(::java::awt::Menu *);
  virtual void addHelpMenu(::java::awt::Menu *);
  virtual void delMenu(jint);
  static ::java::lang::Class class$;
};

#endif // __gnu_java_awt_peer_qt_QtMenuBarPeer__
