[Uml-devel] KDE/kdesdk/umbrello/umbrello
Ralf Habacker
ralf.habacker at gmail.com
Sun Apr 1 22:45:09 UTC 2012
SVN commit 1287867 by habacker:
Removed get prefix from UMLScene class member showOpSig().
M +1 -1 dialogs/umlviewdialog.cpp
M +1 -1 umlscene.cpp
M +1 -1 umlscene.h
M +1 -1 widgets/floatingtextwidget.cpp
M +1 -1 widgets/linkwidget.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/umlviewdialog.cpp #1287866:1287867
@@ -97,7 +97,7 @@
m_diagramProperties->ui_diagramName->setText( m_pScene->name() );
m_diagramProperties->ui_zoom->setValue(m_pScene->view()->currentZoom());
- m_diagramProperties->ui_showOpSigs->setChecked( m_pScene->getShowOpSig() );
+ m_diagramProperties->ui_showOpSigs->setChecked( m_pScene->showOpSig() );
m_diagramProperties->ui_checkBoxShowGrid->setChecked(m_pScene->isSnapGridVisible());
m_diagramProperties->ui_snapToGrid->setChecked(m_pScene->snapToGrid());
--- trunk/KDE/kdesdk/umbrello/umbrello/umlscene.cpp #1287866:1287867
@@ -3717,7 +3717,7 @@
/**
* Returns whether to show operation signatures.
*/
-bool UMLScene::getShowOpSig() const
+bool UMLScene::showOpSig() const
{
return m_Options.classState.showOpSig;
}
--- trunk/KDE/kdesdk/umbrello/umbrello/umlscene.h #1287866:1287867
@@ -151,7 +151,7 @@
QFont getFont() const;
void setFont(QFont font, bool changeAllWidgets = false);
- bool getShowOpSig() const;
+ bool showOpSig() const;
void setShowOpSig(bool bShowOpSig);
const Settings::OptionState& optionState() const;
--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/floatingtextwidget.cpp #1287866:1287867
@@ -99,7 +99,7 @@
QString seqNum, op;
m_linkWidget->seqNumAndOp(seqNum, op);
if (seqNum.length() > 0 || op.length() > 0) {
- if (! m_scene->getShowOpSig())
+ if (! m_scene->showOpSig())
op.replace( QRegExp("\\(.*\\)"), "()" );
m_Text = seqNum.append(": ").append( op );
}
--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/linkwidget.cpp #1287866:1287867
@@ -52,7 +52,7 @@
if (scene == NULL)
scene = UMLApp::app()->currentView()->umlScene();
Uml::SignatureType sigType;
- if (scene && scene->getShowOpSig())
+ if (scene && scene->showOpSig())
sigType = Uml::SignatureType::SigNoVis;
else
sigType = Uml::SignatureType::NoSigNoVis;
More information about the umbrello-devel
mailing list