1
#ifndef _OPTW_URLHANDLERS_H_
2
#define _OPTW_URLHANDLERS_H_
3
//=============================================================================
5
// File : OptionsWidget_urlHandlers.h
6
// Creation date : Fri Aug 23 02:57:41 2002 GMT by Szymon Stefanek
8
// This file is part of the KVIrc irc client distribution
9
// Copyright (C) 2002-2010 Szymon Stefanek (pragma at kvirc dot net)
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 opinion) any later version.
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.
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.
25
//=============================================================================
27
#include "KviOptionsWidget.h"
31
#define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_urlHandlers KviIconManager::World
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")
37
class OptionsWidget_urlHandlers : public KviOptionsWidget
41
OptionsWidget_urlHandlers(QWidget * parent);
42
~OptionsWidget_urlHandlers();
44
virtual void commit();
46
QRadioButton * m_pClickRadio;
47
QRadioButton * m_pDoubleClickRadio;
49
KviStringSelector * m_pHttpHandler;
50
KviStringSelector * m_pHttpsHandler;
51
KviStringSelector * m_pFtpHandler;
52
KviStringSelector * m_pMailtoHandler;
53
KviStringSelector * m_pFileHandler;
54
KviStringSelector * m_pOtherHandler;
56
void toggleEditors(bool);
59
#endif //_OPTW_URLHANDLERS_H_