class UMLDrag

* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. More...

Definition#include <./clipboard/umldrag.h>
InheritsQDragObject (unknown) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Static Methods


Detailed Description

* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * *************************************************************************

 UMLDrag (UMLObjectList& Objects, MyListViewItemDataList& MyListViewItems, QWidget * dragSource = 0, const char * name = 0 )

UMLDrag

For use when the user selects only UML Objects from the ListView but no diagrams to be copied, Mime type = "application/x-uml-clip1

 UMLDrag (UMLObjectList &Objects, MyListViewItemDataList& MyListViewItems, UMLViewDataList& Diagrams, QWidget * dragSource = 0, const char * name = 0 )

UMLDrag

For use when the user selects UML Object and Diagrams from the ListView to be copied, Mime type = "application/x-uml-clip2

 UMLDrag (MyListViewItemDataList& MyListViewItems, QWidget * dragSource = 0, const char * name = 0 )

UMLDrag

For use when the user selects only empty folders from the ListView to be copied, Mime type = "application/x-uml-clip3

 UMLDrag (UMLObjectList& Objects, MyListViewItemDataList& MyListViewItems, UMLWidgetDataList& WidgetDatas, AssociationWidgetDataList& AssociationDatas, QPixmap& PngImage, Uml::Diagram_Type dType, QWidget * dragSource = 0, const char * name = 0 )

UMLDrag

 UMLDrag (UMLObjectList& Objects, MyListViewItemDataList& MyListViewItems, int, QWidget * dragSource = 0, const char * name = 0 )

UMLDrag

For use when the user selects only Operations and/or Attributes from the ListView, Mime type = "application/x-uml-clip5

 UMLDrag ( QWidget * dragSource = 0, const char * name = 0 )

UMLDrag

Constructor

 ~UMLDrag ()

~UMLDrag

Deconstructor

void  setUMLData (UMLObjectList& Objects, MyListViewItemDataList& MyListViewItems)

setUMLData

For use when the user selects only UMLObjects from the ListView but no diagrams to be copied

void  setUMLData (UMLObjectList& Objects, MyListViewItemDataList& MyListViewItems, UMLViewDataList& Diagrams)

setUMLData

For use when the user selects UML Object and Diagrams from the ListView to be copied

void  setUMLData (MyListViewItemDataList& MyListViewItems)

setUMLData

For use when the user selects only empty folders from the ListView to be copied.

void  setUMLData ( UMLObjectList& Objects, MyListViewItemDataList& MyListViewItems, UMLWidgetDataList& WidgetDatas, AssociationWidgetDataList& AssociationDatas, QPixmap& PngImage, Uml::Diagram_Type dType )

setUMLData

For use when the user selects UML Objects from a Diagram. The Selected widegets and the relationships between only selected widgets will be copied and also its respective ListView Items

void  setUMLData ( UMLObjectList& Objects, MyListViewItemDataList& MyListViewItems, int )

setUMLData

For use when the user selects only Attirbutes and/or Operation from the ListView

bool  canDecode ( const QMimeSource* e )

canDecode

[static]

Returns whether it can decode the given mimesource

void  setSubType ( const QCString & sub, int index)

setSubType

[virtual]

void  setEncodedData ( const QByteArray &, int index )

setEncodedData

[virtual]

const char *  format (int i)

format

[const]

QByteArray  encodedData (const char*)

encodedData

[const virtual]

bool  decode (const QMimeSource* e, UMLObjectList& Objects, MyListViewItemDataList& MyListViewItems, UMLDoc* Doc)

decode

[static]

For use when the user selects only UML Objects from the ListView but no diagrams to be copied, decodes Mime type = "application/x-uml-clip1

bool  decode (const QMimeSource* e, UMLObjectList& Objects, MyListViewItemDataList& MyListViewItems, UMLViewDataList& Diagrams, UMLDoc* Doc)

decode

[static]

For use when the user selects UML Object and Diagrams from the ListView to be copied, decodes Mime type = "application/x-uml-clip2

bool  decode ( const QMimeSource* e, MyListViewItemDataList& MyListViewItems)

decode

[static]

For use when the user selects only empty folders from the ListView to be copied, decodes Mime * type = "application/x-uml-clip3

bool  decode (const QMimeSource* e, UMLObjectList& Objects, MyListViewItemDataList& MyListViewItems, UMLWidgetDataList& WidgetDatas, AssociationWidgetDataList& AssociationDatas, Uml::Diagram_Type & dType, UMLDoc* Doc )

decode

[static]

For use when the user selects UML Objects from a Diagram. The Selected widegets and the relationships between only * selected widgets will be copied and also its respective ListView Items, * decodes Mime type = "application/x-uml-clip4

bool  decode (const QMimeSource* e, UMLObjectList& Objects, MyListViewItemDataList& MyListViewItems, UMLDoc* Doc, int)

decode

[static]

For use when the user selects only Attributes and/or Operations from the ListView * copied, decodes Mime type = "application/x-uml-clip5

int  getCodingType (const QMimeSource* e)

getCodingType

[static]


Generated by: jr on radge on Wed Sep 25 00:11:47 2002, using kdoc 2.0a54.