File indexing completed on 2024-12-22 04:16:10

0001 /*
0002  *  SPDX-FileCopyrightText: 2008 Lukas Tvrdy <lukast.dev@gmail.com>
0003  *  SPDX-FileCopyrightText: 2010 José Luis Vergara <pentalis@gmail.com>
0004  *
0005  *  SPDX-License-Identifier: GPL-2.0-or-later
0006  */
0007 #include "KisHatchingPreferencesModel.h"
0008 
0009 using namespace KisWidgetConnectionUtils;
0010 
0011 KisHatchingPreferencesModel::KisHatchingPreferencesModel(lager::cursor<KisHatchingPreferencesData> _optionData)
0012     : optionData(_optionData)
0013     , LAGER_QT(useAntialias) {_optionData[&KisHatchingPreferencesData::useAntialias]}
0014     , LAGER_QT(useOpaqueBackground) {_optionData[&KisHatchingPreferencesData::useOpaqueBackground]}
0015     , LAGER_QT(useSubpixelPrecision) {_optionData[&KisHatchingPreferencesData::useSubpixelPrecision]}
0016 {
0017 }