KVIrc  4.9.2
DeveloperAPIs
OptionsWidget_textEncoding.h
Go to the documentation of this file.
1 #ifndef _OPTW_TEXTENCODING_H_
2 #define _OPTW_TEXTENCODING_H_
3 //=============================================================================
4 //
5 // File : OptionsWidget_textEncoding.h
6 // Creation date : Sat Mar 02 2002 12:09:19 CEST 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 #include <QComboBox>
30 #include <QTableWidget>
31 
32 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_textEncoding KviIconManager::TextEncoding
33 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_textEncoding __tr2qs_no_lookup("Language")
34 #define KVI_OPTIONS_WIDGET_PRIORITY_OptionsWidget_textEncoding 50000
35 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_textEncoding OptionsWidget_general
36 #define KVI_OPTIONS_WIDGET_KEYWORDS_OptionsWidget_textEncoding __tr2qs_no_lookup("language,encoding,charset,codepage")
37 
39 {
40  Q_OBJECT
41 public:
42  OptionsWidget_textEncoding(QWidget * parent);
44 
45 protected:
46  QString m_szLanguage;
47  QComboBox * m_pTextEncodingCombo;
48  QComboBox * m_pSrvEncodingCombo;
49  QComboBox * m_pForcedLocaleCombo;
51 
52 public:
53  virtual void commit();
54 };
55 
56 #endif
QString m_szLanguage
Definition: OptionsWidget_textEncoding.h:46
QComboBox * m_pForcedLocaleCombo
Definition: OptionsWidget_textEncoding.h:49
Definition: KviOptionsWidget.h:40
virtual void commit()
Definition: OptionsWidget_textEncoding.cpp:188
QTableWidget * m_pSpellCheckerDictionaries
Definition: OptionsWidget_textEncoding.h:50
OptionsWidget_textEncoding(QWidget *parent)
Definition: OptionsWidget_textEncoding.cpp:41
QComboBox * m_pSrvEncodingCombo
Definition: OptionsWidget_textEncoding.h:48
QComboBox * m_pTextEncodingCombo
Definition: OptionsWidget_textEncoding.h:47
Definition: OptionsWidget_textEncoding.h:38