[Uml-devel] kdesdk/umbrello/umbrello/dialogs
Brian Thomas
thomas at mail630.gsfc.nasa.gov
Wed Apr 21 11:32:10 UTC 2004
CVS commit by thomas:
bug fix: incomplete patch prevented compilation..now fixed
M +6 -1 codeeditor.cpp 1.20
M +2 -0 codeeditor.h 1.8
--- kdesdk/umbrello/umbrello/dialogs/codeeditor.h #1.7:1.8
@@ -22,4 +22,5 @@
#include <qpopupmenu.h>
#include <qstring.h>
+#include <qlabel.h>
#include <qtextedit.h>
#include "../codeviewerstate.h"
@@ -138,4 +139,5 @@ public slots:
void changeHighlighting(int signal);
void changeShowHidden (int signal);
+ void slotRedrawText();
protected slots:
--- kdesdk/umbrello/umbrello/dialogs/codeeditor.cpp #1.19:1.20
@@ -697,5 +697,6 @@ QPopupMenu * CodeEditor::createPopupMenu
menu->setItemEnabled (4, false);
- m_selectedTextBlock->insertCodeEditMenuItems(menu);
+ // TBD
+ // m_selectedTextBlock->insertCodeEditMenuItems(menu, this);
}
@@ -761,4 +762,8 @@ void CodeEditor::slotPasteTextBlock ( )
}
+void CodeEditor::slotRedrawText() {
+ rebuildView(m_lastPara);
+}
+
void CodeEditor::init ( CodeViewerDialog * parentDlg, CodeDocument * parentDoc ) {
More information about the umbrello-devel
mailing list