diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e2de64d6f1beb9e492daf5b886e19933c1fa41dd (patch) | |
tree | 9047cf9e6b5c43878d5bf82660adae77ceee097a /noatun/library/plugin_deps.h | |
download | tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.tar.gz tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/library/plugin_deps.h')
-rw-r--r-- | noatun/library/plugin_deps.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/noatun/library/plugin_deps.h b/noatun/library/plugin_deps.h new file mode 100644 index 00000000..a2f3f628 --- /dev/null +++ b/noatun/library/plugin_deps.h @@ -0,0 +1,44 @@ +#ifndef PLUGIN_DEPS_H +#define PLUGIN_DEPS_H + +#include <qtimer.h> +#include <qobject.h> +#include <noatunarts.h> + +class Visualization; +class NoatunListener; + + +class TimerThingy : public QObject +{ +Q_OBJECT +public: + TimerThingy(Visualization*); + + void setInterval(int msec); + void stop(); + void start(); + +public: + virtual void timerEvent(QTimerEvent *); + +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 + |