tstaskmonitor/client/src/tstaskmonitor.cpp
changeset 94 dbb8300717f7
child 99 7aaf39b772ac
equal deleted inserted replaced
93:82b66994846c 94:dbb8300717f7
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #include "tstaskmonitor.h"
       
    19 #include "tstaskmonitor_p.h"
       
    20 
       
    21 #include "tstask.h"
       
    22 
       
    23 TsTaskMonitor::TsTaskMonitor(QObject *parent) : QObject(parent), d_ptr(0)
       
    24 {
       
    25     d_ptr = new TsTaskMonitorPrivate(this);
       
    26 }
       
    27 
       
    28 TsTaskMonitor::~TsTaskMonitor()
       
    29 {
       
    30     delete d_ptr;
       
    31 }
       
    32 
       
    33 QList< QSharedPointer<TsTask> > TsTaskMonitor::taskList()
       
    34 {
       
    35     return d_ptr->taskList();
       
    36 }