ginebra/gtimer.h
changeset 0 1450b09d0cfd
equal deleted inserted replaced
-1:000000000000 0:1450b09d0cfd
       
     1 /*
       
     2 * Copyright (c) 2010 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 <QString>
       
    19 
       
    20 class QTime;
       
    21 class GTimer
       
    22 {
       
    23  public:
       
    24   GTimer();
       
    25   void start(QString op);
       
    26   void stop();
       
    27   void save();
       
    28   QString log();
       
    29   void clearLog(){m_log.clear();}
       
    30  private:
       
    31   QTime * m_time;
       
    32   QString m_start;
       
    33   QString m_op;
       
    34   QString m_log;
       
    35 
       
    36 };