KDEUI
Go to the documentation of this file. 25 #include <QtCore/QString> 26 #include <QtGui/QPolygon> 35 class KShapeGesturePrivate;
76 void setShape(
const QPolygon &shape);
81 void setShapeName(
const QString &friendlyName);
86 QString shapeName()
const;
101 QString toString()
const;
110 QByteArray toSvg(
const QString &attributes = QString())
const;
118 float distance(
const KShapeGesture &other,
float abortThreshold)
const;
138 uint hashable()
const;
141 KShapeGesturePrivate *
const d;
150 class KRockerGesturePrivate;
164 KRockerGesture(
enum Qt::MouseButton hold,
enum Qt::MouseButton thenPush);
186 void setButtons(Qt::MouseButton hold, Qt::MouseButton thenPush);
191 void getButtons(Qt::MouseButton *hold, Qt::MouseButton *thenPush)
const;
196 QString rockerName()
const;
201 static QString mouseButtonName(Qt::MouseButton button);
206 bool isValid()
const;
215 QString toString()
const;
235 uint hashable()
const;
238 KRockerGesturePrivate *
const d;
uint hashable() const
Return an opaque value for use in hash tables.
bool operator!=(const KEntry &k1, const KEntry &k2)
bool operator==(const KEntry &k1, const KEntry &k2)
uint hashable() const
Return an opaque value for use in hash tables.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Jan 18 2020 19:01:07 by
doxygen 1.8.15 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.