umbrello/umbrello
UMLClipboard Class Reference
#include <umlclipboard.h>
Inheritance diagram for UMLClipboard:
Public Types | |
enum | UMLCopyType { clip1 = 1, clip2 = 2, clip3 = 3, clip4 = 4, clip5 = 5 } |
Public Member Functions | |
UMLClipboard () | |
virtual | ~UMLClipboard () |
QMimeData * | copy (bool fromView=false) |
bool | paste (const QMimeData *data) |
Detailed Description
This class manages the uml's interaction with the KDE Clipboard.
It makes possible to copy stuff from one uml instance to another one.
Clipboard management class
Definition at line 33 of file umlclipboard.h.
Member Enumeration Documentation
Enumeration that codes the different types of UML clips.
Definition at line 47 of file umlclipboard.h.
Constructor & Destructor Documentation
UMLClipboard::UMLClipboard | ( | ) |
Constructor.
Definition at line 49 of file umlclipboard.cpp.
|
virtual |
Deconstructor.
Definition at line 57 of file umlclipboard.cpp.
Member Function Documentation
QMimeData * UMLClipboard::copy | ( | bool | fromView = false | ) |
Copy operation.
- Parameters
-
fromView flag if it is from view
- Returns
- the mime data
Definition at line 66 of file umlclipboard.cpp.
bool UMLClipboard::paste | ( | const QMimeData * | data | ) |
Inserts the clipboard's contents.
- Parameters
-
data Pointer to the MIME format clipboard data.
- Returns
- True for successful operation.
Definition at line 178 of file umlclipboard.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.