chalk

#include <kis_clipboard.h>

Inherits TQObject.

Public Member Functions

void setClip (KisPaintDeviceSP layer)
 
KisPaintDeviceSP clip ()
 
bool hasClip ()
 
TQSize clipSize ()
 

Static Public Member Functions

static KisClipboard * instance ()
 

Detailed Description

The Chalk clipboard is a clipboard that can store paint devices instead of just qimage's.

Definition at line 34 of file kis_clipboard.h.

Constructor & Destructor Documentation

◆ ~KisClipboard()

KisClipboard::~KisClipboard ( )
virtual

Definition at line 59 of file kis_clipboard.cpp.

Member Function Documentation

◆ clip()

KisPaintDeviceSP KisClipboard::clip ( )

Get the contents of the clipboard in the form of a paint device.

Definition at line 140 of file kis_clipboard.cpp.

◆ clipSize()

TQSize KisClipboard::clipSize ( )

Definition at line 235 of file kis_clipboard.cpp.

◆ hasClip()

bool KisClipboard::hasClip ( )

Definition at line 230 of file kis_clipboard.cpp.

◆ instance()

KisClipboard * KisClipboard::instance ( )
static

Definition at line 63 of file kis_clipboard.cpp.

◆ setClip()

void KisClipboard::setClip ( KisPaintDeviceSP  layer)

Sets the clipboard to the contents of the specified paint device; also set the system clipboard to a TQImage representation of the specified paint device.

Definition at line 73 of file kis_clipboard.cpp.


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