Changeset View
Changeset View
Standalone View
Standalone View
src/kdefrontend/datasources/ImportFileWidget.h
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Line(s) | 86 | private: | |||
---|---|---|---|---|---|
94 | std::unique_ptr<BinaryOptionsWidget> m_binaryOptionsWidget; | 94 | std::unique_ptr<BinaryOptionsWidget> m_binaryOptionsWidget; | ||
95 | std::unique_ptr<HDF5OptionsWidget> m_hdf5OptionsWidget; | 95 | std::unique_ptr<HDF5OptionsWidget> m_hdf5OptionsWidget; | ||
96 | std::unique_ptr<ImageOptionsWidget> m_imageOptionsWidget; | 96 | std::unique_ptr<ImageOptionsWidget> m_imageOptionsWidget; | ||
97 | std::unique_ptr<NetCDFOptionsWidget> m_netcdfOptionsWidget; | 97 | std::unique_ptr<NetCDFOptionsWidget> m_netcdfOptionsWidget; | ||
98 | std::unique_ptr<FITSOptionsWidget> m_fitsOptionsWidget; | 98 | std::unique_ptr<FITSOptionsWidget> m_fitsOptionsWidget; | ||
99 | std::unique_ptr<JsonOptionsWidget> m_jsonOptionsWidget; | 99 | std::unique_ptr<JsonOptionsWidget> m_jsonOptionsWidget; | ||
100 | std::unique_ptr<ROOTOptionsWidget> m_rootOptionsWidget; | 100 | std::unique_ptr<ROOTOptionsWidget> m_rootOptionsWidget; | ||
101 | 101 | | |||
102 | mutable std::unique_ptr<AbstractFileFilter> m_currentFilter; | ||||
asemke: m_currentFilter instead of currentFilter for the private member? Why mutable here? | |||||
currentFileFilter() is marked const, but m_currentFilter is changed therein. croick: currentFileFilter() is marked const, but m_currentFilter is changed therein. | |||||
asemke: Ok. | |||||
103 | | ||||
102 | QTableWidget* m_twPreview; | 104 | QTableWidget* m_twPreview; | ||
103 | const QString& m_fileName; | 105 | const QString& m_fileName; | ||
104 | bool m_fileEmpty; | 106 | bool m_fileEmpty; | ||
105 | bool m_liveDataSource; | 107 | bool m_liveDataSource; | ||
106 | bool m_suppressRefresh; | 108 | bool m_suppressRefresh; | ||
107 | 109 | | |||
108 | private slots: | 110 | private slots: | ||
109 | void fileNameChanged(const QString&); | 111 | void fileNameChanged(const QString&); | ||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |
m_currentFilter instead of currentFilter for the private member? Why mutable here?