• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ev_QtMenuBar.h

Go to the documentation of this file.
00001 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */
00002 /* AbiWord
00003  * Copyright (C) 2004-2006 Tomas Frydrych <dr.tomas@yahoo.co.uk>
00004  * Copyright (C) 2009 Hubert Figuiere
00005  * 
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  * 
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  * 
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  
00019  * 02110-1301 USA.
00020  */
00021 
00022 #ifndef EV_QTMENUBAR_H
00023 #define EV_QTMENUBAR_H
00024 
00025 #include <QMenuBar>
00026 
00027 #include "ev_QtMenu.h"
00028 
00029 class AV_View;
00030 class XAP_QtApp;
00031 class XAP_QtFrame;
00032 
00033 
00034 /*****************************************************************/
00035 
00036 class EV_QtMenuBar : public EV_QtMenu
00037 {
00038 public:
00039     EV_QtMenuBar(XAP_QtApp * pQtApp,
00040                XAP_Frame * pFrame,
00041                const char * szMenuLayoutName,
00042                const char * szMenuLabelSetName);
00043     virtual ~EV_QtMenuBar();
00044 
00045     virtual bool        synthesizeMenuBar();
00046     virtual bool        rebuildMenuBar();
00047     virtual bool        refreshMenu(AV_View * pView);
00048     virtual void        destroy(void);
00049 
00050     QMenuBar *         getMenuBar(void) const {return m_QMenuBar;}
00051 
00052 protected:
00053     QMenuBar *         m_QMenuBar;
00054 };
00055 
00056 #endif /* EV_QTMENUBAR_H */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1