KVIrc
4.9.2
DeveloperAPIs
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
modules
objects
KvsObject_colorDialog.h
Go to the documentation of this file.
1
#ifndef _CLASS_COLORDIALOG_H_
2
#define _CLASS_COLORDIALOG_H_
3
4
//=============================================================================
5
//
6
// File : KvsObject_colorDialog.h
7
// Creation date : Wed 27 Apr 2011 15:42:05 CEST by Alessandro Carbone
8
//
9
// This file is part of the KVIrc IRC client distribution
10
// Copyright (C) 2011 Alessandro Carbone (elfonol at gmail dot com)
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_dialog.h
"
30
#include "
object_macros.h
"
31
32
class
KvsObject_colorDialog
:
public
KvsObject_dialog
33
{
34
Q_OBJECT
35
public
:
36
KVSO_DECLARE_OBJECT
(
KvsObject_colorDialog
)
37
public
:
38
QWidget *
widget
() {
return
(QWidget *)
object
(); }
39
protected
:
40
virtual
bool
init
(
KviKvsRunTimeContext
* pContext,
KviKvsVariantList
* pParams);
41
bool
setCurrentColor
(
KviKvsObjectFunctionCall
*
c
);
42
bool
currentColorChangedEvent
(
KviKvsObjectFunctionCall
*
c
);
43
bool
colorSelectedEvent
(
KviKvsObjectFunctionCall
*
c
);
44
bool
setOptions
(
KviKvsObjectFunctionCall
*
c
);
45
protected
slots:
46
void
slotCurrentColorChanged
(
const
QColor & col);
47
void
slotColorSelected
(
const
QColor & col);
48
};
49
#endif // !_CLASS_COLORDIALOG_H_
KvsObject_colorDialog::colorSelectedEvent
bool colorSelectedEvent(KviKvsObjectFunctionCall *c)
object_macros.h
KvsObject_colorDialog::setCurrentColor
bool setCurrentColor(KviKvsObjectFunctionCall *c)
KvsObject_colorDialog::currentColorChangedEvent
bool currentColorChangedEvent(KviKvsObjectFunctionCall *c)
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
KviKvsObjectFunctionCall
Definition:
KviKvsObjectFunctionCall.h:33
KvsObject_colorDialog::init
virtual bool init(KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams)
Definition:
KvsObject_colorDialog.cpp:93
KvsObject_colorDialog
Definition:
KvsObject_colorDialog.h:32
KvsObject_dialog.h
KvsObject_colorDialog::setOptions
bool setOptions(KviKvsObjectFunctionCall *c)
KVSO_DECLARE_OBJECT
#define KVSO_DECLARE_OBJECT(__className)
Definition:
object_macros.h:33
KvsObject_colorDialog::widget
QWidget * widget()
Definition:
KvsObject_colorDialog.h:38
KviKvsObject::object
QObject * object() const
Definition:
KviKvsObject.h:94
KviKvsRunTimeContext
Definition:
KviKvsRunTimeContext.h:103
KvsObject_colorDialog::slotColorSelected
void slotColorSelected(const QColor &col)
Definition:
KvsObject_colorDialog.cpp:217
KvsObject_colorDialog::slotCurrentColorChanged
void slotCurrentColorChanged(const QColor &col)
Definition:
KvsObject_colorDialog.cpp:206
KvsObject_dialog
Definition:
KvsObject_dialog.h:30
Generated on Mon May 16 2016 22:48:46 for KVIrc by
1.8.7