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

Andi Fischer andi.fischer at hispeed.ch
Wed Aug 6 08:43:57 UTC 2008


SVN commit 842910 by fischer:

Fix Krazy complaint by replacing QTextEdit with KTextEdit.

 M  +1 -1      parmpropdlg.cpp  
 M  +2 -3      parmpropdlg.h  


--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/parmpropdlg.cpp #842909:842910
@@ -109,7 +109,7 @@
     QHBoxLayout * docLayout = new QHBoxLayout(m_pDocGB);
     docLayout->setMargin(margin);
 
-    m_pDoc = new QTextEdit(m_pDocGB);
+    m_pDoc = new KTextEdit(m_pDocGB);
     m_pDoc->setWordWrapMode(QTextOption::WordWrap);
     m_pDoc->setText(text);
     docLayout->addWidget(m_pDoc);
--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/parmpropdlg.h #842909:842910
@@ -16,9 +16,8 @@
 #include <kdialog.h>
 #include <klineedit.h>
 #include <kcombobox.h>
+#include <ktextedit.h>
 
-#include <QtGui/QTextEdit>
-
 class UMLDoc;
 class QComboBox;
 class QGroupBox;
@@ -116,7 +115,7 @@
     QLabel * m_pTypeL, * m_pNameL, * m_pInitialL, * m_pStereoTypeL;
     KComboBox * m_pTypeCB, * m_pStereoTypeCB;
     KLineEdit * m_pNameLE, * m_pInitialLE;
-    QTextEdit * m_pDoc;
+    KTextEdit * m_pDoc;
     UMLDoc * m_pUmldoc;
     UMLAttribute * m_pAtt;
 };




More information about the umbrello-devel mailing list