#ifndef _OPTW_IRC_H_
#define _OPTW_IRC_H_
//=============================================================================
//
//   File : optw_irc.h
//   Creation date : Sun Dec  2 18:59:49 2001 GMT by Szymon Stefanek
//
//   This file is part of the KVirc irc client distribution
//   Copyright (C) 2001-2006 Szymon Stefanek (pragma at kvirc dot net)
//
//   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_optionswidget.h"

class TQComboBox;

#define KVI_OPTIONS_WIDGET_ICON_KviIrcOptionsWidget KVI_SMALLICON_IRC
#define KVI_OPTIONS_WIDGET_NAME_KviIrcOptionsWidget __tr2qs_no_lookup("IRC")
#define KVI_OPTIONS_WIDGET_PRIORITY_KviIrcOptionsWidget 80000
#define KVI_OPTIONS_WIDGET_CONTAINER_KviIrcOptionsWidget true

class KviIrcOptionsWidget : public KviOptionsWidget
{
	TQ_OBJECT
  
public:
	KviIrcOptionsWidget(TQWidget * parent);
	~KviIrcOptionsWidget();
};

#define KVI_OPTIONS_WIDGET_ICON_KviIrcGeneralOptionsWidget KVI_SMALLICON_IRC
#define KVI_OPTIONS_WIDGET_NAME_KviIrcGeneralOptionsWidget __tr2qs_no_lookup("General")
#define KVI_OPTIONS_WIDGET_PARENT_KviIrcGeneralOptionsWidget KviIrcOptionsWidget
#define KVI_OPTIONS_WIDGET_PRIORITY_KviIrcGeneralOptionsWidget 80000

class KviIrcGeneralOptionsWidget : public KviOptionsWidget
{
	TQ_OBJECT
  
public:
	KviIrcGeneralOptionsWidget(TQWidget * parent);
	~KviIrcGeneralOptionsWidget();
};


#define KVI_OPTIONS_WIDGET_ICON_KviIrcAdvancedOptionsWidget KVI_SMALLICON_IRC
#define KVI_OPTIONS_WIDGET_NAME_KviIrcAdvancedOptionsWidget __tr2qs_no_lookup("Advanced")
#define KVI_OPTIONS_WIDGET_PARENT_KviIrcAdvancedOptionsWidget KviIrcOptionsWidget
#define KVI_OPTIONS_WIDGET_PRIORITY_KviIrcAdvancedOptionsWidget 50000

class KviIrcAdvancedOptionsWidget : public KviOptionsWidget
{
	TQ_OBJECT
  
public:
	KviIrcAdvancedOptionsWidget(TQWidget * parent);
	~KviIrcAdvancedOptionsWidget();
};


#define KVI_OPTIONS_WIDGET_ICON_KviChannelOptionsWidget KVI_SMALLICON_CHANNEL
#define KVI_OPTIONS_WIDGET_NAME_KviChannelOptionsWidget __tr2qs_no_lookup("Channel")
#define KVI_OPTIONS_WIDGET_PARENT_KviChannelOptionsWidget KviIrcOptionsWidget
#define KVI_OPTIONS_WIDGET_CONTAINER_KviChannelOptionsWidget true
#define KVI_OPTIONS_WIDGET_NOTCONTAINED_KviChannelOptionsWidget true
#define KVI_OPTIONS_WIDGET_PRIORITY_KviChannelOptionsWidget 90000

class KviChannelOptionsWidget : public KviOptionsWidget
{
	TQ_OBJECT
  
public:
	KviChannelOptionsWidget(TQWidget * parent);
	~KviChannelOptionsWidget();
};


#define KVI_OPTIONS_WIDGET_ICON_KviChannelGeneralOptionsWidget KVI_SMALLICON_CHANNEL
#define KVI_OPTIONS_WIDGET_NAME_KviChannelGeneralOptionsWidget __tr2qs_no_lookup("General")
#define KVI_OPTIONS_WIDGET_PARENT_KviChannelGeneralOptionsWidget KviChannelOptionsWidget

class KviChannelGeneralOptionsWidget : public KviOptionsWidget
{
	TQ_OBJECT
  
public:
	KviChannelGeneralOptionsWidget(TQWidget * parent);
	~KviChannelGeneralOptionsWidget();
};

#define KVI_OPTIONS_WIDGET_ICON_KviChannelAdvancedOptionsWidget KVI_SMALLICON_CHANNEL
#define KVI_OPTIONS_WIDGET_NAME_KviChannelAdvancedOptionsWidget __tr2qs_no_lookup("Advanced")
#define KVI_OPTIONS_WIDGET_PARENT_KviChannelAdvancedOptionsWidget KviChannelOptionsWidget

class KviChannelAdvancedOptionsWidget : public KviOptionsWidget
{
	TQ_OBJECT
  
public:
	KviChannelAdvancedOptionsWidget(TQWidget * parent);
	~KviChannelAdvancedOptionsWidget();
public:
	virtual void commit();
protected:
	TQComboBox * m_pBanTypeCombo;
};

#endif //_OPTW_IRC_H_
