Ananas Library 0.9.5
atime.h
1/****************************************************************************
2** $Id: atime.h,v 1.4 2006/08/23 08:30:04 app Exp $
3**
4** Header file of the Accumulation Register of Ananas
5** Engine applications
6**
7** Created : 20031201
8**
9** Copyright (C) 2003-2004 Leader InfoTech. All rights reserved.
10**
11** This file is part of the Library of the Ananas
12** automation accounting system.
13**
14** This file may be distributed and/or modified under the terms of the
15** GNU General Public License version 2 as published by the Free Software
16** Foundation and appearing in the file LICENSE.GPL included in the
17** packaging of this file.
18**
19** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21**
22** See http://www.leaderit.ru/page=ananas or email sales@leaderit.ru
23** See http://www.leaderit.ru/gpl/ for GPL licensing information.
24**
25** Contact org@leaderit.ru if any conditions of this licensing are
26** not clear to you.
27**
28**********************************************************************/
29
30#ifndef ATIME_H
31#define ATIME_H
32
33#include <qobject.h>
34#include <qdatetime.h>
35//#include "airegister.h"
36#include "ananas.h"
37
38
39
40
48class ANANAS_EXPORT aTime : public QObject
49{
50 Q_OBJECT
51public:
52 aTime();
53 ~aTime();
54protected:
55 QTime *time;
56public slots:
57
58 virtual void start();
59 virtual int restart();
60 virtual int elapsed();
61 virtual QString CurrentDate();
62};
63
64#endif// ATIME_H
Сервисный класс для работы с объектом Время .
Definition atime.h:49