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

Andi Fischer andi.fischer at hispeed.ch
Sun Dec 25 09:52:51 UTC 2011


SVN commit 1270548 by fischer:

Copyright year fixed. Initialization in constructor improved.

 M  +7 -9      docwindow.cpp  
 M  +1 -1      docwindow.h  


--- trunk/KDE/kdesdk/umbrello/umbrello/docwindow.cpp #1270547:1270548
@@ -4,7 +4,7 @@
  *   the Free Software Foundation; either version 2 of the License, or     *
  *   (at your option) any later version.                                   *
  *                                                                         *
- *   copyright (C) 2002-2010                                               *
+ *   copyright (C) 2002-2011                                               *
  *   Umbrello UML Modeller Authors <uml-devel at uml.sf.net>                  *
  ***************************************************************************/
 
@@ -32,25 +32,23 @@
  */
 DocWindow::DocWindow( UMLDoc * doc, QWidget *parent )
   : QWidget( parent ),
+    m_pUMLObject(0),
+    m_pUMLView(0),
+    m_pUMLDoc(doc),
+    m_pUMLWidget(0),
+    m_pAssocWidget(0),
+    m_Showing(st_Project),
     m_modified(false)
 {
     //setup visual display
     QVBoxLayout * docLayout = new QVBoxLayout( this );
     m_pDocTE = new KTextEdit( this );
     m_pDocTE->setText( "" );
-    m_modified = false;
     docLayout->addWidget( m_pDocTE);
     docLayout->setMargin(0);
     //m_pDocTE->setWordWrapMode(QTextEdit::WidgetWidth);
 
-    //setup the documentation variables
     //show projects documentation to start
-    m_pUMLDoc = doc;
-    m_Showing = st_Project;
-    m_pUMLObject = 0;
-    m_pUMLView = 0;
-    m_pUMLWidget = 0;
-    m_pAssocWidget = 0;
     updateDocumentation( true, true );
     connect(m_pDocTE, SIGNAL(textChanged()), this, SLOT(slotTextChanged()));
 }
--- trunk/KDE/kdesdk/umbrello/umbrello/docwindow.h #1270547:1270548
@@ -4,7 +4,7 @@
  *   the Free Software Foundation; either version 2 of the License, or     *
  *   (at your option) any later version.                                   *
  *                                                                         *
- *   copyright (C) 2002-2009                                               *
+ *   copyright (C) 2002-2011                                               *
  *   Umbrello UML Modeller Authors <uml-devel at uml.sf.net>                  *
  ***************************************************************************/
 




More information about the umbrello-devel mailing list