1 #ifndef _KVI_KVS_OBJECT_H_
2 #define _KVI_KVS_OBJECT_H_
94 QObject *
object()
const {
return m_pObject; };
95 void setObject(QObject *
o,
bool bIsOwned =
true);
100 QWidget * parentScriptWidget();
102 bool connectSignal(
const QString & sigName,
KviKvsObject * target,
const QString & slotName);
104 bool disconnectSignal(
const QString & sigName,
KviKvsObject * target,
const QString & slotName);
116 void setSignalName(
const QString & szSigName) { m_szSignalName = szSigName; };
128 bool inheritsClass(
const QString & szClass);
135 void registerPrivateImplementation(
const QString & szFunctionName,
const QString & szCode);
141 const QString & fncName,
142 const QString & classOverride,
151 KviKvsObject * findChild(
const QString & szClass,
const QString & szName);
163 virtual bool eventFilter(QObject *
o, QEvent *
e);
164 virtual void timerEvent(QTimerEvent *
e);
184 void objectDestroyed();
187 void callDestructor();
190 #define KVSO_PARAMETER(a, b, c, d) KVS_PARAMETER(a, b, c, d)
192 #define KVSO_PARAMETERS_BEGIN(pCall) \
193 KVS_PARAMETERS_BEGIN(parameter_format_list)
195 #define KVSO_PARAMETERS_END(pCall) \
197 if(!KviKvsParameterProcessor::process(pCall->params(), pCall->context(), parameter_format_list)) \
KviKvsObjectClass * m_pClass
Definition: KviKvsObject.h:63
void setSignalSender(kvs_hobject_t hObject)
Definition: KviKvsObject.h:114
QString szSlot
Definition: KviKvsObject.h:44
kvs_hobject_t handle()
Definition: KviKvsObject.h:91
KviPointerHashTable< QString, KviKvsObjectConnectionList > * m_pSignalDict
Definition: KviKvsObject.h:71
QString m_szSignalName
Definition: KviKvsObject.h:77
This class defines a new data type which contains variant data.
Definition: KviKvsVariant.h:351
#define KVIRC_API
Definition: kvi_settings.h:128
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
KviKvsHash * m_pDataContainer
Definition: KviKvsObject.h:65
KviPointerHashTable< QString, KviKvsObjectFunctionHandler > * m_pFunctionHandlers
Definition: KviKvsObject.h:69
KviKvsObject * parentObject()
Definition: KviKvsObject.h:99
kvs_hobject_t m_hSignalSender
Definition: KviKvsObject.h:76
Class to handle variant variables lists.
Definition: KviKvsVariantList.h:41
bool m_bDestructorCalled
Definition: KviKvsObject.h:88
Definition: KviKvsObjectController.h:37
Definition: KviKvsObjectFunctionCall.h:33
Definition: KviKvsObject.h:50
QString m_szName
Definition: KviKvsObjectClass.h:65
KviKvsObjectFunctionHandler * lookupFunctionHandler(const QString &szFunc)
Definition: KviKvsObjectClass.h:103
KviKvsObjectClass * getExactClass()
Definition: KviKvsObject.h:125
Definition: KviKvsObjectClass.h:49
KviPointerList< KviKvsObject > * m_pChildList
Definition: KviKvsObject.h:67
KviKvsObject * pTargetObject
Definition: KviKvsObject.h:42
const QString & getName()
Definition: KviKvsObject.h:97
#define e
Definition: detector.cpp:69
This class defines a new data type which contains hash data.
Definition: KviKvsHash.h:47
QString szSignal
Definition: KviKvsObject.h:43
KviKvsObjectConnectionList * m_pConnectionList
Definition: KviKvsObject.h:73
friend class KviKvsObject
Definition: KviKvsObjectClass.h:51
bool m_bAboutToDie
Definition: KviKvsObject.h:86
KviPointerHashTable< QString, KviKvsObjectFunctionHandler > * m_pFunctionHandlers
Definition: KviKvsObjectClass.h:67
QObject * m_pObject
Definition: KviKvsObject.h:80
void setSignalName(const QString &szSigName)
Definition: KviKvsObject.h:116
KviPointerList< KviKvsObjectConnection > KviKvsObjectConnectionList
Definition: KviKvsObject.h:47
C++ Template based double linked pointer list class.
QObject * object() const
Definition: KviKvsObject.h:94
A template double linked list of pointers.
Definition: KviPointerList.h:55
KviPointerListIterator< KviKvsObjectConnection > KviKvsObjectConnectionListIterator
Definition: KviKvsObject.h:48
struct _KviKvsObjectConnection KviKvsObjectConnection
Definition: KviKvsRunTimeContext.h:103
#define o
Definition: detector.cpp:79
bool m_bInDelayedDeath
Definition: KviKvsObject.h:84
bool m_bObjectOwner
Definition: KviKvsObject.h:81
KviKvsHash * dataContainer()
Definition: KviKvsObject.h:120
KviKvsObject * pSourceObject
Definition: KviKvsObject.h:41
kvs_hobject_t m_hObject
Definition: KviKvsObject.h:62
void * kvs_hobject_t
Definition: KviKvsTypes.h:32
Definition: KviKvsObject.h:39
int init()
Definition: winamp.cpp:118
kvs_hobject_t signalSender()
Definition: KviKvsObject.h:115
This file contains compile time settings.
KviPointerHashTable< QString, KviKvsObjectFunctionHandler > * functionHandlers()
Definition: KviKvsObject.h:118
A fast KviPointerList iterator.
Definition: KviPointerList.h:57
Helper functions for the QString class.
QString m_szName
Definition: KviKvsObject.h:61
Definition: KviKvsObjectFunctionHandler.h:34