KWin
|
#include <outputconfigurationstore.h>
Public Types | |
enum class | ConfigType { Preexisting , Generated } |
Public Member Functions | |
OutputConfigurationStore () | |
~OutputConfigurationStore () | |
std::optional< std::tuple< OutputConfiguration, QList< Output * >, ConfigType > > | queryConfig (const QList< Output * > &outputs, bool isLidClosed, QOrientationReading *orientation, bool isTabletMode) |
void | storeConfig (const QList< Output * > &allOutputs, bool isLidClosed, const OutputConfiguration &config, const QList< Output * > &outputOrder) |
bool | isAutoRotateActive (const QList< Output * > &outputs, bool isTabletMode) const |
Definition at line 28 of file outputconfigurationstore.h.
|
strong |
Enumerator | |
---|---|
Preexisting | |
Generated |
Definition at line 34 of file outputconfigurationstore.h.
KWin::OutputConfigurationStore::OutputConfigurationStore | ( | ) |
Definition at line 29 of file outputconfigurationstore.cpp.
KWin::OutputConfigurationStore::~OutputConfigurationStore | ( | ) |
Definition at line 34 of file outputconfigurationstore.cpp.
bool KWin::OutputConfigurationStore::isAutoRotateActive | ( | const QList< Output * > & | outputs, |
bool | isTabletMode ) const |
Definition at line 969 of file outputconfigurationstore.cpp.
std::optional< std::tuple< OutputConfiguration, QList< Output * >, OutputConfigurationStore::ConfigType > > KWin::OutputConfigurationStore::queryConfig | ( | const QList< Output * > & | outputs, |
bool | isLidClosed, | ||
QOrientationReading * | orientation, | ||
bool | isTabletMode ) |
Definition at line 39 of file outputconfigurationstore.cpp.
void KWin::OutputConfigurationStore::storeConfig | ( | const QList< Output * > & | allOutputs, |
bool | isLidClosed, | ||
const OutputConfiguration & | config, | ||
const QList< Output * > & | outputOrder ) |
Definition at line 177 of file outputconfigurationstore.cpp.