1 /* 2 SPDX-FileCopyrightText: 2005 Joris Guisson <joris.guisson@gmail.com> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 #include "exitoperation.h" 7 8 namespace bt 9 { 10 ExitOperation::ExitOperation() 11 { 12 } 13 14 ExitOperation::~ExitOperation() 15 { 16 } 17 18 ExitJobOperation::ExitJobOperation(KJob *j) 19 { 20 connect(j, &KJob::result, this, &ExitJobOperation::onResult); 21 } 22 23 ExitJobOperation::~ExitJobOperation() 24 { 25 } 26 27 void ExitJobOperation::onResult(KJob *) 28 { 29 operationFinished(this); 30 } 31 32 } 33