#include <KviKvsObjectController.h>
KviKvsObjectController::KviKvsObjectController |
( |
| ) |
|
KviKvsObjectController::~KviKvsObjectController |
( |
| ) |
|
void KviKvsObjectController::clearInstances |
( |
| ) |
|
void KviKvsObjectController::clearUserClasses |
( |
| ) |
|
References KviPointerList< T >::append(), KviPointerHashTableIterator< Key, T >::current(), KviPointerHashTable< Key, T >::findRef(), KviPointerList< T >::first(), flushUserClasses(), KviKvsObjectClass::isBuiltin(), m_pClassDict, KviPointerList< T >::next(), and KviPointerList< T >::setAutoDelete().
Referenced by objects_kvs_cmd_clearObjects().
References KviApplication::Classes, KviKvsObjectClass::clearDirtyFlag(), g_pApp, KviApplication::getLocalKvircDirectory(), KVI_ASSERT, KviKvsObjectClass::name(), and KviFileUtils::removeFile().
Referenced by ClassEditorWidget::build(), objects_kvs_cmd_killClass(), ClassEditorWidget::removeItem(), ClassEditorWidget::removeItemChildren(), ClassEditorWidget::renameClass(), ClassEditorWidget::renameNamespace(), and ClassEditorWidget::saveNotBuiltClasses().
void KviKvsObjectController::flushUserClasses |
( |
| ) |
|
References c, KviApplication::Classes, KviPointerHashTableIterator< Key, T >::current(), g_pApp, KviApplication::getLocalKvircDirectory(), and m_pClassDict.
Referenced by ClassEditorWidget::build(), clearUserClasses(), KviKvs::flushUserClasses(), unregisterClass(), and ~KviKvsObjectController().
void KviKvsObjectController::init |
( |
| ) |
|
References KviKvsObject::function_childCount(), KviKvsObject::function_children(), KviKvsObject::function_className(), KviKvsObject::function_destructor(), KviKvsObject::function_emit(), KviKvsObject::function_findChild(), KviKvsObject::function_killTimer(), KviKvsObject::function_listProperties(), KviKvsObject::function_name(), KviKvsObject::function_parent(), KviKvsObject::function_property(), KviKvsObject::function_setProperty(), KviKvsObject::function_signalName(), KviKvsObject::function_signalSender(), KviKvsObject::function_startTimer(), KviPointerHashTable< Key, T >::insert(), KVI_PTR2MEMBER, KviKvsObjectClass, m_pClassDict, m_pObjectClass, objectClassCreateInstance(), KviKvsObjectClass::registerFunctionHandler(), and KviKvsObjectClass::registerStandardNothingReturnFunctionHandler().
Referenced by KviKvsKernel::KviKvsKernel().
KviKvsObjectClass * KviKvsObjectController::lookupClass |
( |
const QString & |
szClass, |
|
|
bool |
bBuiltinOnly = false |
|
) |
| |
References KviApplication::Classes, KviKvsObjectClass::clearDirtyFlag(), KviFileUtils::fileExists(), KviPointerHashTable< Key, T >::find(), g_pApp, g_pModuleManager, KviApplication::getGlobalKvircDirectory(), KviApplication::getLocalKvircDirectory(), KviModuleManager::getModule(), KviKvsObjectClass::isBuiltin(), KviKvsObjectClass::load(), and m_pClassDict.
Referenced by ClassEditorWidget::build(), KvsObject_widget::eventFilter(), KviKvsTreeNodeSpecialCommandClass::execute(), KviKvsObject::inheritsClass(), KviKvsCoreFunctions::KVSCF(), KVSO_CLASS_FUNCTION(), objects_kvs_cmd_killClass(), objects_kvs_fnc_classAllHandlers(), objects_kvs_fnc_instances(), ClassEditorWidget::oneTimeSetup(), KvsObject_tableWidget::paint(), ClassEditorWidget::removeItem(), ClassEditorWidget::removeItemChildren(), ClassEditorWidget::renameClass(), ClassEditorWidget::renameFunction(), ClassEditorWidget::renameNamespace(), ClassEditorWidget::saveNotBuiltClasses(), and KvsObject_socket::slotNewConnection().
Referenced by KviKvsObject::emitSignal(), KvsObject_widget::eventFilter(), KviKvsObject::function_setProperty(), KviKvsCoreCallbackCommands::KVSCCC(), KviKvsCoreFunctions::KVSCF(), KviKvsCoreSimpleCommands::KVSCSC(), KVSO_CLASS_FUNCTION(), KviKvsTreeNodeScopeOperator::objectFromVariant(), objects_kvs_cmd_connect(), objects_kvs_cmd_disconnect(), objects_kvs_fnc_exists(), objects_kvs_fnc_name(), objects_kvs_fnc_variables(), KvsObject_tableWidget::paint(), and KvsObject_socket::slotNewConnection().
void KviKvsObjectController::registerObject |
( |
KviKvsObject * |
pObject | ) |
|
|
protected |
void KviKvsObjectController::unregisterObject |
( |
KviKvsObject * |
pObject | ) |
|
|
protected |
The documentation for this class was generated from the following files: