1 /* 2 This file is part of the Kasten Framework, made within the KDE community. 3 4 SPDX-FileCopyrightText: 2008 Friedrich W. H. Kossebau <kossebau@kde.org> 5 6 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 7 */ 8 9 #include "modelstreamencodethread.hpp" 10 11 // lib 12 #include "abstractmodelstreamencoder.hpp" 13 14 namespace Kasten { 15 16 ModelStreamEncodeThread::~ModelStreamEncodeThread() = default; 17 run()18void ModelStreamEncodeThread::run() 19 { 20 mSuccess = mEncoder->encodeToStream(mIODevice, mModel, mSelection); 21 22 emit modelExported(mSuccess); 23 } 24 25 } 26