#include <qpixmap.h>
#include <qpainter.h>
#include <qtimer.h>
+#include <QWidget>
+#include <QPixmap>
+#include <QPainter>
+#include <QTimer>
#include "instrument.h"
public:
StringInstrument(QWidget *parent);
~StringInstrument();
-
+
private slots:
void emitSounds();
void keyReleaseEvent(QKeyEvent *);
- void zeroArray(bool array[4][4]);
- void zeroArray(bool array[4]);
- void zeroArray(int array[4]);
virtual void setNotes(int array[4])=0; // Set the base string notes
- void copyArray(int source[4], int dest[4]);
+
+ QPixmap background;
// Keys
bool down[4][4];