~ubuntu-branches/ubuntu/precise/kde-workspace/precise-security

« back to all changes in this revision

Viewing changes to powerdevil/daemon/actions/bundled/brightnesscontrol.h

Tags: upstream-4.7.2
Import upstream version 4.7.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <powerdevilaction.h>
25
25
 
 
26
class BrightnessOSDWidget;
26
27
 
27
28
namespace PowerDevil {
28
29
namespace BundledActions {
46
47
public:
47
48
    virtual bool loadAction(const KConfigGroup& config);
48
49
 
 
50
public Q_SLOTS:
 
51
    void showBrightnessOSD(int brightness);
 
52
    void onBrightnessChangedFromBackend(float brightness);
 
53
 
49
54
private:
50
55
    int m_defaultValue;
 
56
    QWeakPointer< BrightnessOSDWidget > m_brightnessOSD;
51
57
};
52
58
 
53
59
}