diff -r d40e813b23c0 -r 48060abbbeaf stifui/qt/inc/stfqtuimodel.h --- 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 - -class StfQtUIModel : public IStfQtUIModel - { -public: - StfQtUIModel(); - virtual ~StfQtUIModel(); -public://implement IStfQtUIModel - void ClearCasesStatus(); - QList 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 listenerList; - QList executedCaseList; - QList passedCaseList; - QList failedCaseList; - QList abortCaseList; - QList crashedCaseList; - QHash runningCaseList; - - - - - - - }; - -// End of File