Home
last modified time | relevance | path

Searched refs:BrightnessControlType (Results 1 – 10 of 10) sorted by relevance

/dports/sysutils/plasma5-powerdevil/powerdevil-5.23.5/daemon/
H A Dpowerdevilbackendinterface.h101 enum BrightnessControlType{ UnknownBrightnessControl = 0, Screen = 1, Keyboard = 2 }; enum
102 Q_ENUM(BrightnessControlType)
104 typedef QHash<QString, BrightnessControlType> BrightnessControlsList;
184 virtual int brightness(BrightnessControlType type = Screen) const;
192 virtual int brightnessMax(BrightnessControlType type = Screen) const;
200 virtual int brightnessSteps(BrightnessControlType type = Screen) const;
220 virtual void setBrightness(int value, BrightnessControlType type = Screen) = 0;
229 …virtual int brightnessKeyPressed(BrightnessLogic::BrightnessKeyType type, BrightnessControlType co…
269 …ightnessChanged(const BrightnessLogic::BrightnessInfo &brightnessInfo, BrightnessControlType type);
313 void onBrightnessChanged(BrightnessControlType device, int value, int valueMax);
[all …]
H A Dpowerdevilbackendinterface.cpp39 QHash< BrightnessControlType, BrightnessLogic* > brightnessLogic;
81 void BackendInterface::setBrightness(int brightness, BackendInterface::BrightnessControlType type) in setBrightness()
92 int BackendInterface::brightness(BackendInterface::BrightnessControlType type) const in brightness()
97 int BackendInterface::brightnessMax(BackendInterface::BrightnessControlType type) const in brightnessMax()
102 int BackendInterface::brightnessSteps(BackendInterface::BrightnessControlType type) const in brightnessSteps()
191 void BackendInterface::onBrightnessChanged(BrightnessControlType type, int value, int valueMax) in onBrightnessChanged()
210 int BackendInterface::calculateNextStep(int value, int valueMax, BrightnessControlType type, Bright… in calculateNextStep()
H A Dbrightnessosdwidget.h33 …void show(int percentage, PowerDevil::BackendInterface::BrightnessControlType type = PowerDevil::B…
H A Dbrightnessosdwidget.cpp33 void show(int percentage, PowerDevil::BackendInterface::BrightnessControlType type) in show()
/dports/sysutils/plasma5-powerdevil/powerdevil-5.23.5/daemon/backends/upower/
H A Dpowerdevilupowerbackend.h60 int brightness(BrightnessControlType type = Screen) const override;
61 int brightnessMax(BrightnessControlType type = Screen) const override;
63 …ssKeyPressed(PowerDevil::BrightnessLogic::BrightnessKeyType type, BrightnessControlType controlTyp…
64 …void setBrightness(int value, PowerDevil::BackendInterface::BrightnessControlType type = Screen) o…
99 QMap<BrightnessControlType, int> m_cachedBrightnessMap;
H A Dpowerdevilupowerbackend.cpp367 …ssKeyPressed(PowerDevil::BrightnessLogic::BrightnessKeyType type, BrightnessControlType controlTyp… in brightnessKeyPressed()
399 int PowerDevilUPowerBackend::brightness(PowerDevil::BackendInterface::BrightnessControlType type) c… in brightness()
422 int PowerDevilUPowerBackend::brightnessMax(PowerDevil::BackendInterface::BrightnessControlType type… in brightnessMax()
441 …ilUPowerBackend::setBrightness(int value, PowerDevil::BackendInterface::BrightnessControlType type) in setBrightness()
/dports/sysutils/plasma5-powerdevil/powerdevil-5.23.5/daemon/actions/bundled/
H A Dkeyboardbrightnesscontrol.h52 …nst BrightnessLogic::BrightnessInfo &brightnessInfo, BackendInterface::BrightnessControlType type);
H A Dbrightnesscontrol.h63 …nst BrightnessLogic::BrightnessInfo &brightnessInfo, BackendInterface::BrightnessControlType type);
H A Dbrightnesscontrol.cpp142 …mBackend(const BrightnessLogic::BrightnessInfo &info, BackendInterface::BrightnessControlType type) in onBrightnessChangedFromBackend()
H A Dkeyboardbrightnesscontrol.cpp159 …mBackend(const BrightnessLogic::BrightnessInfo &info, BackendInterface::BrightnessControlType type) in onBrightnessChangedFromBackend()