#include <QicsAbstractClipboardDelegate.h>
Public Member Functions | |
| virtual bool | cut (class QicsTable *table, class QicsSelectionList *current) |
| virtual bool | copy (class QicsTable *table, class QicsSelectionList *current) |
| virtual bool | paste (class QicsTable *table, class QicsSelectionList *current) |
QicsAbstractClipboardDelegate provides an interface for cut, copy and paste operation. Each of its methods can be reimplemented in own class to achieve the desired behavior.
To install the delegate, use QicsTable::setClipboardDelegate() method.
| virtual bool QicsAbstractClipboardDelegate::cut | ( | class QicsTable * | table, | |
| class QicsSelectionList * | current | |||
| ) | [inline, virtual] |
Reimplement this method to redefine standard behavior of cut operation. Reimplemented method must return true to indicate that it handles the action.
| table | is the pointer to QicsTable. | |
| current | is current selection list. |
| virtual bool QicsAbstractClipboardDelegate::copy | ( | class QicsTable * | table, | |
| class QicsSelectionList * | current | |||
| ) | [inline, virtual] |
Reimplement this method to redefine standard behavior of copy operation. Reimplemented method must return true to indicate that it handles the action.
| table | is the pointer to QicsTable. | |
| current | is current selection list. |
| virtual bool QicsAbstractClipboardDelegate::paste | ( | class QicsTable * | table, | |
| class QicsSelectionList * | current | |||
| ) | [inline, virtual] |
Reimplement this method to redefine standard behavior of paste operation. Reimplemented method must return true to indicate that it handles the action.
| table | is the pointer to QicsTable. | |
| current | is current selection list. |