| 1 | /* |
| 2 | Copyright (C) 2013-2014 Hong Jen Yee (PCMan) <[email protected]> |
| 3 | |
| 4 | This program is free software; you can redistribute it and/or modify |
| 5 | it under the terms of the GNU General Public License as published by |
| 6 | the Free Software Foundation; either version 2 of the License, or |
| 7 | (at your option) any later version. |
| 8 | |
| 9 | This program is distributed in the hope that it will be useful, |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | GNU General Public License for more details. |
| 13 | |
| 14 | You should have received a copy of the GNU General Public License along |
| 15 | with this program; if not, write to the Free Software Foundation, Inc., |
| 16 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 17 | */ |
| 18 | |
| 19 | |
| 20 | #ifndef MOUSECONFIG_H |
| 21 | #define MOUSECONFIG_Hcxx . . $ `lxqt-config-input/mouseconfig.h:21:9`! |
| 22 | |
| 23 | #include <QWidget> |
| 24 | #include "ui_mouseconfig.h"cxx . . $ `<file>/build/lxqt-config-input/lxqt-config-input_autogen/include/ui_mouseconfig.h`/ |
| 25 | |
| 26 | namespace LXQtcxx . . $ LXQt/ { |
| 27 | class Settingscxx . . $ LXQt/Settings#; |
| 28 | } |
| 29 | class QSettingscxx . . $ QSettings#; |
| 30 | |
| 31 | class MouseConfigcxx . . $ MouseConfig# : public QWidgetcxx . . $ QWidget# { |
| 32 | Q_OBJECTcxx . . $ MouseConfig#tr(75d9f1c324b4579d). |
| 33 | |
| 34 | public: |
| 35 | MouseConfigcxx . . $ MouseConfig#MouseConfig(366fb8011eabe521).(LXQtcxx . . $ LXQt/::Settingscxx . . $ LXQt/Settings#* _settings, QSettingscxx . . $ QSettings#* _qtSettings, QWidgetcxx . . $ QWidget#* parent); |
| 36 | virtual ~cxx . . $ MouseConfig#`~MouseConfig`(ced63f7c635d850d).MouseConfigcxx . . $ MouseConfig#(); |
| 37 | |
| 38 | void acceptcxx . . $ MouseConfig#accept(49f6e7a06ebc5aa8).(); |
| 39 | void applyConfigcxx . . $ MouseConfig#applyConfig(49f6e7a06ebc5aa8).(); |
| 40 | |
| 41 | public Q_SLOTScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:46:10`!: |
| 42 | void resetcxx . . $ MouseConfig#reset(49f6e7a06ebc5aa8).(); |
| 43 | |
| 44 | Q_SIGNALScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:47:10`!: |
| 45 | void settingsChangedcxx . . $ MouseConfig#settingsChanged(49f6e7a06ebc5aa8).(); |
| 46 | |
| 47 | private: |
| 48 | void setLeftHandedMousecxx . . $ MouseConfig#setLeftHandedMouse(49f6e7a06ebc5aa8).(); |
| 49 | void loadSettingscxx . . $ MouseConfig#loadSettings(49f6e7a06ebc5aa8).(); |
| 50 | void initControlscxx . . $ MouseConfig#initControls(49f6e7a06ebc5aa8).(); |
| 51 | |
| 52 | private: |
| 53 | Uicxx . . $ Ui/::MouseConfigcxx . . $ Ui/MouseConfig# uicxx . . $ MouseConfig#ui.; |
| 54 | LXQtcxx . . $ LXQt/::Settingscxx . . $ LXQt/Settings#* settingscxx . . $ MouseConfig#settings.; |
| 55 | QSettingscxx . . $ QSettings#* qtSettingscxx . . $ MouseConfig#qtSettings.; |
| 56 | int accelcxx . . $ MouseConfig#accel.; |
| 57 | int oldAccelcxx . . $ MouseConfig#oldAccel.; |
| 58 | int thresholdcxx . . $ MouseConfig#threshold.; |
| 59 | int oldThresholdcxx . . $ MouseConfig#oldThreshold.; |
| 60 | int doubleClickIntervalcxx . . $ MouseConfig#doubleClickInterval.; |
| 61 | int oldDoubleClickIntervalcxx . . $ MouseConfig#oldDoubleClickInterval.; |
| 62 | int wheelScrollLinescxx . . $ MouseConfig#wheelScrollLines.; |
| 63 | int oldWheelScrollLinescxx . . $ MouseConfig#oldWheelScrollLines.; |
| 64 | bool leftHandedcxx . . $ MouseConfig#leftHanded.; |
| 65 | bool oldLeftHandedcxx . . $ MouseConfig#oldLeftHanded.; |
| 66 | bool singleClickcxx . . $ MouseConfig#singleClick.; |
| 67 | bool oldSingleClickcxx . . $ MouseConfig#oldSingleClick.; |
| 68 | }; |
| 69 | |
| 70 | #endif // MOUSECONFIG_H |