[Uml-devel] kdesdk/umbrello/umbrello/dialogs
Oliver Kellogg
okellogg at users.sourceforge.net
Wed Nov 10 01:02:04 UTC 2004
CVS commit by okellogg:
Remove unused slot.
M +0 -19 classpropdlg.cpp 1.21
M +0 -5 classpropdlg.h 1.10
--- kdesdk/umbrello/umbrello/dialogs/classpropdlg.cpp #1.20:1.21
@@ -129,15 +129,4 @@ void ClassPropDlg::slotOk() {
}
////////////////////////////////////////////////////////////////////////////////////////////////////
-void ClassPropDlg::slotUpdateChildObject(Uml::IDType id) {
-
- UMLObject * o; // = ((UMLClassifier*)m_pObject) -> findChildObject(id);
-
- if (typeid(m_pObject) == typeid(UMLClass))
- o = ((UMLClass *)m_pObject) -> findChildObject(id);
- else
- o = ((UMLClassifier *)m_pObject) -> findChildObject(id);
-
-}
-////////////////////////////////////////////////////////////////////////////////////////////////////
void ClassPropDlg::slotApply() {
if (m_pGenPage) {
@@ -180,6 +169,4 @@ void ClassPropDlg::setupPages(UMLObject
QHBoxLayout * attLayout = new QHBoxLayout(newPage);
attLayout -> addWidget(m_pAttPage);
- connect(m_pAttPage, SIGNAL(sigUpdateChildObject(int)),
- this, SLOT(slotUpdateChildObject(UML::IDType)));
}
@@ -191,6 +178,4 @@ void ClassPropDlg::setupPages(UMLObject
QHBoxLayout* pOpsLayout = new QHBoxLayout(newPage);
pOpsLayout -> addWidget(m_pOpsPage);
- connect(m_pOpsPage, SIGNAL(sigUpdateChildObject(int)),
- this, SLOT(slotUpdateChildObject(UML::IDType)));
}
@@ -201,6 +186,4 @@ void ClassPropDlg::setupPages(UMLObject
QHBoxLayout* templatesLayout = new QHBoxLayout(newPage);
templatesLayout->addWidget(m_pTemplatePage);
- connect(m_pTemplatePage, SIGNAL(sigUpdateChildObject(int)),
- this, SLOT(slotUpdateChildObject(UML::IDType)));
}
if (c->getBaseType() == Uml::ot_Enum) {
@@ -210,6 +193,4 @@ void ClassPropDlg::setupPages(UMLObject
QHBoxLayout* enumLiteralsLayout = new QHBoxLayout(newPage);
enumLiteralsLayout->addWidget(m_pEnumLiteralPage);
- connect(m_pEnumLiteralPage, SIGNAL(sigUpdateChildObject(int)),
- this, SLOT(slotUpdateChildObject(UML::IDType)));
}
if (c->getBaseType() == Uml::ot_Package ) {
--- kdesdk/umbrello/umbrello/dialogs/classpropdlg.h #1.9:1.10
@@ -121,9 +121,4 @@ private:
};
Page_Type m_Type;
-public slots:
- /**
- * FIXME not honestly sure what this does
- */
- void slotUpdateChildObject(Uml::IDType id);
};
More information about the umbrello-devel
mailing list