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

ev_QtMenuSlot.h

Go to the documentation of this file.
00001 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */
00002 
00003 /* 
00004  * Copyright (C) 2013 Serhat Kiyak <serhatkiyak91@gmail.com>
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_QTMENUSLOT_H
00023 #define EV_QTMENUSLOT_H
00024 
00025 #include <QObject>
00026 
00027 #include "ev_Menu.h"
00028 
00029 class EV_QtMenu;
00030 
00031 class EV_QtMenuSlot : public QObject                
00032 {               
00033     Q_OBJECT
00034 
00035     public:
00036         EV_QtMenuSlot(EV_QtMenu * pQtMenu, XAP_Menu_Id id);
00037         ~EV_QtMenuSlot();
00038 
00039     private slots:                                              
00040         void onTrigger();
00041         void onToggle(bool checked);
00042 
00043     private:
00044         EV_QtMenu *     m_pQtMenu;
00045         XAP_Menu_Id     m_id;
00046 };
00047 
00048 #endif /* EV_QTMENUSLOT_H */

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1