KVIrc  4.9.2
DeveloperAPIs
OptionsWidget_urlHandlers.h
Go to the documentation of this file.
1 #ifndef _OPTW_URLHANDLERS_H_
2 #define _OPTW_URLHANDLERS_H_
3 //=============================================================================
4 //
5 // File : OptionsWidget_urlHandlers.h
6 // Creation date : Fri Aug 23 02:57:41 2002 GMT by Szymon Stefanek
7 //
8 // This file is part of the KVIrc IRC client distribution
9 // Copyright (C) 2002-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 
29 class QRadioButton;
30 
31 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_urlHandlers KviIconManager::Url
32 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_urlHandlers __tr2qs_no_lookup("URL Handlers")
33 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_urlHandlers OptionsWidget_general
34 #define KVI_OPTIONS_WIDGET_PRIORITY_OptionsWidget_urlHandlers 70000
35 #define KVI_OPTIONS_WIDGET_KEYWORDS_OptionsWidget_urlHandlers __tr2qs_no_lookup("URL,programs")
36 
38 {
39  Q_OBJECT
40 public:
41  OptionsWidget_urlHandlers(QWidget * parent);
43 
44  virtual void commit();
45 
46 protected:
47  QRadioButton * m_pClickRadio;
48  QRadioButton * m_pDoubleClickRadio;
49 
56 public slots:
57  void toggleEditors(bool);
58 };
59 
60 #endif //_OPTW_URLHANDLERS_H_
KviStringSelector * m_pHttpHandler
Definition: OptionsWidget_urlHandlers.h:50
virtual void commit()
Definition: OptionsWidget_urlHandlers.cpp:110
Definition: OptionsWidget_urlHandlers.h:37
OptionsWidget_urlHandlers(QWidget *parent)
Definition: OptionsWidget_urlHandlers.cpp:36
Definition: KviOptionsWidget.h:40
KviStringSelector * m_pFtpHandler
Definition: OptionsWidget_urlHandlers.h:52
KviStringSelector * m_pMailtoHandler
Definition: OptionsWidget_urlHandlers.h:53
KviStringSelector * m_pOtherHandler
Definition: OptionsWidget_urlHandlers.h:55
Definition: KviSelectors.h:78
QRadioButton * m_pClickRadio
Definition: OptionsWidget_urlHandlers.h:47
KviStringSelector * m_pHttpsHandler
Definition: OptionsWidget_urlHandlers.h:51
KviStringSelector * m_pFileHandler
Definition: OptionsWidget_urlHandlers.h:54
void toggleEditors(bool)
Definition: OptionsWidget_urlHandlers.cpp:100
QRadioButton * m_pDoubleClickRadio
Definition: OptionsWidget_urlHandlers.h:48