| 1 | /* |
| 2 | Copyright (C) 2016-2018 Chih-Hsuan Yen <[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 | #ifndef TOUCHPADCONFIG_H |
| 20 | #define TOUCHPADCONFIG_Hcxx . . $ `lxqt-config-input/touchpadconfig.h:20:9`! |
| 21 | |
| 22 | #include <QWidget> |
| 23 | #include "ui_touchpadconfig.h"cxx . . $ `<file>/build/lxqt-config-input/lxqt-config-input_autogen/include/ui_touchpadconfig.h`/ |
| 24 | |
| 25 | namespace LXQtcxx . . $ LXQt/ |
| 26 | { |
| 27 | class Settingscxx . . $ LXQt/Settings#; |
| 28 | } |
| 29 | |
| 30 | class TouchpadDevicecxx . . $ TouchpadDevice#; |
| 31 | |
| 32 | class TouchpadConfigcxx . . $ TouchpadConfig# : public QWidgetcxx . . $ QWidget# |
| 33 | { |
| 34 | Q_OBJECTcxx . . $ TouchpadConfig#tr(75d9f1c324b4579d). |
| 35 | |
| 36 | public: |
| 37 | TouchpadConfigcxx . . $ TouchpadConfig#TouchpadConfig(5b8077150108e9b6).(LXQtcxx . . $ LXQt/::Settingscxx . . $ LXQt/Settings#* _settings, QWidgetcxx . . $ QWidget#* parent); |
| 38 | virtual ~cxx . . $ TouchpadConfig#`~TouchpadConfig`(ced63f7c635d850d).TouchpadConfigcxx . . $ TouchpadConfig#(); |
| 39 | |
| 40 | void acceptcxx . . $ TouchpadConfig#accept(49f6e7a06ebc5aa8).(); |
| 41 | void applyConfigcxx . . $ TouchpadConfig#applyConfig(49f6e7a06ebc5aa8).(); |
| 42 | |
| 43 | public Q_SLOTScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:46:10`!: |
| 44 | void resetcxx . . $ TouchpadConfig#reset(49f6e7a06ebc5aa8).(); |
| 45 | |
| 46 | Q_SIGNALScxx . . $ `<external>/4830994369567095248/qtmetamacros.h:47:10`!: |
| 47 | void settingsChangedcxx . . $ TouchpadConfig#settingsChanged(49f6e7a06ebc5aa8).(); |
| 48 | |
| 49 | private: |
| 50 | void initControlscxx . . $ TouchpadConfig#initControls(49f6e7a06ebc5aa8).(); |
| 51 | void initFeatureControlcxx . . $ TouchpadConfig#initFeatureControl(54f28f343ddc43f2).(QCheckBoxcxx . . $ QCheckBox#* control, int featureEnabled); |
| 52 | |
| 53 | private: |
| 54 | LXQtcxx . . $ LXQt/::Settingscxx . . $ LXQt/Settings#* settingscxx . . $ TouchpadConfig#settings.; |
| 55 | Uicxx . . $ Ui/::TouchpadConfigcxx . . $ Ui/TouchpadConfig# uicxx . . $ TouchpadConfig#ui.; |
| 56 | QListcxx . . $ QList#<TouchpadDevicecxx . . $ TouchpadDevice#> devicescxx . . $ TouchpadConfig#devices.; |
| 57 | }; |
| 58 | |
| 59 | #endif |