| 1 | #cxx . . $ `<file>/src/preferences.h`/ifndef PREFERENCES_H |
| 2 | #define PREFERENCES_Hcxx . . $ `src/preferences.h:2:9`! |
| 3 | |
| 4 | #include <QDialog> |
| 5 | #include <QSettings> |
| 6 | #include <QAbstractTableModel> |
| 7 | |
| 8 | namespace Uicxx . . $ Ui/ { |
| 9 | class Preferencescxx . . $ Ui/Preferences#; |
| 10 | } |
| 11 | |
| 12 | class Enginecxx . . $ Engine# |
| 13 | { |
| 14 | public: |
| 15 | Enginecxx . . $ Engine#Engine(3458fe3960d5051).(QStringcxx . . $ QString# p, QStringcxx . . $ QString# a) : |
| 16 | pathcxx . . $ Engine#path.(p), argumentscxx . . $ Engine#arguments.(a) {} |
| 17 | QStringcxx . . $ QString# pathcxx . . $ Engine#path.; |
| 18 | QStringcxx . . $ QString# argumentscxx . . $ Engine#arguments.; |
| 19 | }; |
| 20 | |
| 21 | class EngineTableModelcxx . . $ EngineTableModel# : public QAbstractTableModelcxx . . $ QAbstractTableModel# |
| 22 | { |
| 23 | Q_OBJECTcxx . . $ QMetaObject#Call# |
| 24 | |
| 25 | public: |
| 26 | enum EngineTableColumncxx . . $ EngineTableModel#EngineTableColumn# { ENGINE_DEFAULTcxx . . $ EngineTableModel#ENGINE_DEFAULT., ENGINE_PATHcxx . . $ EngineTableModel#ENGINE_PATH., ENGINE_ARGUMENTScxx . . $ EngineTableModel#ENGINE_ARGUMENTS., ENGINE_NUMITEMScxx . . $ EngineTableModel#ENGINE_NUMITEMS. }; |
| 27 | |
| 28 | EngineTableModelcxx . . $ EngineTableModel#EngineTableModel(749de1b6ae65bddd).(QObjectcxx . . $ QObject# * parent = 0); |
| 29 | ~cxx . . $ EngineTableModel#`~EngineTableModel`(ced63f7c635d850d).EngineTableModelcxx . . $ EngineTableModel#(); |
| 30 | int rowCountcxx . . $ EngineTableModel#rowCount(e3878d4d6cd9529c).(const QModelIndexcxx . . $ QModelIndex# & parent = QModelIndexcxx . . $ QModelIndex#QModelIndex(ced63f7c635d850d).()) const; |
| 31 | int columnCountcxx . . $ EngineTableModel#columnCount(e3878d4d6cd9529c).(const QModelIndexcxx . . $ QModelIndex# & parent = QModelIndexcxx . . $ QModelIndex#QModelIndex(ced63f7c635d850d).()) const; |
| 32 | QModelIndexcxx . . $ QModelIndex# indexcxx . . $ EngineTableModel#index(37dbccf64c4e392). ( int row, int column, const QModelIndexcxx . . $ QModelIndex# & parent = QModelIndexcxx . . $ QModelIndex#QModelIndex(ced63f7c635d850d).() ) const; |
| 33 | QVariantcxx . . $ QVariant# datacxx . . $ EngineTableModel#data(69b5b18a001c0029).(const QModelIndexcxx . . $ QModelIndex# & index, int role) const; |
| 34 | QVariantcxx . . $ QVariant# headerDatacxx . . $ EngineTableModel#headerData(b8cfec0985494997).(int section, Qtcxx . . $ Qt/::Orientationcxx . . $ Qt/Orientation# orientation, int role) const; |
| 35 | Qtcxx . . $ Qt/::ItemFlagscxx . . $ Qt/ItemFlags# flagscxx . . $ EngineTableModel#flags(36b38c1b3d3f7b45).(const QModelIndexcxx . . $ QModelIndex# & index) const; |
| 36 | bool setDatacxx . . $ EngineTableModel#setData(6d1d8401440d0a2c).(const QModelIndexcxx . . $ QModelIndex# & index, const QVariantcxx . . $ QVariant# & value, int role = Qtcxx . . $ Qt/::EditRolecxx . . $ Qt/EditRole.); |
| 37 | bool removeRowscxx . . $ EngineTableModel#removeRows(c4e00837c4ba3150).(int row, int count, const QModelIndexcxx . . $ QModelIndex# &parent); |
| 38 | |
| 39 | void addEnginecxx . . $ EngineTableModel#addEngine(f7ba8388d72c02fc).(Enginecxx . . $ Engine# e); |
| 40 | void loadEnginescxx . . $ EngineTableModel#loadEngines(49f6e7a06ebc5aa8).(void); |
| 41 | void saveEnginescxx . . $ EngineTableModel#saveEngines(49f6e7a06ebc5aa8).(void); |
| 42 | public: |
| 43 | QListcxx . . $ QList# <Enginecxx . . $ Engine#> enginescxx . . $ EngineTableModel#engines.; |
| 44 | int selected_enginecxx . . $ EngineTableModel#selected_engine.; |
| 45 | }; |
| 46 | |
| 47 | class Preferencescxx . . $ Preferences# : public QDialogcxx . . $ QDialog# |
| 48 | { |
| 49 | Q_OBJECTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:170:9`! |
| 50 | |
| 51 | public: |
| 52 | explicit Preferencescxx . . $ Preferences#Preferences(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent = 0); |
| 53 | ~cxx . . $ Preferences#`~Preferences`(ced63f7c635d850d).Preferencescxx . . $ Preferences#(); |
| 54 | |
| 55 | void addEnginecxx . . $ Preferences#addEngine(49f6e7a06ebc5aa8).(); |
| 56 | void removeEnginecxx . . $ Preferences#removeEngine(49f6e7a06ebc5aa8).(); |
| 57 | void saveSettingscxx . . $ Preferences#saveSettings(49f6e7a06ebc5aa8).(); |
| 58 | void loadSettingscxx . . $ Preferences#loadSettings(49f6e7a06ebc5aa8).(); |
| 59 | void slot_getGobanPathcxx . . $ Preferences#slot_getGobanPath(49f6e7a06ebc5aa8).(); |
| 60 | void slot_getTablePathcxx . . $ Preferences#slot_getTablePath(49f6e7a06ebc5aa8).(); |
| 61 | |
| 62 | private: |
| 63 | Uicxx . . $ Ui/::Preferencescxx . . $ Ui/Preferences# *uicxx . . $ Preferences#ui.; |
| 64 | QSettingscxx . . $ QSettings# settingscxx . . $ Preferences#settings.; |
| 65 | EngineTableModelcxx . . $ EngineTableModel# * engineTableModelcxx . . $ Preferences#engineTableModel.; |
| 66 | QStringcxx . . $ QString# currentWorkingDircxx . . $ Preferences#currentWorkingDir.; |
| 67 | }; |
| 68 | |
| 69 | #endif // PREFERENCES_H |