[Uml-devel] KDE/kdesdk/umbrello/umbrello

Ralf Habacker ralf.habacker at gmail.com
Sun Apr 1 23:08:06 UTC 2012


SVN commit 1287876 by habacker:

Removed get prefix from UMLScene::getFont().

 M  +3 -3      umlscene.cpp  
 M  +1 -1      umlscene.h  


--- trunk/KDE/kdesdk/umbrello/umbrello/umlscene.cpp #1287875:1287876
@@ -662,7 +662,7 @@
     w->setY(m_Pos.y());
     w->setVisible(true);
     w->setActivated();
-    w->setFont(getFont());
+    w->setFont(font());
     w->slotFillColorChanged(ID());
     w->slotTextColorChanged(ID());
     w->slotLineWidthChanged(ID());
@@ -756,7 +756,7 @@
 
     newWidget->setVisible(true);
     newWidget->setActivated();
-    newWidget->setFont(getFont());
+    newWidget->setFont(font());
     newWidget->slotFillColorChanged(ID());
     newWidget->slotTextColorChanged(ID());
     newWidget->slotLineWidthChanged(ID());
@@ -3447,7 +3447,7 @@
 /**
  * Returns the font to use
  */
-QFont UMLScene::getFont() const
+QFont UMLScene::font() const
 {
     return m_Options.uiState.font;
 }
--- trunk/KDE/kdesdk/umbrello/umbrello/umlscene.h #1287875:1287876
@@ -148,7 +148,7 @@
     bool useFillColor() const;
     void setUseFillColor(bool ufc);
 
-    QFont getFont() const;
+    QFont font() const;
     void setFont(QFont font, bool changeAllWidgets = false);
 
     bool showOpSig() const;




More information about the umbrello-devel mailing list