KVIrc
4.9.2
DeveloperAPIs
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
modules
objects
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
32
class
KvsObject_checkBox
:
public
KvsObject_button
33
{
34
Q_OBJECT
35
public
:
36
KVSO_DECLARE_OBJECT
(
KvsObject_checkBox
)
37
public
:
38
QWidget *
widget
() {
return
(QWidget *)
object
(); };
39
protected
:
40
virtual
bool
init
(
KviKvsRunTimeContext
* pContext,
KviKvsVariantList
* pParams);
41
bool
setChecked
(
KviKvsObjectFunctionCall
*
c
);
42
bool
isChecked
(
KviKvsObjectFunctionCall
*
c
);
43
bool
toggleEvent
(
KviKvsObjectFunctionCall
*
c
);
44
bool
setText
(
KviKvsObjectFunctionCall
*
c
);
45
protected
slots:
46
void
toggled
(
bool
b);
47
};
48
#endif // !_CLASS_CHECKBOX_H_
KvsObject_checkBox::widget
QWidget * widget()
Definition:
KvsObject_checkBox.h:38
object_macros.h
c
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
KviKvsVariantList
Class to handle variant variables lists.
Definition:
KviKvsVariantList.h:41
KvsObject_checkBox::init
virtual bool init(KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams)
Definition:
KvsObject_checkBox.cpp:76
KviKvsObjectFunctionCall
Definition:
KviKvsObjectFunctionCall.h:33
KvsObject_checkBox::isChecked
bool isChecked(KviKvsObjectFunctionCall *c)
KvsObject_button
Definition:
KvsObject_button.h:31
KvsObject_checkBox::toggleEvent
bool toggleEvent(KviKvsObjectFunctionCall *c)
KvsObject_checkBox::setChecked
bool setChecked(KviKvsObjectFunctionCall *c)
KVSO_DECLARE_OBJECT
#define KVSO_DECLARE_OBJECT(__className)
Definition:
object_macros.h:33
KvsObject_checkBox::toggled
void toggled(bool b)
Definition:
KvsObject_checkBox.cpp:122
KviKvsObject::object
QObject * object() const
Definition:
KviKvsObject.h:94
KviKvsRunTimeContext
Definition:
KviKvsRunTimeContext.h:103
KvsObject_checkBox
Definition:
KvsObject_checkBox.h:32
KvsObject_checkBox::setText
bool setText(KviKvsObjectFunctionCall *c)
KvsObject_button.h
Generated on Mon May 16 2016 22:48:46 for KVIrc by
1.8.7