MauiMan
formfactormanager.cpp
68 connect(m_interface, SIGNAL(preferredModeChanged(uint)), this, SLOT(onPreferredModeChanged(uint)));
69 connect(m_interface, SIGNAL(forceTouchScreenChanged(bool)), this, SLOT(onForceTouchScreenChanged(bool)));
88 m_forceTouchScreen = m_settings->load(QStringLiteral("ForceTouchScreen"), m_forceTouchScreen).toBool();
280 auto res= std::find_if(devices.constBegin(), devices.constEnd(), [type](const QInputDevice *device)
The FormFactoInfo class contains information about the input devices available in the current system.
Definition formfactormanager.h:20
uint bestMode
The best fitted mode according to the available input devices and the screen size.
Definition formfactormanager.h:25
Qt::ScreenOrientation screenOrientation
The current orientation of the main screen.
Definition formfactormanager.h:60
bool forceTouchScreen
If a device is not detected to have a touch screen , and still it has it, this property can be used t...
Definition formfactormanager.h:177
The SettingsStore class Allows to store and read settings for MauiMan from the local conf file.
Definition settingsstore.h:17
void save(const QString &key, const QVariant &value)
Save a conf value entry to the local file.
Definition settingsstore.cpp:23
void beginModule(const QString &module)
Set up the module section to write to.
Definition settingsstore.cpp:28
QVariant load(const QString &key, const QVariant &defaultValue)
Load the value of a conf entry, with a possible default value.
Definition settingsstore.cpp:14
Type type(const QSqlDatabase &db)
The MauiMan name-space contains all of the available modules for configuring the Maui Applications an...
Definition accessibilitymanager.h:8
QDBusMessage call(QDBus::CallMode mode, const QString &method, Args &&... args)
bool isValid() const const
QDBusConnection sessionBus()
DeviceTypes
QList< const QInputDevice * > devices()
const QInputDevice * primaryKeyboard(const QString &seatName)
bool isEmpty() const const
Q_EMITQ_EMIT
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void deleteLater()
bool disconnect(const QMetaObject::Connection &connection)
QVariant property(const char *name) const const
int width() const const
geometry
orientation
QString join(QChar separator) const const
ScreenOrientation
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
bool toBool() const const
uint toUInt(bool *ok) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.