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

Ralf Habacker ralf.habacker at gmail.com
Thu Dec 15 23:01:35 UTC 2011


SVN commit 1268850 by habacker:

removed obsolate reference to UMLView, where QWidget is enough

 M  +2 -3      activitydialog.cpp  
 M  +1 -1      activitydialog.h  
 M  +1 -2      selectopdlg.cpp  
 M  +1 -1      selectopdlg.h  


--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/activitydialog.cpp #1268849:1268850
@@ -30,8 +30,8 @@
 #include <QtGui/QLabel>
 #include <QtGui/QRadioButton>
 
-ActivityDialog::ActivityDialog( UMLView * pView, ActivityWidget * pWidget )
-        : KPageDialog(pView)
+ActivityDialog::ActivityDialog(QWidget * parent, ActivityWidget * pWidget)
+   : KPageDialog(parent)
 {
     setCaption( i18n("Properties") );
     setButtons( Ok | Apply | Cancel | Help );
@@ -39,7 +39,6 @@
     setModal( true );
     setFaceType( KPageDialog::List );
     showButtonSeparator( true );
-    m_pView = pView;
     m_pActivityWidget = pWidget;
     m_bChangesMade = false;
     setupPages();
--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/activitydialog.h #1268849:1268850
@@ -42,7 +42,7 @@
     /**
      *   Constructor
      */
-    ActivityDialog( UMLView * pView, ActivityWidget * pWidget );
+    ActivityDialog(QWidget * parent, ActivityWidget * pWidget);
 
     bool getChangesMade() {
         return m_bChangesMade;
--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/selectopdlg.cpp #1268849:1268850
@@ -31,7 +31,7 @@
 #include <QtGui/QRadioButton>
 #include <QtGui/QGroupBox>
 
-SelectOpDlg::SelectOpDlg(UMLView * parent, UMLClassifier * c)
+SelectOpDlg::SelectOpDlg(QWidget * parent, UMLClassifier * c)
         : KDialog( parent)
 {
     setCaption( i18n("Select Operation") );
@@ -43,7 +43,6 @@
     QFrame *frame = new QFrame( this );
     setMainWidget( frame );
 
-    m_pView = parent;
     QVBoxLayout * topLayout = new QVBoxLayout(frame);
 
     m_pOpGB = new QGroupBox(i18n("Select Operation"), frame);
--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/selectopdlg.h #1268849:1268850
@@ -40,7 +40,7 @@
      *  @param  parent  The parent to this instance.
      *  @param  c       The concept to get the operations from.
      */
-    SelectOpDlg(UMLView * parent, UMLClassifier * c);
+    SelectOpDlg(QWidget * parent, UMLClassifier * c);
 
     /**
      *  Standard deconstructor.




More information about the umbrello-devel mailing list