File indexing completed on 2025-01-05 04:37:17

0001 /*
0002     SPDX-FileCopyrightText: 2005 Joris Guisson <joris.guisson@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 #include "exitoperation.h"
0007 
0008 namespace bt
0009 {
0010 ExitOperation::ExitOperation()
0011 {
0012 }
0013 
0014 ExitOperation::~ExitOperation()
0015 {
0016 }
0017 
0018 ExitJobOperation::ExitJobOperation(KJob *j)
0019 {
0020     connect(j, &KJob::result, this, &ExitJobOperation::onResult);
0021 }
0022 
0023 ExitJobOperation::~ExitJobOperation()
0024 {
0025 }
0026 
0027 void ExitJobOperation::onResult(KJob *)
0028 {
0029     operationFinished(this);
0030 }
0031 
0032 }
0033 
0034 #include "moc_exitoperation.cpp"