Changeset View
Changeset View
Standalone View
Standalone View
kcms/input/mousebackend.h
Show All 34 Lines | 31 | public: | |||
---|---|---|---|---|---|
35 | 35 | | |||
36 | // This function will be called before query any property below, thus it | 36 | // This function will be called before query any property below, thus it | ||
37 | // can be used to save some round trip. | 37 | // can be used to save some round trip. | ||
38 | virtual void load() = 0; | 38 | virtual void load() = 0; | ||
39 | virtual void apply(const MouseSettings &settings, bool force) = 0; | 39 | virtual void apply(const MouseSettings &settings, bool force) = 0; | ||
40 | 40 | | |||
41 | // Return the value from display server or compositor if applicable. | 41 | // Return the value from display server or compositor if applicable. | ||
42 | virtual bool supportScrollPolarity() = 0; | 42 | virtual bool supportScrollPolarity() = 0; | ||
43 | virtual QStringList supportedAccelerationProfiles() = 0; | ||||
44 | virtual QString accelerationProfile() = 0; | ||||
43 | virtual double accelRate() = 0; | 45 | virtual double accelRate() = 0; | ||
44 | virtual int threshold() = 0; | 46 | virtual int threshold() = 0; | ||
45 | virtual MouseHanded handed() = 0; | 47 | virtual MouseHanded handed() = 0; | ||
46 | 48 | | |||
47 | virtual QString currentCursorTheme() = 0; | 49 | virtual QString currentCursorTheme() = 0; | ||
48 | virtual void applyCursorTheme(const QString &name, int size) = 0; | 50 | virtual void applyCursorTheme(const QString &name, int size) = 0; | ||
49 | }; | 51 | }; | ||
50 | 52 | | |||
51 | #endif // MOUSEBACKEND_H | 53 | #endif // MOUSEBACKEND_H |