11#include <qqmlregistration.h>
13#include "kirigamiplatform_export.h"
35 Q_PROPERTY(
bool tabletModeAvailable READ isTabletModeAvailable NOTIFY tabletModeAvailableChanged FINAL)
42 Q_PROPERTY(
bool isMobile READ isMobile NOTIFY isMobileChanged FINAL)
52 Q_PROPERTY(
bool tabletMode READ tabletMode NOTIFY tabletModeChanged FINAL)
60 Q_PROPERTY(
bool hasPlatformMenuBar READ hasPlatformMenuBar CONSTANT FINAL)
66 Q_PROPERTY(
bool hasTransientTouchInput READ hasTransientTouchInput NOTIFY hasTransientTouchInputChanged FINAL)
72 Q_PROPERTY(
QString style READ style CONSTANT FINAL)
78 Q_PROPERTY(
int mouseWheelScrollLines READ mouseWheelScrollLines CONSTANT FINAL)
84 Q_PROPERTY(
bool smoothScroll READ smoothScroll NOTIFY smoothScrollChanged FINAL)
92 Q_PROPERTY(
QStringList information READ information CONSTANT FINAL)
101 Q_PROPERTY(
QVariant applicationWindowIcon READ applicationWindowIcon CONSTANT FINAL)
107 void setTabletModeAvailable(
bool mobile);
108 bool isTabletModeAvailable() const;
110 void setIsMobile(
bool mobile);
111 bool isMobile() const;
113 void setTabletMode(
bool tablet);
114 bool tabletMode() const;
116 void setTransientTouchInput(
bool touch);
117 bool hasTransientTouchInput() const;
119 bool hasPlatformMenuBar() const;
122 void setStyle(const
QString &style);
124 int mouseWheelScrollLines() const;
126 bool smoothScroll() const;
130 QVariant applicationWindowIcon() const;
136 void tabletModeAvailableChanged();
137 void tabletModeChanged();
138 void isMobileChanged();
139 void hasTransientTouchInputChanged();
140 void smoothScrollChanged();
144 int m_scrollLines = 0;
145 bool m_smoothScroll : 1;
146 bool m_tabletModeAvailable : 1;
148 bool m_tabletMode : 1;
149 bool m_hasTouchScreen : 1;
150 bool m_hasTransientTouchInput : 1;
151 bool m_hasPlatformMenuBar : 1;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:05:44 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.