#include <QtCore/QTimer>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QTimer


Properties Index

boolactive [read-only]

Public Functions Index

QTimer (QObject *parent=0)
~QTimer ()
intinterval () const
boolisActive () const
boolisSingleShot () const
voidsetInterval (int msec)
voidsetSingleShot (bool singleShot)
inttimerId () const

Static Public Functions Index

voidsingleShot (int msec, QObject *receiver, const char *member)

Protected Functions Index

virtual voidtimerEvent (QTimerEvent *)

Public Slots Index

voidstart (int msec)
voidstart ()
voidstop ()

Signals Index

voidtimeout ()


bool active[read-only]

int interval

bool singleShot

Public Functions

QTimer (

~QTimer ()


int interval ()

bool isActive ()

bool isSingleShot ()

void setInterval (
  • intmsec)

void setSingleShot (
  • boolsingleShot)

int timerId ()

Static Public Functions

void singleShot (
  • intmsec,
  • QObject *receiver,
  • const char *member )

Protected Functions

virtual void timerEvent (

Public Slots

void start (
  • intmsec)

void start ()

void stop ()


void timeout ()

Last modified: 2015-07-24

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus