QTime Class Reference


The QTime class provides time functions 24 hours a day. (details) (complete member list)

#include <qdatetm.h>

Public Members

Static Public Members

Related Functions

(Note that these are not member functions.)

Detailed Description

The QTime class provides time functions 24 hours a day.

The time resolution of QTime is a millisecond, although the accuracy depends on the underlying operating system. Some operating systems (e.g. Linux) support a one-millisecond resolution, while others (i.e. MS-DOS and Windows) support only a 55 millisecond resolution.


Member Function Documentation

QTime::QTime ()

Constructs a null time 00:00:00.000. Null times are valid.


Related Functions

QDataStream & operator<< (QDataStream &s, const QTime &t)

Writes the time t to the stream s and returns a reference to s.

QDataStream & operator>> (QDataStream &s, QTime &t)

Reads the time t from the stream s and returns a reference to s.


This file is part of the Qt toolkit, copyright 1995 Troll Tech, all rights reserved.

It was generated from the following files:


Generated at 04:27, 1995/05/20 by the webmaster at Troll Tech