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

Oliver Kellogg okellogg at users.sourceforge.net
Wed Oct 29 03:13:03 UTC 2003


CVS commit by okellogg: 

Symmetry makes for better reading.


  M +6 -5      selectopdlg.cpp   1.10


--- kdesdk/umbrello/umbrello/dialogs/selectopdlg.cpp  #1.9:1.10
@@ -15,5 +15,7 @@
 #include <qlayout.h>
 
-SelectOpDlg::SelectOpDlg(QWidget * parent, UMLClassifier * c) : KDialogBase(Plain, i18n("Select Operation"), Ok | Cancel , Ok, parent, "_SELOPDLG_", true, true) {
+SelectOpDlg::SelectOpDlg(QWidget * parent, UMLClassifier * c)
+  : KDialogBase(Plain, i18n("Select Operation"), Ok | Cancel , Ok, parent, "_SELOPDLG_", true, true)
+{
         QVBoxLayout * topLayout = new QVBoxLayout(plainPage());
 
@@ -31,10 +33,10 @@ SelectOpDlg::SelectOpDlg(QWidget * paren
         mainLayout -> addWidget(m_pSeqLE, 0, 1);
 
-        m_pOpCB = new QComboBox(m_pOpGB);
-        mainLayout -> addWidget(m_pOpCB, 1, 1);
-
         m_pOpRB = new QRadioButton(i18n("Class operation:"), m_pOpGB);
         mainLayout -> addWidget(m_pOpRB, 1, 0);
 
+        m_pOpCB = new QComboBox(m_pOpGB);
+        mainLayout -> addWidget(m_pOpCB, 1, 1);
+
         m_pCustomRB = new QRadioButton(i18n("Custom operation:"), m_pOpGB);
         mainLayout -> addWidget(m_pCustomRB, 2, 0);
@@ -52,5 +54,4 @@ SelectOpDlg::SelectOpDlg(QWidget * paren
         UMLClassifierListItem* obj=0;
         for(obj=list -> first();obj != 0;obj=list -> next()) {
-                obj -> toString(Uml::st_SigNoScope);
                 m_pOpCB -> insertItem(obj -> toString(Uml::st_SigNoScope));
         }






More information about the umbrello-devel mailing list