KDEUI
Go to the documentation of this file.
23 #include <QtGui/QPushButton>
49 Q_PROPERTY(
bool isDragEnabled READ isDragEnabled WRITE setDragEnabled)
82 void setDragEnabled(
bool enable );
87 bool isDragEnabled()
const;
92 void setGuiItem(
const KGuiItem& item );
108 void setIcon(
const KIcon &icon );
113 void setIcon(
const QIcon &pix );
118 void setText(
const QString &text );
124 void setDelayedMenu(
QMenu *delayed_menu);
130 QMenu *delayedMenu();
136 virtual QSize sizeHint()
const;
164 void setAuthAction(
const QString &actionName);
173 virtual QDrag * dragObject();
178 virtual void mousePressEvent( QMouseEvent * );
182 virtual void mouseMoveEvent( QMouseEvent * );
188 virtual void paintEvent( QPaintEvent * );
193 virtual void startDrag();
221 class KPushButtonPrivate;
222 KPushButtonPrivate *
const d;
224 Q_PRIVATE_SLOT(d,
void slotSettingsChanged(
int ))
225 Q_PRIVATE_SLOT(d,
void slotPressedInternal())
226 Q_PRIVATE_SLOT(d,
void slotClickedInternal())
227 Q_PRIVATE_SLOT(d,
void slotDelayedMenuTimeout())
228 Q_PRIVATE_SLOT(d,
void authStatusChanged(
int))
231 #endif // KPUSHBUTTON_H
KGuiItem guiItem(StandardItem ui_enum)
Returns the gui item for the given identifier.
An abstract class for GUI data such as ToolTip and Icon.
A wrapper around QIcon that provides KDE icon features.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:15 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.