You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeaddons/noatun-plugins/noatunmadness/madness.h

34 lines
523 B

#ifndef MADNESS_H
#define MADNESS_H
#include <noatun/plugin.h>
#include <string.h>
#include <tqmap.h>
#include <tqvaluelist.h>
#include <kwinmodule.h>
class Madness : public TQObject, public MonoFFTScope, public Plugin
{
Q_OBJECT
TQ_OBJECT
public:
Madness();
virtual ~Madness();
void init();
private slots:
void update();
protected:
virtual void scopeEvent(float *data, int bands);
private:
KWinModule mWm;
TQValueList<WId> mWindowList;
TQRect mWorkArea;
TQMap<WId, TQPoint> mOriginalPositions;
};
#endif