KDEUI
kpushbutton.h
Go to the documentation of this file.
virtual QDrag * dragObject()
Reimplement this and return the QDrag object that should be used for the drag.
Definition kpushbutton.cpp:295
QMenu * delayedMenu()
returns a delayed popup menu since menu() isn't virtual
Definition kpushbutton.cpp:312
void setDelayedMenu(QMenu *delayed_menu)
Sets a delayed popup menu for consistency, since menu() isn't virtual.
Definition kpushbutton.cpp:307
KStandardGuiItem::StandardItem guiItem() const
Reads the standard KGuiItem for this button.
Definition kpushbutton.cpp:234
void setAuthAction(KAuth::Action *action)
Sets the action object associated with this button.
Definition kpushbutton.cpp:331
virtual void mouseMoveEvent(QMouseEvent *)
Reimplemented to add drag-support.
Definition kpushbutton.cpp:278
virtual void paintEvent(QPaintEvent *)
Reimplemented to add arrow for delayed menu.
Definition kpushbutton.cpp:371
void authorized(KAuth::Action *action)
Signal emitted when the button is triggered and authorized.
KAuth::Action * authAction() const
Returns the action object associated with this button, or 0 if it does not have one.
Definition kpushbutton.cpp:317
void setGuiItem(const KGuiItem &item)
Sets the KGuiItem for this button.
Definition kpushbutton.cpp:215
virtual void mousePressEvent(QMouseEvent *)
Reimplemented to add drag-support.
Definition kpushbutton.cpp:271
virtual QSize sizeHint() const
Reimplemented to add arrow for delayed menu.
Definition kpushbutton.cpp:360
virtual void startDrag()
Starts a drag (dragCopy() by default) using dragObject()
Definition kpushbutton.cpp:300
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.