File indexing completed on 2024-04-28 04:20:53

0001 /* SPDX-FileCopyrightText: 2012 Jesper K. Pedersen <blackie@kde.org>
0002 
0003    SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004 */
0005 
0006 #include "CompletedJobInfo.h"
0007 
0008 namespace BackgroundTaskManager
0009 {
0010 
0011 CompletedJobInfo::CompletedJobInfo(JobInfo *other)
0012     : JobInfo(other)
0013 {
0014     m_title = other->title();
0015     m_details = other->details();
0016 }
0017 
0018 QString CompletedJobInfo::title() const
0019 {
0020     return m_title;
0021 }
0022 
0023 QString CompletedJobInfo::details() const
0024 {
0025     return m_details;
0026 }
0027 
0028 } // namespace BackgroundTaskManager
0029 // vi:expandtab:tabstop=4 shiftwidth=4: