ktimeout.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _KTIMEOUT_H_
00023 #define _KTIMEOUT_H_
00024
00025 #include <qintdict.h>
00026 #include <qobject.h>
00027 #include <qtimer.h>
00028
00029
00030 class KTimeout : public QObject {
00031 Q_OBJECT
00032 public:
00033 KTimeout(int size = 29);
00034 virtual ~KTimeout();
00035
00036 signals:
00037 void timedOut(int id);
00038
00039 public slots:
00040 void resetTimer(int id, int timeout);
00041 void addTimer(int id, int timeout);
00042 void removeTimer(int id);
00043 void clear();
00044
00045 private slots:
00046 void timeout();
00047
00048 private:
00049 QIntDict<QTimer> _timers;
00050 };
00051
00052 #endif
This file is part of the documentation for kio Library Version 3.3.0.