blob: 875bec357e4bdf82a524bf13345adc75e50ee9b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#ifndef PLUGIN_DEPS_H
#define PLUGIN_DEPS_H
#include <tqtimer.h>
#include <tqobject.h>
#include <noatunarts.h>
class Visualization;
class NoatunListener;
class TimerThingy : public TQObject
{
TQ_OBJECT
public:
TimerThingy(Visualization*);
void setInterval(int msec);
void stop();
void start();
public:
virtual void timerEvent(TQTimerEvent *);
private:
Visualization *mVis;
int id;
int ms;
};
class NoatunListenerNotif : public Noatun::Listener_skel
{
public:
NoatunListenerNotif(NoatunListener *);
virtual void message();
operator Noatun::Listener() { return Noatun::Listener::_from_base(_copy()); }
private:
NoatunListener *mListener;
};
#endif
|