The ClipboardManager class provides information to keep track of copy/paste operations in the application's internal clipboard. More...
#include <ClipboardManager.h>
Public Member Functions | |
void | acceptMimeData () |
Call this function if you accepted the mime data and want to remove the data from the clipboard. It will disable the paste action. | |
ClipboardOrigin | clipboardOrigin () |
Gives information about the data which was placed in the clipboard. | |
void | initialize () |
Initializes the actions associated with the clipboard manager. | |
QObject * | objectBase () |
Returns the QObject* base of the interface. | |
const QObject * | objectBase () const |
Returns a const QObject* base of the interface. | |
void | setClipboardOrigin (IClipboard::ClipboardOrigin new_origin) |
Call this function after a copy or cut action call to indicate what the paste action should do. |
Friends | |
class | Qtilities::Core::Observer |
Additional Inherited Members | |
Public Types inherited from Qtilities::CoreGui::Interfaces::IClipboard | |
enum | ClipboardOrigin { CopyAction, CutAction, Unspecified } |
Enumeration which is used to indicate if a copy or a cut operation caused the clipboard to change. More... |
The ClipboardManager class provides information to keep track of copy/paste operations in the application's internal clipboard.
See the Qtilities::CoreGui::Interfaces::IClipboard interface documentation for more information.
|
inlinevirtual |
Returns a const QObject* base of the interface.
This function can be used in const methods, but make sure that you don't modify things that should stay const. An example where this is used is when we want to get a property on an object in a const method. This is a const operation.
Implements Qtilities::Core::Interfaces::IObjectBase.
Qtilities : Reference Documentation | Back to top |
Copyright © 2009-2013, Jaco Naudé
|