KDECore
KClipboardSynchronizer Class Reference
This class is only for internal use. More...
#include <kclipboard.h>
Static Public Member Functions | |
static bool | isReverseSynchronizing () |
static bool | isSynchronizing () |
static KClipboardSynchronizer * | self () |
static void | setReverseSynchronizing (bool enable) |
static void | setSynchronizing (bool sync) |
Protected Member Functions | |
~KClipboardSynchronizer () |
Detailed Description
This class is only for internal use.Allowing to automatically synchronize the X11 Clipboard and Selection buffers.
- Since:
- 3.1
For internal use only.
Definition at line 36 of file kclipboard.h.
Constructor & Destructor Documentation
KClipboardSynchronizer::~KClipboardSynchronizer | ( | ) | [protected] |
Definition at line 118 of file kclipboard.cpp.
Member Function Documentation
static bool KClipboardSynchronizer::isReverseSynchronizing | ( | ) | [inline, 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
Definition at line 89 of file kclipboard.h.
static bool KClipboardSynchronizer::isSynchronizing | ( | ) | [inline, static] |
Checks whether Clipboard and Selection will be synchronized upon changes.
- Returns:
- whether Clipboard and Selection will be synchronized upon changes.
- See also:
- setSynchronizing
Definition at line 66 of file kclipboard.h.
KClipboardSynchronizer * KClipboardSynchronizer::self | ( | ) | [static] |
Returns the KClipboardSynchronizer singleton object.
- Returns:
- the KClipboardSynchronizer singleton object.
Definition at line 97 of file kclipboard.cpp.
void KClipboardSynchronizer::setReverseSynchronizing | ( | bool | enable | ) | [static] |
Configures KClipboardSynchronizer to copy the Clipboard buffer to the Selection buffer whenever the Clipboard changes.
- Parameters:
-
enable true to enable implicit selection, false otherwise. Default is true.
- See also:
- selectionSetting
Definition at line 186 of file kclipboard.cpp.
void KClipboardSynchronizer::setSynchronizing | ( | bool | sync | ) | [static] |
Configures KClipboardSynchronizer to synchronize the Selection to Clipboard whenever it changes.
Default is false.
- See also:
- isSynchronizing
Definition at line 180 of file kclipboard.cpp.
The documentation for this class was generated from the following files: