[Uml-devel] KDE/kdesdk/umbrello/umbrello/widgets
Andi Fischer
andi.fischer at hispeed.ch
Fri Apr 20 21:39:38 UTC 2012
SVN commit 1290666 by fischer:
Difference to gsoc-branch reduced.
M +0 -228 classifierwidget.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/classifierwidget.cpp #1290665:1290666
@@ -272,196 +272,6 @@
}
/**
- * Toggles the status of whether to show StereoType.
- */
-//void ClassifierWidget::toggleShowStereotype()
-//{
-// m_showStereotype = !m_showStereotype;
-// updateSignatureTypes();
-// updateComponentSize();
-// update();
-//}
-
-/**
- * Return the status of showing operations.
- *
- * @return Return the status of showing operations.
- */
-//bool ClassifierWidget::getShowOps() const
-//{
-// return m_showOperations;
-//}
-
-/**
- * Set the status of whether to show Operations
- *
- * @param _show True if operations shall be shown.
- */
-//void ClassifierWidget::setShowOps(bool _show)
-//{
-// m_showOperations = _show;
-// updateSignatureTypes();
-// updateComponentSize();
-// update();
-//}
-
-/**
- * Toggles the status of showing operations.
- */
-//void ClassifierWidget::toggleShowOps()
-//{
-// m_showOperations = !m_showOperations;
-// updateSignatureTypes();
-// updateComponentSize();
-// update();
-//}
-
-/**
- * Return true if public operations/attributes are shown only.
- */
-//bool ClassifierWidget::getShowPublicOnly() const
-//{
-// return m_showPublicOnly;
-//}
-
-/**
- * Set whether to show public operations/attributes only.
- */
-//void ClassifierWidget::setShowPublicOnly(bool _status)
-//{
-// m_showPublicOnly = _status;
-// updateComponentSize();
-// update();
-//}
-
-/**
- * Toggle whether to show public operations/attributes only.
- */
-//void ClassifierWidget::toggleShowPublicOnly()
-//{
-// m_showPublicOnly = !m_showPublicOnly;
-// updateComponentSize();
-// update();
-//}
-
-/**
- * Returns the status of whether to show visibility.
- *
- * @return True if visibility is shown.
- */
-//bool ClassifierWidget::getShowVisibility() const
-//{
-// return m_showAccess;
-//}
-
-/**
- * Set the status of whether to show visibility
- *
- * @param _visibility True if visibility shall be shown.
- */
-//void ClassifierWidget::setShowVisibility(bool _visibility)
-//{
-// m_showAccess = _visibility;
-// updateSignatureTypes();
-// updateComponentSize();
-// update();
-//}
-
-/**
- * Toggles the status of whether to show visibility
- */
-//void ClassifierWidget::toggleShowVisibility()
-//{
-// m_showAccess = !m_showAccess;
-// updateSignatureTypes();
-// updateComponentSize();
-// update();
-//}
-
-/**
- * Return the status of showing operation signatures.
- *
- * @return Status of showing operation signatures.
- */
-//Uml::SignatureType ClassifierWidget::operationSignatureType() const
-//{
-// return m_operationSignature;
-//}
-
-/**
- * Set the status of whether to show Operation signature
- *
- * @param _show True if operation signatures shall be shown.
- */
-//void ClassifierWidget::setShowOpSigs(bool _status)
-//{
-// if( !_status ) {
-// if (m_showAccess)
-// m_operationSignature = Uml::SignatureType::NoSig;
-// else
-// m_operationSignature = Uml::SignatureType::NoSigNoVis;
-// } else if (m_showAccess)
-// m_operationSignature = Uml::SignatureType::ShowSig;
-// else
-// m_operationSignature = Uml::SignatureType::SigNoVis;
-// updateComponentSize();
-// update();
-//}
-
-/**
- * Toggles the status of showing operation signatures.
- */
-//void ClassifierWidget::toggleShowOpSigs()
-//{
-// if (m_operationSignature == Uml::SignatureType::ShowSig || m_operationSignature == Uml::SignatureType::SigNoVis) {
-// if (m_showAccess) {
-// m_operationSignature = Uml::SignatureType::NoSig;
-// } else {
-// m_operationSignature = Uml::SignatureType::NoSigNoVis;
-// }
-// } else if (m_showAccess) {
-// m_operationSignature = Uml::SignatureType::ShowSig;
-// } else {
-// m_operationSignature = Uml::SignatureType::SigNoVis;
-// }
-// updateComponentSize();
-// update();
-//}
-
-/**
- * Returns the status of whether to show Package.
- *
- * @return True if package is shown.
- */
-//bool ClassifierWidget::getShowPackage() const
-//{
-// return m_showPackage;
-//}
-
-/**
- * Set the status of whether to show Package.
- *
- * @param _status True if package shall be shown.
- */
-//void ClassifierWidget::setShowPackage(bool _status)
-//{
-// m_showPackage = _status;
-// updateComponentSize();
-// update();
-//}
-
-/**
- * Toggles the status of whether to show package.
- */
-//void ClassifierWidget::toggleShowPackage()
-//{
-// m_showPackage = !m_showPackage;
-// updateSignatureTypes();
-// updateComponentSize();
-// update();
-//}
-
-/**
* Returns whether to show attribute signatures.
* Only applies when m_pObject->getBaseType() is ot_Class.
*
@@ -508,32 +318,6 @@
}
/**
- * Sets whether to show attributes.
- * Only applies when m_pObject->getBaseType() is ot_Class.
- *
- * @param _show True if attributes shall be shown.
- */
-//void ClassifierWidget::setShowAtts(bool _show)
-//{
-// m_showAttributes = _show;
-// updateSignatureTypes();
-
-// updateComponentSize();
-// update();
-//}
-
-/**
- * Returns whether to show attributes.
- * Only applies when m_pObject->getBaseType() is ot_Class.
- *
- * @return True if attributes are shown.
- */
-//bool ClassifierWidget::getShowAtts() const
-//{
-// return m_showAttributes;
-//}
-
-/**
* Sets whether to show attribute signature
* Only applies when m_pObject->getBaseType() is ot_Class.
*
@@ -558,18 +342,6 @@
}
/**
- * Toggles whether to show attributes.
- * Only applies when m_pObject->getBaseType() is ot_Class.
- */
-//void ClassifierWidget::toggleShowAtts()
-//{
-// m_showAttributes = !m_showAttributes;
-// updateSignatureTypes();
-// updateComponentSize();
-// update();
-//}
-
-/**
* Toggles whether to show attribute signatures.
* Only applies when m_pObject->getBaseType() is ot_Class.
*/
More information about the umbrello-devel
mailing list