diff options
| author | John Denker <jsd@av8n.com> | 2024-03-16 11:21:23 -0700 | 
|---|---|---|
| committer | John Denker <jsd@av8n.com> | 2024-03-16 11:42:15 -0700 | 
| commit | 9852b855db2a65ea6eb5e877411634820214ddf0 (patch) | |
| tree | c4c4504b34ef81d67891ed137ec2cfaabb4d6d04 /src/thrower.h | |
| parent | 634d365a03cb0581a062cd3cf4db9ae69f1cde26 (diff) | |
Diffstat (limited to 'src/thrower.h')
| -rw-r--r-- | src/thrower.h | 27 | 
1 files changed, 27 insertions, 0 deletions
diff --git a/src/thrower.h b/src/thrower.h new file mode 100644 index 0000000..5e4c4fb --- /dev/null +++ b/src/thrower.h @@ -0,0 +1,27 @@ +#ifndef THROWER_H +#define THROWER_H + +#include <QApplication> + +///////////////////////////////// +// This exists only for the purpose of being something to throw. +// It is essentially private to krunch.cxx +// Apparently it has to exist in a .h file (not in krunch.cxx) +// because of the way the meta-object-compiler works. +// +class thrower : public QObject{ + +  Q_OBJECT + +Q_SIGNALS:              // outbound signals +  void _newReading(const double, const double, const double, const double); +  void _flush(); + +public: +  void newReading(const double rp0, const double ip0, +               const double rp1, const double ip1); + +  void flush(); +}; + +#endif /* THROWER_H */  | 
