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

Andi Fischer andi.fischer at hispeed.ch
Sun Jan 8 16:11:50 UTC 2012


SVN commit 1272536 by fischer:

Some qt3 classes replaced.

 M  +2 -2      dialogs/umlroleproperties.cpp  
 M  +4 -4      dialogs/umlrolepropertiesbase.ui  
 U             umlrole.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/umlroleproperties.cpp #1272535:1272536
@@ -4,7 +4,7 @@
  *   the Free Software Foundation; either version 2 of the License, or     *
  *   (at your option) any later version.                                   *
  *                                                                         *
- *   copyright (C) 2003-2011                                               *
+ *   copyright (C) 2003-2012                                               *
  *   Umbrello UML Modeller Authors <uml-devel at uml.sf.net>                  *
  ***************************************************************************/
 
@@ -103,7 +103,7 @@
         else
             m_pRole->setChangeability(Uml::Changeability::Changeable);
 
-        m_pRole->setDoc(ui_pDocTE->text());
+        m_pRole->setDoc(ui_pDocTE->toPlainText());
 
         m_pRole->blockSignals(false);
 
--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/umlrolepropertiesbase.ui #1272535:1272536
@@ -141,7 +141,7 @@
      </property>
      <layout class="QVBoxLayout" >
       <item>
-       <widget class="Q3TextEdit" name="ui_pDocTE" />
+       <widget class="KTextEdit" name="ui_pDocTE" />
       </item>
      </layout>
     </widget>
@@ -161,9 +161,9 @@
    <header>klineedit.h</header>
   </customwidget>
   <customwidget>
-   <class>Q3TextEdit</class>
-   <extends>Q3Frame</extends>
-   <header>q3textedit.h</header>
+   <class>KTextEdit</class>
+   <extends>QTextEdit</extends>
+   <header>ktextedit.h</header>
   </customwidget>
  </customwidgets>
  <resources/>




More information about the umbrello-devel mailing list