#include <KviKvsObjectClass.h>
|
KviKvsObject * | allocateInstance (KviKvsObject *pParent, const QString &szName, KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams) |
|
void | clearDirtyFlag () |
|
void | getFunctionCode (QString &szCode, KviKvsObjectFunctionHandler &h) |
|
KviPointerHashTable< QString,
KviKvsObjectFunctionHandler > * | getHandlers () |
|
bool | isBuiltin () |
|
bool | isDirty () |
|
bool | isScriptHandler (const QString &szFunctionName) |
|
| KviKvsObjectClass (KviKvsObjectClass *pParent, const QString &szName, KviKvsObjectAllocateInstanceProc proc, bool bBuiltin=true) |
|
KviKvsObjectFunctionHandler * | lookupFunctionHandler (const QString &szFunc) |
|
const QString & | name () |
|
KviKvsObjectClass * | parentClass () |
|
void | registerFunctionHandler (const QString &szFunctionName, KviKvsObjectFunctionHandlerProc pProc, unsigned int uFlags=0) |
|
void | registerFunctionHandler (const QString &szFunctionName, const QString &szBuffer, const QString &szReminder, unsigned int uFlags=0) |
|
void | registerStandardFalseReturnFunctionHandler (const QString &szFunc) |
|
void | registerStandardNothingReturnFunctionHandler (const QString &szFunc) |
|
void | registerStandardTrueReturnFunctionHandler (const QString &szFunc) |
|
QString | reminder (KviKvsObjectFunctionHandler *h) |
|
bool | save (const QString &szFileName) |
|
void | setReminder (const QString &szReminder, KviKvsObjectFunctionHandler *h) |
|
| ~KviKvsObjectClass () |
|
|
static bool | load (const QString &szFileName) |
|
References KviPointerHashTableIterator< Key, T >::current(), KviPointerHashTableIterator< Key, T >::currentKey(), f, KviPointerHashTable< Key, T >::find(), functionHandlers(), KviPointerHashTable< Key, T >::insert(), KviKvsKernel::instance(), KviKvsObjectFunctionHandler::isScriptHandler(), m_allocProc, m_bBuiltin, m_bDirty, m_pChildClasses, m_pFunctionHandlers, m_pParentClass, m_szName, KviKvsKernel::objectController(), registerChildClass(), KviKvsObjectController::registerClass(), KviPointerHashTable< Key, T >::setAutoDelete(), KviPointerList< T >::setAutoDelete(), and KviKvsObjectFunctionHandler::setClone().
KviKvsObjectClass::~KviKvsObjectClass |
( |
| ) |
|
References __tr2qs_ctx(), KviKvsVariantList::append(), KviKvsObject::callFunction(), KviMemory::copy(), KviKvsObject::dieNow(), KviKvsVariantList::first(), KviKvsObject::init(), KviKvsVariant::isEmpty(), m_allocProc, KviKvsVariantList::next(), KviKvsVariantList::setAutoDelete(), v, and KviKvsRunTimeContext::warning().
Referenced by KvsObject_widget::eventFilter(), KVSO_CLASS_FUNCTION(), KvsObject_tableWidget::paint(), and KvsObject_socket::slotNewConnection().
void KviKvsObjectClass::clearDirtyFlag |
( |
| ) |
|
|
inline |
bool KviKvsObjectClass::isBuiltin |
( |
| ) |
|
|
inline |
bool KviKvsObjectClass::isDirty |
( |
| ) |
|
|
inline |
bool KviKvsObjectClass::isScriptHandler |
( |
const QString & |
szFunctionName | ) |
|
|
inline |
bool KviKvsObjectClass::load |
( |
const QString & |
szFileName | ) |
|
|
static |
const QString& KviKvsObjectClass::name |
( |
| ) |
|
|
inline |
Referenced by ClassEditorWidget::createFullClass(), KviKvsObjectController::deleteClass(), KviKvsObject::emitSignal(), KviKvsTreeNodeSpecialCommandClass::execute(), KviKvsObject::function_listProperties(), KviKvsObject::function_property(), KviKvsObject::function_setProperty(), KviKvsObject::getClass(), KviKvsObjectController::registerClass(), KviKvsObject::registerPrivateImplementation(), save(), and KviKvsObjectController::unregisterClass().
void KviKvsObjectClass::registerFunctionHandler |
( |
const QString & |
szFunctionName, |
|
|
const QString & |
szBuffer, |
|
|
const QString & |
szReminder, |
|
|
unsigned int |
uFlags = 0 |
|
) |
| |
void KviKvsObjectClass::registerStandardFalseReturnFunctionHandler |
( |
const QString & |
szFunc | ) |
|
void KviKvsObjectClass::registerStandardNothingReturnFunctionHandler |
( |
const QString & |
szFunc | ) |
|
void KviKvsObjectClass::registerStandardTrueReturnFunctionHandler |
( |
const QString & |
szFunc | ) |
|
bool KviKvsObjectClass::save |
( |
const QString & |
szFileName | ) |
|
References KviCommandFormatter::blockFromBuffer(), KviPointerHashTableIterator< Key, T >::current(), KviPointerHashTableIterator< Key, T >::currentKey(), h, KviCommandFormatter::indent(), KviKvsObjectFunctionHandler::Internal, isBuiltin(), m_pFunctionHandlers, m_pParentClass, m_szName, name(), szBuffer, and KviFileUtils::writeFile().
Referenced by ClassEditorWidget::renameFunction().
bool KviKvsObjectClass::m_bBuiltin |
|
protected |
bool KviKvsObjectClass::m_bDirty |
|
protected |
QString KviKvsObjectClass::m_szName |
|
protected |
The documentation for this class was generated from the following files: