summaryrefslogtreecommitdiff
path: root/quacker/macondo.h
diff options
context:
space:
mode:
Diffstat (limited to 'quacker/macondo.h')
-rw-r--r--quacker/macondo.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/quacker/macondo.h b/quacker/macondo.h
new file mode 100644
index 0000000..e6eb749
--- /dev/null
+++ b/quacker/macondo.h
@@ -0,0 +1,20 @@
+#include <QWidget>
+
+class QPushButton;
+class QProcess;
+class QTimer;
+
+class Macondo : public QWidget {
+Q_OBJECT
+public:
+ explicit Macondo(QWidget *parent = 0);
+public slots:
+ void run();
+ void updateResults();
+ void processStarted();
+private:
+ QPushButton *m_runButton;
+ QTimer *m_updateTimer;
+ std::string m_execPath;
+ QProcess *m_process = nullptr;
+};