Ananas Library  0.9.5
Public Slots | Public Member Functions | Protected Attributes | List of all members
aTime Class Reference
Inheritance diagram for aTime:

Public Slots

virtual void start ()
 
virtual int restart ()
 
virtual int elapsed ()
 
virtual QString CurrentDate ()
 

Public Member Functions

 aTime ()
 
 ~aTime ()
 

Protected Attributes

QTime * time
 

Constructor & Destructor Documentation

◆ aTime()

aTime::aTime ( )

Constructor that create object aTime for work in ananas script.

◆ ~aTime()

aTime::~aTime ( )

Destructor

Member Function Documentation

◆ CurrentDate

QString aTime::CurrentDate ( )
virtualslot

Return current date for ananas.script

◆ elapsed

int aTime::elapsed ( )
virtualslot

Gets elapsed time from last call of start() or restart()

◆ restart

int aTime::restart ( )
virtualslot

Restarts timer.

◆ start

void aTime::start ( )
virtualslot

Starts timer.


The documentation for this class was generated from the following files: