KVIrc  4.9.2
DeveloperAPIs
KvsObject_checkBox.h
Go to the documentation of this file.
1 #ifndef _CLASS_CHECKBOX_H_
2 #define _CLASS_CHECKBOX_H_
3 
4 //=============================================================================
5 //
6 // File : KvsObject_checkBox.h
7 // Creation date : Wed 13 Sep 2000 02:42:05 CEST by Krzysztof Godlewski
8 //
9 // This file is part of the KVIrc IRC client distribution
10 // Copyright (C) 2000 Krzysztof Godlewski
11 // Copyright (C) 2000-2010 Szymon Stefanek (pragma at kvirc dot net)
12 //
13 // This program is FREE software. You can redistribute it and/or
14 // modify it under the terms of the GNU General Public License
15 // as published by the Free Software Foundation; either version 2
16 // of the License, or (at your option) any later version.
17 //
18 // This program is distributed in the HOPE that it will be USEFUL,
19 // but WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21 // See the GNU General Public License for more details.
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program. If not, write to the Free Software Foundation,
25 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 //
27 //=============================================================================
28 
29 #include "KvsObject_button.h"
30 #include "object_macros.h"
31 
33 {
34  Q_OBJECT
35 public:
37 public:
38  QWidget * widget() { return (QWidget *)object(); };
39 protected:
40  virtual bool init(KviKvsRunTimeContext * pContext, KviKvsVariantList * pParams);
45 protected slots:
46  void toggled(bool b);
47 };
48 #endif // !_CLASS_CHECKBOX_H_
QWidget * widget()
Definition: KvsObject_checkBox.h:38
char s char s char s s s s s char char c s *s c s s s d c s *s d c d d d d c
Definition: KviIrcNumericCodes.h:391
Class to handle variant variables lists.
Definition: KviKvsVariantList.h:41
virtual bool init(KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams)
Definition: KvsObject_checkBox.cpp:76
Definition: KviKvsObjectFunctionCall.h:33
bool isChecked(KviKvsObjectFunctionCall *c)
Definition: KvsObject_button.h:31
bool toggleEvent(KviKvsObjectFunctionCall *c)
bool setChecked(KviKvsObjectFunctionCall *c)
#define KVSO_DECLARE_OBJECT(__className)
Definition: object_macros.h:33
void toggled(bool b)
Definition: KvsObject_checkBox.cpp:122
QObject * object() const
Definition: KviKvsObject.h:94
Definition: KviKvsRunTimeContext.h:103
Definition: KvsObject_checkBox.h:32
bool setText(KviKvsObjectFunctionCall *c)