class KClipboardSynchronizer

Allowing to automatically synchronize the X11 Clipboard and Selection buffers. More...

Definition#include <kclipboard.h>
InheritsQObject (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Static Methods

Public Members

Protected Methods


Detailed Description

This class is only for internal use.

friend class KlipperWidget

KlipperWidget

friend class KApplication

KApplication

KClipboardSynchronizerself ()

self

[static]

Returns the KClipboardSynchronizer singleton object.

Returns: the KClipboardSynchronizer singleton object.

void  setSynchronizing ( bool sync )

setSynchronizing

[static]

Configures KClipboardSynchronizer to synchronize the Selection to Clipboard whenever it changes.

Default is false.

See also: isSynchronizing

bool  isSynchronizing ()

isSynchronizing

[static]

Checks whether Clipboard and Selection will be synchronized upon changes.

Returns: whether Clipboard and Selection will be synchronized upon changes.

See also: setSynchronizing

void  setReverseSynchronizing ( bool enable )

setReverseSynchronizing

[static]

Configures KClipboardSynchronizer to copy the Clipboard buffer to the Selection buffer whenever the Clipboard changes.

Parameters:
enabletrue to enable implicit selection, false otherwise. Default is true.

See also: selectionSetting

bool  isReverseSynchronizing ()

isReverseSynchronizing

[static]

Checks whether the Clipboard buffer will be copied to the Selection buffer upon changes.

Returns: whether the Clipboard buffer will be copied to the Selection buffer upon changes.

See also: setSelectionSetting

 ~KClipboardSynchronizer ()

~KClipboardSynchronizer

[protected]