KVIrc  4.9.2
DeveloperAPIs
OptionsWidget_channel.h
Go to the documentation of this file.
1 #ifndef _OPTW_CHANNEL_H_
2 #define _OPTW_CHANNEL_H_
3 //=============================================================================
4 //
5 // File : OptionsWidget_channel.h
6 // Creation date : Sat Sep 27 19:30:02 2008 GMT by Elvio Basello
7 //
8 // This file is part of the KVIrc IRC client distribution
9 // Copyright (C) 2008 Elvio Basello (hellvis69 at netsons dot org)
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 // This file was originally part of OptionsWidget_irc.h
28 //
29 //=============================================================================
30 
31 #include "KviOptionsWidget.h"
32 
33 class QComboBox;
34 
35 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_channel KviIconManager::Channel
36 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_channel __tr2qs_no_lookup("Channel")
37 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_channel OptionsWidget_irc
38 #define KVI_OPTIONS_WIDGET_CONTAINER_OptionsWidget_channel true
39 #define KVI_OPTIONS_WIDGET_NOTCONTAINED_OptionsWidget_channel true
40 #define KVI_OPTIONS_WIDGET_PRIORITY_OptionsWidget_channel 90000
41 
43 {
44  Q_OBJECT
45 public:
46  OptionsWidget_channel(QWidget * parent);
48 };
49 
50 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_channelGeneral KviIconManager::Channel
51 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_channelGeneral __tr2qs_no_lookup("General")
52 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_channelGeneral OptionsWidget_channel
53 
55 {
56  Q_OBJECT
57 public:
58  OptionsWidget_channelGeneral(QWidget * parent);
60 };
61 
62 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_channelAdvanced KviIconManager::Gui
63 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_channelAdvanced __tr2qs_no_lookup("Advanced")
64 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_channelAdvanced OptionsWidget_channel
65 
67 {
68  Q_OBJECT
69 public:
70  OptionsWidget_channelAdvanced(QWidget * parent);
72 
73 public:
74  virtual void commit();
75 
76 protected:
77  QComboBox * m_pBanTypeCombo;
78 };
79 
80 #endif // _OPTW_CHANNEL_H_
Definition: OptionsWidget_channel.h:66
virtual void commit()
Definition: OptionsWidget_channel.cpp:163
OptionsWidget_channel(QWidget *parent)
Definition: OptionsWidget_channel.cpp:38
Definition: KviOptionsWidget.h:40
OptionsWidget_channelAdvanced(QWidget *parent)
Definition: OptionsWidget_channel.cpp:89
Definition: OptionsWidget_channel.h:54
OptionsWidget_channelGeneral(QWidget *parent)
Definition: OptionsWidget_channel.cpp:46
QComboBox * m_pBanTypeCombo
Definition: OptionsWidget_channel.h:77
Definition: OptionsWidget_channel.h:42