From a6d58bb6052ac8cb01805a48c4ad2f129126116f Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 24 Feb 2010 02:13:59 +0000 Subject: Added KDE3 version of kvirc git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1095341 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/modules/options/optw_protection.h | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/modules/options/optw_protection.h (limited to 'src/modules/options/optw_protection.h') diff --git a/src/modules/options/optw_protection.h b/src/modules/options/optw_protection.h new file mode 100644 index 00000000..5ac37e43 --- /dev/null +++ b/src/modules/options/optw_protection.h @@ -0,0 +1,48 @@ +#ifndef _OPTW_PROTECTION_H_ +#define _OPTW_PROTECTION_H_ + +//============================================================================= +// +// File : optw_protection.h +// +// This file is part of the KVirc irc client distribution +// Creation date : Wed Ott 19 16:15:16 2005 GMT by Grifisx & Noldor +// +// Copyright (C) 2005 Grifisx & Noldor +// This program is FREE software. You can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your opinion) any later version. +// +// This program is distributed in the HOPE that it will be USEFUL, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, write to the Free Software Foundation, +// Inc. ,51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +// +//============================================================================= + +#include "kvi_settings.h" +#include "kvi_optionswidget.h" +#include "kvi_selectors.h" + +#define KVI_OPTIONS_WIDGET_ICON_KviProtectionOptionsWidget KVI_SMALLICON_SPY +#define KVI_OPTIONS_WIDGET_NAME_KviProtectionOptionsWidget __tr2qs_no_lookup("Protection") +#define KVI_OPTIONS_WIDGET_PARENT_KviProtectionOptionsWidget KviIrcOptionsWidget +#define KVI_OPTIONS_WIDGET_PRIORITY_KviProtectionOptionsWidget 60000 +#define KVI_OPTIONS_WIDGET_KEYWORDS_KviProtectionOptionsWidget __tr2qs_no_lookup("ctcp,flood") +#define KVI_OPTIONS_WIDGET_CONTAINER_KviProtectionOptionsWidget true +#define KVI_OPTIONS_WIDGET_NOTCONTAINED_KviProtectionOptionsWidget true + +class KviProtectionOptionsWidget : public KviOptionsWidget +{ + Q_OBJECT +public: + KviProtectionOptionsWidget(QWidget * parent); + ~KviProtectionOptionsWidget(); +}; + +#endif //!_OPTW_PROTECTION_H_ -- cgit v1.2.1