summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/guitar/FingeringBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/guitar/FingeringBox.h')
-rw-r--r--src/gui/editors/guitar/FingeringBox.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/editors/guitar/FingeringBox.h b/src/gui/editors/guitar/FingeringBox.h
index b54c0a8..aa76e52 100644
--- a/src/gui/editors/guitar/FingeringBox.h
+++ b/src/gui/editors/guitar/FingeringBox.h
@@ -27,7 +27,7 @@
#ifndef _RG_FINGERINGBOX_H_
#define _RG_FINGERINGBOX_H_
-#include <qframe.h>
+#include <tqframe.h>
#include "NoteSymbols.h"
#include "Fingering.h"
@@ -43,8 +43,8 @@ class FingeringBox : public QFrame
static const unsigned int IMG_HEIGHT = 200;
public:
- FingeringBox(unsigned int nbFrets, unsigned int nbStrings, bool editable, QWidget *parent, const char* name = 0);
- FingeringBox(bool editable, QWidget *parent, const char* name = 0);
+ FingeringBox(unsigned int nbFrets, unsigned int nbStrings, bool editable, TQWidget *parent, const char* name = 0);
+ FingeringBox(bool editable, TQWidget *parent, const char* name = 0);
void setStartFret(unsigned int f) { m_startFret = f; update(); }
unsigned int getStartFret() const { return m_startFret; }
@@ -59,20 +59,20 @@ public:
protected:
void init();
- virtual void drawContents(QPainter*);
+ virtual void drawContents(TQPainter*);
- virtual void mousePressEvent(QMouseEvent*);
- virtual void mouseReleaseEvent(QMouseEvent*);
- virtual void mouseMoveEvent(QMouseEvent*);
- virtual void leaveEvent(QEvent*);
+ virtual void mousePressEvent(TQMouseEvent*);
+ virtual void mouseReleaseEvent(TQMouseEvent*);
+ virtual void mouseMoveEvent(TQMouseEvent*);
+ virtual void leaveEvent(TQEvent*);
void processMouseRelease( unsigned int release_string_num, unsigned int release_fret_num);
typedef std::pair<bool, unsigned int> PositionPair;
- unsigned int getStringNumber(const QPoint&);
+ unsigned int getStringNumber(const TQPoint&);
- unsigned int getFretNumber(const QPoint&);
+ unsigned int getFretNumber(const TQPoint&);
//! Maximum number of frets displayed by FingeringBox
unsigned int m_nbFretsDisplayed;
@@ -98,7 +98,7 @@ protected:
Guitar::NoteSymbols m_noteSymbols;
- QRect m_r1, m_r2;
+ TQRect m_r1, m_r2;
};
}