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

Oliver Kellogg okellogg at users.sourceforge.net
Thu Dec 15 11:46:26 UTC 2005


SVN commit 488751 by okellogg:

compile

 M  +5 -5      umllistview.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/umllistview.cpp #488750:488751
@@ -98,8 +98,8 @@
 #endif
 
 
-UMLListView::UMLListView(QWidget *parent, const char *name)
-        : KListView(parent,name), m_pMenu(0), m_doc(UMLApp::app()->getDocument())
+UMLListView::UMLListView(QWidget *parent, const char *)
+        : KListView(parent), m_pMenu(0), m_doc(UMLApp::app()->getDocument())
 {
     loadPixmaps();
 
@@ -110,7 +110,7 @@
     setItemsMovable(true);
     setItemsRenameable( true );
     setSelectionModeExt(FileManager);
-    setFocusPolicy(QWidget::StrongFocus);
+    setFocusPolicy(Qt::StrongFocus);
     setDragEnabled(TRUE);
     setColumnWidthMode( 0, Manual );
     setDefaultRenameAction( Accept );
@@ -1572,8 +1572,8 @@
 }
 
 void UMLListView::focusOutEvent ( QFocusEvent * fe) {
-    QFocusEvent::Reason reason = fe->reason();
-    if (reason != QFocusEvent::Popup) {
+    Qt::FocusReason reason = fe->reason();
+    if (reason != Qt::PopupFocusReason) {
         clearSelection();
         triggerUpdate();
     }




More information about the umbrello-devel mailing list