This is the verbatim text of the qtimer.h include file. It is is provided only for illustration; the copyright remains with Troll Tech.


/****************************************************************************
** $Id: qtimer.h,v 1.6 1995/05/19 23:14:47 eiriken Exp $
**
** Definition of QTimer class
**
** Author  : Haavard Nord
** Created : 931111
**
** Copyright (C) 1993-1995 by Troll Tech AS.  All rights reserved.
**
*****************************************************************************/

#ifndef QTIMER_H
#define QTIMER_H

#include "qobject.h"


class QTimer : public QObject                   // timer class
{
    Q_OBJECT
public:
    QTimer( QObject *parent=0, const char *name=0 );
   ~QTimer();

    bool isActive() const { return id >= 0; }   // timer is active

    int  start( long msec, bool sshot = FALSE );// start timer
    void changeInterval( long msec );           // change timer interval
    void stop();                                // stop timer

signals:
    void timeout();                             // timer expires

private:
    bool event( QEvent * );
    int  id;
    bool single;
};


#endif // QTIMER_H


Generated at 16:17, 1995/06/30 by the webmaster at Troll Tech