| 1 | /* |
| 2 | Copyright (C) 2014 Mario Stephan <[email protected]> |
| 3 | |
| 4 | This library is free software; you can redistribute it and/or modify |
| 5 | it under the terms of the GNU Lesser General Public License as published |
| 6 | by the Free Software Foundation; either version 2.1 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 Lesser General Public License |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ |
| 17 | |
| 18 | #include "djsettings.h"cxx . . $ `<file>/src/djsettings.h`/ |
| 19 | #include "ui_djsettings.h"cxx . . $ `<file>/src/ui_djsettings.h`/ |
| 20 | |
| 21 | DjSettingscxx . . $ DjSettings#::DjSettingscxx . . $ DjSettings#DjSettings(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent) : |
| 22 | QWidgetcxx . . $ QWidget#QWidget(872e7b0c281abd8d).(parent), |
| 23 | uicxx . . $ DjSettings#ui.(new Uicxx . . $ Ui/::DjSettingscxx . . $ Ui/DjSettings#) |
| 24 | { |
| 25 | uicxx . . $ DjSettings#ui.->setupUicxx . . $ Ui_DjSettings#setupUi(108f35f7aa7f3cf9).(this); |
| 26 | } |
| 27 | |
| 28 | DjSettingscxx . . $ DjSettings#::~cxx . . $ DjSettings#`~DjSettings`(ced63f7c635d850d).DjSettingscxx . . $ DjSettings#() |
| 29 | { |
| 30 | delete uicxx . . $ DjSettings#ui.; |
| 31 | } |
| 32 | |
| 33 | void DjSettingscxx . . $ DjSettings#::setIDcxx . . $ DjSettings#setID(d4f767463ce0a6b3).(int value) |
| 34 | { |
| 35 | uicxx . . $ DjSettings#ui.->labelcxx . . $ Ui_DjSettings#label.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(QStringcxx . . $ QString#::numbercxx . . $ QString#number(f4fd9db251ca774b).(value)); |
| 36 | } |
| 37 | |
| 38 | void DjSettingscxx . . $ DjSettings#::setFilterCountcxx . . $ DjSettings#setFilterCount(d4f767463ce0a6b3).(int value) |
| 39 | { |
| 40 | uicxx . . $ DjSettings#ui.->spinBoxcxx . . $ Ui_DjSettings#spinBox.->setValuecxx . . $ QSpinBox#setValue(d4f767463ce0a6b3).(value); |
| 41 | } |
| 42 | |
| 43 | void DjSettingscxx . . $ DjSettings#::setNamecxx . . $ DjSettings#setName(7df51288a9ebd664).(QStringcxx . . $ QString# value) |
| 44 | { |
| 45 | uicxx . . $ DjSettings#ui.->lineEditcxx . . $ Ui_DjSettings#lineEdit.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).(value); |
| 46 | } |
| 47 | |
| 48 | int DjSettingscxx . . $ DjSettings#::filterCountcxx . . $ DjSettings#filterCount(b126dc7c1de90089).() |
| 49 | { |
| 50 | return uicxx . . $ DjSettings#ui.->spinBoxcxx . . $ Ui_DjSettings#spinBox.->valuecxx . . $ QSpinBox#value(455f465bc33b4cdf).(); |
| 51 | } |
| 52 | |
| 53 | QStringcxx . . $ QString# DjSettingscxx . . $ DjSettings#::namecxx . . $ DjSettings#name(4365c3963150523e).() |
| 54 | { |
| 55 | return uicxx . . $ DjSettings#ui.->lineEditcxx . . $ Ui_DjSettings#lineEdit.->textcxx . . $ QLineEdit#text(6ef7b6c27b00b43d).(); |
| 56 | } |