1 #ifndef _OPTW_PROTECTION_H_ 2 #define _OPTW_PROTECTION_H_ 3 //============================================================================= 4 // 5 // File : OptionsWidget_protection.h 6 // Creation date : Wed Oct 19 16:15:16 2005 GMT by Grifisx & Noldor 7 // 8 // This file is part of the KVIrc IRC client distribution 9 // Copyright (C) 2005-2008 Alessandro Carbone (elfonol at gmail dot com) 10 // 11 // This program is FREE software. You can redistribute it and/or 12 // modify it under the terms of the GNU General Public License 13 // as published by the Free Software Foundation; either version 2 14 // of the License, or (at your option) any later version. 15 // 16 // This program is distributed in the HOPE that it will be USEFUL, 17 // but WITHOUT ANY WARRANTY; without even the implied warranty of 18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 19 // See the GNU General Public License for more details. 20 // 21 // You should have received a copy of the GNU General Public License 22 // along with this program. If not, write to the Free Software Foundation, 23 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 24 // 25 //============================================================================= 26 27 #include "kvi_settings.h" 28 #include "KviOptionsWidget.h" 29 #include "KviSelectors.h" 30 31 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_protection KviIconManager::Shield 32 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_protection __tr2qs_no_lookup("Protection") 33 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_protection OptionsWidget_irc 34 #define KVI_OPTIONS_WIDGET_PRIORITY_OptionsWidget_protection 60000 35 #define KVI_OPTIONS_WIDGET_KEYWORDS_OptionsWidget_protection __tr2qs_no_lookup("ctcp,flood") 36 #define KVI_OPTIONS_WIDGET_CONTAINER_OptionsWidget_protection true 37 #define KVI_OPTIONS_WIDGET_NOTCONTAINED_OptionsWidget_protection true 38 39 class OptionsWidget_protection : public KviOptionsWidget 40 { 41 Q_OBJECT 42 public: 43 OptionsWidget_protection(QWidget * parent); 44 ~OptionsWidget_protection(); 45 }; 46 47 #endif //!_OPTW_PROTECTION_H_ 48