Commit 0ef809d2 authored by Jan Möbius's avatar Jan Möbius

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4795 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 060fbe38
...@@ -43,7 +43,7 @@ void DataControlPlugin::slotContextMenuTarget( ) { ...@@ -43,7 +43,7 @@ void DataControlPlugin::slotContextMenuTarget( ) {
return; return;
BaseObjectData* object; BaseObjectData* object;
if ( ! PluginFunctions::get_object(objectId,object) ) if ( ! PluginFunctions::getObject(objectId,object) )
return; return;
object->target( targetAction_->isChecked() ); object->target( targetAction_->isChecked() );
...@@ -60,7 +60,7 @@ void DataControlPlugin::slotContextMenuHide( ) { ...@@ -60,7 +60,7 @@ void DataControlPlugin::slotContextMenuHide( ) {
return; return;
BaseObjectData* object; BaseObjectData* object;
if ( ! PluginFunctions::get_object(objectId,object) ) if ( ! PluginFunctions::getObject(objectId,object) )
return; return;
object->hide(); object->hide();
...@@ -78,7 +78,7 @@ void DataControlPlugin::slotContextMenuSource( ) { ...@@ -78,7 +78,7 @@ void DataControlPlugin::slotContextMenuSource( ) {
return; return;
BaseObjectData* object; BaseObjectData* object;
if ( ! PluginFunctions::get_object(objectId,object) ) if ( ! PluginFunctions::getObject(objectId,object) )
return; return;
object->source( sourceAction_->isChecked() ); object->source( sourceAction_->isChecked() );
...@@ -91,7 +91,7 @@ void DataControlPlugin::slotUpdateContextMenu( int _objectId) { ...@@ -91,7 +91,7 @@ void DataControlPlugin::slotUpdateContextMenu( int _objectId) {
return; return;
BaseObjectData* object; BaseObjectData* object;
if ( ! PluginFunctions::get_object(_objectId,object) ) if ( ! PluginFunctions::getObject(_objectId,object) )
return; return;
sourceAction_->setText( "Source" ); sourceAction_->setText( "Source" );
......
...@@ -76,7 +76,7 @@ int DataControlPlugin::getObject( QString _name ) { ...@@ -76,7 +76,7 @@ int DataControlPlugin::getObject( QString _name ) {
QString DataControlPlugin::getObjectName( int objectId ) { QString DataControlPlugin::getObjectName( int objectId ) {
BaseObjectData* object; BaseObjectData* object;
if ( ! PluginFunctions::get_object(objectId,object) ) { if ( ! PluginFunctions::getObject(objectId,object) ) {
emit log(LOGERR,"getObjectName : unable to get object" ); emit log(LOGERR,"getObjectName : unable to get object" );
return QString("Unknown Object"); return QString("Unknown Object");
} else } else
...@@ -88,7 +88,7 @@ QString DataControlPlugin::getObjectName( int objectId ) { ...@@ -88,7 +88,7 @@ QString DataControlPlugin::getObjectName( int objectId ) {
void DataControlPlugin::hideObject( int objectId ) { void DataControlPlugin::hideObject( int objectId ) {
BaseObjectData* object; BaseObjectData* object;
if ( ! PluginFunctions::get_object(objectId,object) ) if ( ! PluginFunctions::getObject(objectId,object) )
return; return;
if ( object == 0) if ( object == 0)
...@@ -101,7 +101,7 @@ void DataControlPlugin::hideObject( int objectId ) { ...@@ -101,7 +101,7 @@ void DataControlPlugin::hideObject( int objectId ) {
void DataControlPlugin::showObject( int objectId ) { void DataControlPlugin::showObject( int objectId ) {
BaseObjectData* object; BaseObjectData* object;
if ( ! PluginFunctions::get_object(objectId,object) ) if ( ! PluginFunctions::getObject(objectId,object) )
return; return;
if ( object == 0) if ( object == 0)
...@@ -117,7 +117,7 @@ void DataControlPlugin::groupObjects(idList _objectIDs, QString _groupName) { ...@@ -117,7 +117,7 @@ void DataControlPlugin::groupObjects(idList _objectIDs, QString _groupName) {
for (uint i=0; i < _objectIDs.size(); i++){ for (uint i=0; i < _objectIDs.size(); i++){
BaseObject* obj; BaseObject* obj;
if ( PluginFunctions::get_object(_objectIDs[i],obj) ) if ( PluginFunctions::getObject(_objectIDs[i],obj) )
objs.push_back(obj); objs.push_back(obj);
} }
......
...@@ -697,7 +697,7 @@ bool TreeModel::dropMimeData(const QMimeData *data, ...@@ -697,7 +697,7 @@ bool TreeModel::dropMimeData(const QMimeData *data,
for (int i = 0; i < ids.count(); i++){ for (int i = 0; i < ids.count(); i++){
BaseObject* item = 0; BaseObject* item = 0;
if (PluginFunctions::get_object(ids[i], item)){ if (PluginFunctions::getObject(ids[i], item)){
item->parent()->removeChild(item); item->parent()->removeChild(item);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment