UMLClipboard Class Reference
This class manages the uml's interaction with the KDE Clipboard. Clipboard management class. More...
#include <umlclipboard.h>
Public Types | |
| enum | UMLCopyType { clip1 = 1, clip2 = 2, clip3 = 3, clip4 = 4, clip5 = 5 } |
| Enumeration that codes the different types of UML clips. More... | |
Public Member Functions | |
| UMLClipboard () | |
| Constructor. | |
| virtual | ~UMLClipboard () |
| Deconstructor. | |
| bool | paste (QMimeSource *Data) |
| Inserts the clipboard's contents. | |
| QMimeSource * | copy (bool fromView=false) |
| Copies the selected stuff from the list view or current diagram to a QMimeSource ready to be put in the clipboard. | |
Detailed Description
This class manages the uml's interaction with the KDE Clipboard. Clipboard management class.It makes possible to copy stuff from one uml instance to another one.
- Author:
- Gustavo Madrigal Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 35 of file umlclipboard.h.
Member Enumeration Documentation
|
|
Enumeration that codes the different types of UML clips.
Definition at line 64 of file umlclipboard.h. |
Constructor & Destructor Documentation
|
|
Constructor.
Definition at line 37 of file umlclipboard.cpp. References clip1. |
|
|
Deconstructor.
Definition at line 41 of file umlclipboard.cpp. |
Member Function Documentation
|
|
Inserts the clipboard's contents.
Definition at line 137 of file umlclipboard.cpp. References UMLDoc::beginPaste(), UMLDoc::endPaste(), UMLDrag::getCodingType(), and UMLApp::getDocument(). Referenced by UMLApp::slotEditPaste(). |
|
|
Copies the selected stuff from the list view or current diagram to a QMimeSource ready to be put in the clipboard.
Definition at line 44 of file umlclipboard.cpp. References UMLView::checkSelections(), clip1, clip2, clip3, clip4, clip5, UMLView::copyAsImage(), UMLListView::findUMLObject(), UMLApp::getCurrentView(), UMLApp::getListView(), UMLView::getSelectedAssocs(), UMLListView::getSelectedItems(), UMLView::getSelectedWidgets(), UMLView::getType(), and UMLView::getUMLObjects(). Referenced by UMLApp::editCutCopy(). |
The documentation for this class was generated from the following files:
