KDEUI
kmanagerselection.h
Go to the documentation of this file.
virtual bool handleMessage(XEvent *ev)
Called for every X event received on the window used for owning the selection.
Definition kmanagerselection.cpp:252
void release()
If the selection is owned, the ownership is given up.
Definition kmanagerselection.cpp:186
virtual void replyTargets(Atom property, Window requestor)
Called to announce the supported targets, as described in the ICCCM section 2.6.
Definition kmanagerselection.cpp:337
Window ownerWindow() const
If the selection is owned, returns the window used internally for owning the selection.
Definition kmanagerselection.cpp:195
void setData(long extra1, long extra2)
Sets extra data to be sent in the message sent to root window after successfully claiming a selection...
Definition kmanagerselection.cpp:202
KSelectionOwner(Atom selection, int screen=-1, QObject *parent=NULL)
This constructor initializes the object, but doesn't perform any operation on the selection.
Definition kmanagerselection.cpp:88
virtual bool genericReply(Atom target, Atom property, Window requestor)
Called when a SelectionRequest event is received.
Definition kmanagerselection.cpp:345
void lostOwnership()
This signal is emitted if the selection was owned and the ownership has been lost due to another clie...
virtual void getAtoms()
Called to create atoms needed for claiming the selection and communication using the selection handli...
Definition kmanagerselection.cpp:350
bool claim(bool force, bool force_kill=true)
This function attemps to claim ownership of the manager selection, using the current X timestamp.
Definition kmanagerselection.cpp:106
KSelectionWatcher(Atom selection, int screen=-1, QObject *parent=NULL)
This constructor initializes the object, but doesn't perform any operation on the selection.
Definition kmanagerselection.cpp:403
Window owner()
Return the current owner of the manager selection, if any.
Definition kmanagerselection.cpp:437
void newOwner(Window owner)
This signal is emitted when the selection is successfully claimed by a new owner.
void lostOwner()
This signal is emitted when the selection is given up, i.e.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.