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

Oliver Kellogg okellogg at users.sourceforge.net
Tue Sep 11 05:47:19 UTC 2007


SVN commit 710908 by okellogg:

remove unused parameter admonished by dashboard

 M  +6 -8      umldragdata.cpp  
 M  +6 -8      umldragdata.h  


--- trunk/KDE/kdesdk/umbrello/umbrello/clipboard/umldragdata.cpp #710907:710908
@@ -33,33 +33,31 @@
 #include "../object_factory.h"
 #include "../model_utils.h"
 
-UMLDragData::UMLDragData(UMLObjectList& objects, QWidget* dragSource /*= 0*/, const char* name /*= 0*/ ) {
+UMLDragData::UMLDragData(UMLObjectList& objects, QWidget* /* dragSource = 0 */) {
     setUMLDataClip1(objects);
 }
 
 UMLDragData::UMLDragData(UMLObjectList& objects, UMLListViewItemList& umlListViewItems, UMLViewList& diagrams,
-                 QWidget* dragSource /*= 0*/, const char* name /*= 0*/ ) {
+                 QWidget* /* dragSource = 0 */) {
     setUMLDataClip2(objects, umlListViewItems, diagrams);
 }
 
-UMLDragData::UMLDragData(UMLListViewItemList& umlListViewItems, QWidget* dragSource /*= 0*/,
-                 const char* name /*= 0*/ ) {
+UMLDragData::UMLDragData(UMLListViewItemList& umlListViewItems, QWidget* /* dragSource = 0 */) {
     setUMLDataClip3(umlListViewItems);
 }
 
 UMLDragData::UMLDragData(UMLObjectList& objects,
                  UMLWidgetList& widgets, AssociationWidgetList& associationDatas,
-                 QPixmap& pngImage, Uml::Diagram_Type dType, QWidget * dragSource /*= 0*/,
-                 const char * name /*= 0*/ ) {
+                 QPixmap& pngImage, Uml::Diagram_Type dType, QWidget* /* dragSource = 0 */) {
     setUMLDataClip4(objects, widgets, associationDatas, pngImage, dType);
 }
 
 UMLDragData::UMLDragData(UMLObjectList& objects, int,
-                 QWidget* /*dragSource = 0*/, const char* /*name = 0*/ ) {
+                         QWidget* /* dragSource = 0 */) {
     setUMLDataClip5(objects);
 }
 
-UMLDragData::UMLDragData(QWidget* dragSource /*= 0*/, const char * name /*= 0*/ ) {
+UMLDragData::UMLDragData(QWidget* /* dragSource = 0 */) {
 }
 
 UMLDragData::~UMLDragData() {
--- trunk/KDE/kdesdk/umbrello/umbrello/clipboard/umldragdata.h #710907:710908
@@ -45,7 +45,7 @@
      * the ListView but no diagrams to be copied, Mime type =
      * "application/x-uml-clip1
      */
-    explicit UMLDragData(UMLObjectList& Objects,QWidget* dragSource = 0, const char* name = 0 );
+    explicit UMLDragData(UMLObjectList& Objects, QWidget* dragSource = 0);
 
     /**
      * For use when the user selects UML Object and Diagrams
@@ -53,15 +53,14 @@
      * "application/x-uml-clip2
      */
     UMLDragData(UMLObjectList &Objects, UMLListViewItemList& UMLListViewItems,
-            UMLViewList& Diagrams, QWidget * dragSource = 0, const char * name = 0 );
+                UMLViewList& Diagrams, QWidget * dragSource = 0);
 
     /**
      * For use when the user selects only empty folders from
      * the ListView to be copied, Mime type =
      * "application/x-uml-clip3
      */
-    explicit UMLDragData(UMLListViewItemList& UMLListViewItems, QWidget* dragSource = 0,
-            const char* name = 0 );
+    explicit UMLDragData(UMLListViewItemList& UMLListViewItems, QWidget* dragSource = 0);
 
     /*
      * For use when the user selects UMLObjects from a
@@ -71,20 +70,19 @@
      * "application/x-uml-clip4
      */
     UMLDragData(UMLObjectList& Objects, UMLWidgetList& Widgets, AssociationWidgetList& Associations,
-            QPixmap& PngImage, Uml::Diagram_Type dType, QWidget* dragSource = 0,
-            const char* name = 0 );
+            QPixmap& PngImage, Uml::Diagram_Type dType, QWidget* dragSource = 0);
 
     /**
      * For use when the user selects only Operations and/or
      * Attributes from the ListView, Mime type =
      * "application/x-uml-clip5
      */
-    UMLDragData(UMLObjectList& Objects, int, QWidget* dragSource = 0, const char* name = 0);
+    UMLDragData(UMLObjectList& Objects, int, QWidget* dragSource = 0);
 
     /**
      *  Constructor
      */
-    explicit UMLDragData(QWidget* dragSource = 0, const char* name = 0);
+    explicit UMLDragData(QWidget* dragSource = 0);
 
     /**
      *  Deconstructor




More information about the umbrello-devel mailing list