KVIrc  4.9.2
DeveloperAPIs
OptionsWidget_away.h
Go to the documentation of this file.
1 #ifndef _OPTW_AWAY_H_
2 #define _OPTW_AWAY_H_
3 //=============================================================================
4 //
5 // File : OptionsWidget_away.h
6 // Creation date : Mon Oct 29 15:37:18 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 
29 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_away KviIconManager::Away
30 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_away __tr2qs_no_lookup("Away")
31 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_away OptionsWidget_tools
32 
34 {
35  Q_OBJECT
36 public:
37  OptionsWidget_away(QWidget * parent);
39 
40 protected:
46 public slots:
47  void enableCustomAwayText(bool);
48  void enableAwayMessage(bool);
49 };
50 
51 #endif //_OPTW_AWAY_H_
KviBoolSelector * m_pEnableAwayNick
Definition: OptionsWidget_away.h:43
Definition: KviSelectors.h:59
KviStringSelector * m_pCustomAwayNick
Definition: OptionsWidget_away.h:44
KviBoolSelector * m_pEnableCustomAwayNick
Definition: OptionsWidget_away.h:45
KviBoolSelector * m_pEnableAwayMessage
Definition: OptionsWidget_away.h:41
Definition: KviOptionsWidget.h:40
void enableAwayMessage(bool)
Definition: OptionsWidget_away.cpp:66
Definition: OptionsWidget_away.h:33
Definition: KviSelectors.h:78
KviStringSelector * m_pAwayMessage
Definition: OptionsWidget_away.h:42
void enableCustomAwayText(bool)
Definition: OptionsWidget_away.cpp:61
OptionsWidget_away(QWidget *parent)
Definition: OptionsWidget_away.cpp:32