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 AP_QTTOOLBAR_ZOOMCOMBO_H 00023 #define AP_QTTOOLBAR_ZOOMCOMBO_H 00024 00025 #include "xap_Types.h" 00026 #include "ev_Toolbar_Control.h" 00027 class EV_Toolbar; 00028 00029 /*****************************************************************/ 00030 00031 class AP_QtToolbar_ZoomCombo : public EV_Toolbar_Control 00032 { 00033 public: 00034 AP_QtToolbar_ZoomCombo(EV_Toolbar * pToolbar, XAP_Toolbar_Id id); 00035 virtual ~AP_QtToolbar_ZoomCombo(void); 00036 00037 virtual bool populate(void); 00038 00039 static EV_Toolbar_Control * static_constructor(EV_Toolbar *, XAP_Toolbar_Id id); 00040 00041 protected: 00042 }; 00043 00044 #endif /* AP_QTTOOLBAR_ZOOMCOMBO_H */