ICS

QicsTable Documentation Set

QicsAbstractClipboardDelegate Class Reference

QicsAbstractClipboardDelegate is a delegate class which can be subclassed and installed on QicsTable in order to customize clipboard operations. More...

#include <QicsAbstractClipboardDelegate.h>

List of all members.

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)


Detailed Description

QicsAbstractClipboardDelegate is a delegate class which can be subclassed and installed on QicsTable in order to customize clipboard operations.

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.


Member Function Documentation

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.

Parameters:
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.

Parameters:
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.

Parameters:
table is the pointer to QicsTable.
current is current selection list.


The documentation for this class was generated from the following file:

All trademarks and copyrights on this page are properties of their respective owners.
The rest is copyright ©1999-2006 Integrated Computer Solutions, Inc.