Skip to content
Snippets Groups Projects
Commit a95f654c authored by Jan Möbius's avatar Jan Möbius
Browse files

Use real type name in Datacontrol

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6785 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 23f57566
No related branches found
No related tags found
No related merge requests found
......@@ -362,7 +362,7 @@ void DataControlPlugin::slotHeaderCustomContextMenuRequested ( const QPoint & _p
if (types.count() > 1)
for (int i=0; i < types.count(); i++){
action = menu.addAction(icon, tr("Show all of type '") + typeName(types[i]) + "'",this,SLOT ( showAll() ));
action = menu.addAction(icon, tr("Show all of type '") + dataTypeName(types[i]) + "'",this,SLOT ( showAll() ));
action->setData( QVariant( types[i] ) );
}
......@@ -372,7 +372,7 @@ void DataControlPlugin::slotHeaderCustomContextMenuRequested ( const QPoint & _p
if (types.count() > 1)
for (int i=0; i < types.count(); i++){
action = menu.addAction(tr("Hide all of type '") + typeName(types[i]) + "'",this,SLOT ( hideAll() ));
action = menu.addAction(tr("Hide all of type '") + dataTypeName(types[i]) + "'",this,SLOT ( hideAll() ));
action->setData( QVariant( types[i] ) );
}
......@@ -384,7 +384,7 @@ void DataControlPlugin::slotHeaderCustomContextMenuRequested ( const QPoint & _p
if (types.count() > 1)
for (int i=0; i < types.count(); i++){
action = menu.addAction(icon, tr("Select all of type '") + typeName(types[i]) + "'",this,SLOT ( setAllSource() ));
action = menu.addAction(icon, tr("Select all of type '") + dataTypeName(types[i]) + "'",this,SLOT ( setAllSource() ));
action->setData( QVariant( types[i] ) );
}
......@@ -394,7 +394,7 @@ void DataControlPlugin::slotHeaderCustomContextMenuRequested ( const QPoint & _p
if (types.count() > 1)
for (int i=0; i < types.count(); i++){
action = menu.addAction(icon, tr("Deselect all of type '") + typeName(types[i]) + "'",this,SLOT ( clearAllSource() ));
action = menu.addAction(icon, tr("Deselect all of type '") + dataTypeName(types[i]) + "'",this,SLOT ( clearAllSource() ));
action->setData( QVariant( types[i] ) );
}
......@@ -406,7 +406,7 @@ void DataControlPlugin::slotHeaderCustomContextMenuRequested ( const QPoint & _p
if (types.count() > 1)
for (int i=0; i < types.count(); i++){
action = menu.addAction(icon, tr("Select all of type '") + typeName(types[i]) + "'",this,SLOT ( setAllTarget() ));
action = menu.addAction(icon, tr("Select all of type '") + dataTypeName(types[i]) + "'",this,SLOT ( setAllTarget() ));
action->setData( QVariant( types[i] ) );
}
......@@ -416,7 +416,7 @@ void DataControlPlugin::slotHeaderCustomContextMenuRequested ( const QPoint & _p
if (types.count() > 1)
for (int i=0; i < types.count(); i++){
action = menu.addAction(icon, tr("Deselect all of type '") + typeName(types[i]) + "'",this,SLOT ( clearAllTarget() ));
action = menu.addAction(icon, tr("Deselect all of type '") + dataTypeName(types[i]) + "'",this,SLOT ( clearAllTarget() ));
action->setData( QVariant( types[i] ) );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment