stifui/qt/inc/stfqtuimodel.h
branchRCL_3
changeset 20 48060abbbeaf
parent 19 d40e813b23c0
child 21 b3cee849fa46
--- a/stifui/qt/inc/stfqtuimodel.h	Thu Jul 15 18:39:46 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description: QT C++ based Class.
-*              application data model.
-*
-*/
-#include "istfqtuimodel.h"
-#include "stifexecutor.h"
-#include <QHash>
-
-class StfQtUIModel : public IStfQtUIModel
-    {
-public:
-    StfQtUIModel();
-    virtual ~StfQtUIModel();
-public://implement IStfQtUIModel
-    void ClearCasesStatus();
-    QList<CSTFCase> GetCasesByStatus(const TSTFCaseStatusType& type);
-    void AddRunningCase(const CStartedTestCase* startedCase, const CSTFCase& stfCase);
-    void RemoveRunningCase(const CStartedTestCase* startedCase);
-    void AddCaseByStatus(const TSTFCaseStatusType& type, const CSTFCase& aCase);
-    void AddStifModelEventListener(IStifModelEventListener* listener);
-    void RemoveStifModelEventListener(IStifModelEventListener* listener);
-    CSTFCase GetRunningCase(const CStartedTestCase* startedCase);
-    void PauseCase();
-    void ResumeCase();
-    void AbortCase();
-    
-private:
-    void FireOnCaseStatisticChangedEvent();
-    void FireOnRunningCaseChangedEvent();
-    
-private:
-    QList<IStifModelEventListener*> listenerList;
-    QList<CSTFCase> executedCaseList;
-    QList<CSTFCase> passedCaseList;
-    QList<CSTFCase> failedCaseList;
-    QList<CSTFCase> abortCaseList;
-    QList<CSTFCase> crashedCaseList;
-    QHash<const CStartedTestCase*, CSTFCase> runningCaseList;
-    
-    
-    
-    
-    
-    
-    };
-
-// End of File