This implementation has two main functions, which handle the clipboard content: the XClipboard::setContent function and the QClipboard::change signal handler.
More...
#include <QtClipboard.hxx>
|
static css::uno::Reference< css::uno::XInterface > | create (const OUString &aModeString) |
|
|
| QtClipboard (OUString aModeString, const QClipboard::Mode aMode) |
|
|
static bool | isOwner (const QClipboard::Mode aMode) |
|
static bool | isSupported (const QClipboard::Mode aMode) |
|
This implementation has two main functions, which handle the clipboard content: the XClipboard::setContent function and the QClipboard::change signal handler.
The first just sets the respective clipboard to the expected content from LO, the latter will handle any reported changes.
Definition at line 30 of file qt5/QtClipboard.hxx.
◆ QtClipboard()
QtClipboard::QtClipboard |
( |
OUString |
aModeString, |
|
|
const QClipboard::Mode |
aMode |
|
) |
| |
|
explicitprivate |
◆ addClipboardListener()
virtual void SAL_CALL QtClipboard::addClipboardListener |
( |
const css::uno::Reference< css::datatransfer::clipboard::XClipboardListener > & |
listener | ) |
|
|
overridevirtual |
◆ clearClipboard
void QtClipboard::clearClipboard |
( |
| ) |
|
|
signal |
◆ create()
static css::uno::Reference< css::uno::XInterface > QtClipboard::create |
( |
const OUString & |
aModeString | ) |
|
|
static |
◆ flushClipboard()
virtual void SAL_CALL QtClipboard::flushClipboard |
( |
| ) |
|
|
overridevirtual |
◆ getContents()
virtual css::uno::Reference< css::datatransfer::XTransferable > SAL_CALL QtClipboard::getContents |
( |
| ) |
|
|
overridevirtual |
◆ getImplementationName()
virtual OUString SAL_CALL QtClipboard::getImplementationName |
( |
| ) |
|
|
overridevirtual |
◆ getName()
virtual OUString SAL_CALL QtClipboard::getName |
( |
| ) |
|
|
overridevirtual |
◆ getRenderingCapabilities()
virtual sal_Int8 SAL_CALL QtClipboard::getRenderingCapabilities |
( |
| ) |
|
|
overridevirtual |
◆ getSupportedServiceNames()
virtual css::uno::Sequence< OUString > SAL_CALL QtClipboard::getSupportedServiceNames |
( |
| ) |
|
|
overridevirtual |
◆ handleChanged
void QtClipboard::handleChanged |
( |
QClipboard::Mode |
mode | ) |
|
|
privateslot |
◆ handleClearClipboard
void QtClipboard::handleClearClipboard |
( |
| ) |
|
|
privateslot |
◆ isOwner()
static bool QtClipboard::isOwner |
( |
const QClipboard::Mode |
aMode | ) |
|
|
staticprivate |
◆ isSupported()
static bool QtClipboard::isSupported |
( |
const QClipboard::Mode |
aMode | ) |
|
|
staticprivate |
◆ removeClipboardListener()
virtual void SAL_CALL QtClipboard::removeClipboardListener |
( |
const css::uno::Reference< css::datatransfer::clipboard::XClipboardListener > & |
listener | ) |
|
|
overridevirtual |
◆ setContents()
virtual void SAL_CALL QtClipboard::setContents |
( |
const css::uno::Reference< css::datatransfer::XTransferable > & |
xTrans, |
|
|
const css::uno::Reference< css::datatransfer::clipboard::XClipboardOwner > & |
xClipboardOwner |
|
) |
| |
|
overridevirtual |
◆ supportsService()
virtual sal_Bool SAL_CALL QtClipboard::supportsService |
( |
const OUString & |
ServiceName | ) |
|
|
overridevirtual |
◆ m_aClipboardMode
const QClipboard::Mode QtClipboard::m_aClipboardMode |
|
private |
◆ m_aClipboardName
const OUString QtClipboard::m_aClipboardName |
|
private |
◆ m_aContents
css::uno::Reference<css::datatransfer::XTransferable> QtClipboard::m_aContents |
|
private |
◆ m_aListeners
std::vector<css::uno::Reference<css::datatransfer::clipboard::XClipboardListener> > QtClipboard::m_aListeners |
|
private |
◆ m_aMutex
osl::Mutex QtClipboard::m_aMutex |
|
private |
◆ m_aOwner
css::uno::Reference<css::datatransfer::clipboard::XClipboardOwner> QtClipboard::m_aOwner |
|
private |
◆ m_bDoClear
bool QtClipboard::m_bDoClear |
|
private |
◆ m_bOwnClipboardChange
bool QtClipboard::m_bOwnClipboardChange |
|
private |
The documentation for this class was generated from the following file: