KVIrc  4.9.2
DeveloperAPIs
OptionsWidget_connection.h
Go to the documentation of this file.
1 #ifndef _OPTW_CONNECTION_H_
2 #define _OPTW_CONNECTION_H_
3 //=============================================================================
4 //
5 // File : OptionsWidget_connection.h
6 // Creation date : Sat Nov 24 04:25:12 2001 GMT by Szymon Stefanek
7 //
8 // This file is part of the KVIrc IRC client distribution
9 // Copyright (C) 2001-2010 Szymon Stefanek (pragma at kvirc dot net)
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 "KviOptionsWidget.h"
28 #include "KviIconManager.h"
29 
30 class QRadioButton;
31 
32 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_connection KviIconManager::World
33 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_connection __tr2qs_no_lookup("Connection")
34 #define KVI_OPTIONS_WIDGET_PRIORITY_OptionsWidget_connection 98000
35 
37 {
38  Q_OBJECT
39 public:
40  OptionsWidget_connection(QWidget * parent);
42 };
43 
44 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_connectionAdvanced KviIconManager::Gui
45 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_connectionAdvanced __tr2qs_no_lookup("Advanced")
46 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_connectionAdvanced OptionsWidget_connection
47 #define KVI_OPTIONS_WIDGET_CONTAINER_OptionsWidget_connectionAdvanced true
48 
50 {
51  Q_OBJECT
52 public:
53  OptionsWidget_connectionAdvanced(QWidget * parent);
55 };
56 
57 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_connectionSsl KviIconManager::Ssl
58 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_connectionSsl __tr2qs_no_lookup("SSL")
59 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_connectionSsl OptionsWidget_connectionAdvanced
60 #define KVI_OPTIONS_WIDGET_PRIORITY_OptionsWidget_connectionSsl 30
61 
63 {
64  Q_OBJECT
65 public:
66  OptionsWidget_connectionSsl(QWidget * parent);
68 };
69 
70 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_connectionSocket KviIconManager::Socket
71 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_connectionSocket __tr2qs_no_lookup("Socket")
72 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_connectionSocket OptionsWidget_connectionAdvanced
73 #define KVI_OPTIONS_WIDGET_PRIORITY_OptionsWidget_connectionSocket 20
74 
76 {
77  Q_OBJECT
78 public:
79  OptionsWidget_connectionSocket(QWidget * parent);
81 };
82 
83 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_identService KviIconManager::Ident
84 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_identService __tr2qs_no_lookup("Ident Service")
85 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_identService OptionsWidget_connectionAdvanced
86 #define KVI_OPTIONS_WIDGET_PRIORITY_OptionsWidget_identService 10
87 
89 {
90  Q_OBJECT
91 public:
92  OptionsWidget_identService(QWidget * parent);
94 
95  virtual void commit();
96 
97 protected:
101 
102  QRadioButton * m_pConsoleRadio;
103  QRadioButton * m_pActiveRadio;
104  QRadioButton * m_pQuietRadio;
105 public slots:
106  void enableIpv4InIpv6(bool);
107 };
108 
109 #endif //_OPTW_CONNECTION_H_
virtual void commit()
Definition: OptionsWidget_connection.cpp:280
QRadioButton * m_pActiveRadio
Definition: OptionsWidget_connection.h:103
Definition: KviSelectors.h:59
Definition: OptionsWidget_connection.h:36
Definition: OptionsWidget_connection.h:49
OptionsWidget_connectionSocket(QWidget *parent)
Definition: OptionsWidget_connection.cpp:142
void enableIpv4InIpv6(bool)
Definition: OptionsWidget_connection.cpp:291
KviBoolSelector * m_pEnableIdent
Definition: OptionsWidget_connection.h:98
Definition: KviOptionsWidget.h:40
Icon manager.
OptionsWidget_connectionAdvanced(QWidget *parent)
Definition: OptionsWidget_connection.cpp:298
KviBoolSelector * m_pEnableIpv6
Definition: OptionsWidget_connection.h:99
QRadioButton * m_pQuietRadio
Definition: OptionsWidget_connection.h:104
KviBoolSelector * m_pIpv4InIpv6
Definition: OptionsWidget_connection.h:100
OptionsWidget_connectionSsl(QWidget *parent)
Definition: OptionsWidget_connection.cpp:97
Definition: OptionsWidget_connection.h:75
OptionsWidget_connection(QWidget *parent)
Definition: OptionsWidget_connection.cpp:35
QRadioButton * m_pConsoleRadio
Definition: OptionsWidget_connection.h:102
Definition: OptionsWidget_connection.h:88
OptionsWidget_identService(QWidget *parent)
Definition: OptionsWidget_connection.cpp:191
Definition: OptionsWidget_connection.h:62