summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/guitar/NoteSymbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/guitar/NoteSymbols.h')
-rw-r--r--src/gui/editors/guitar/NoteSymbols.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gui/editors/guitar/NoteSymbols.h b/src/gui/editors/guitar/NoteSymbols.h
index f90fefb..9222a9a 100644
--- a/src/gui/editors/guitar/NoteSymbols.h
+++ b/src/gui/editors/guitar/NoteSymbols.h
@@ -27,8 +27,8 @@
#ifndef _RG_SYMBOLS_H_
#define _RG_SYMBOLS_H_
-#include <qbrush.h>
-#include <qpainter.h>
+#include <tqbrush.h>
+#include <tqpainter.h>
namespace Rosegarden
{
@@ -105,40 +105,40 @@ public:
m_nbOfStrings(nbOfStrings),
m_nbOfFrets(nbOfFrets) {};
- //! Display a mute symbol in the QPainter object
+ //! Display a mute symbol in the TQPainter object
void
- drawMuteSymbol ( QPainter* p,
+ drawMuteSymbol ( TQPainter* p,
unsigned int position ) const;
/* This code borrowed from KGuitar 0.5 */
- //! Display a open symbol in the QPainter object (KGuitar)
- void drawOpenSymbol ( QPainter* p,
+ //! Display a open symbol in the TQPainter object (KGuitar)
+ void drawOpenSymbol ( TQPainter* p,
unsigned int position ) const;
/* This code borrowed from KGuitar 0.5 */
- //! Display a note symbol in the QPainter object (KGuitar)
- void drawNoteSymbol ( QPainter* p,
+ //! Display a note symbol in the TQPainter object (KGuitar)
+ void drawNoteSymbol ( TQPainter* p,
unsigned int stringNb,
int fretNb,
bool transient = false ) const;
/* This code borrowed from KGuitar 0.5 */
/**
- * Display a bar symbol in the QPainter object (KGuitar)
+ * Display a bar symbol in the TQPainter object (KGuitar)
* The code from the KGuitar project was modified to display a bar. This feature was not
* available in that project
*/
- void drawBarreSymbol ( QPainter* p,
+ void drawBarreSymbol ( TQPainter* p,
int fretNb,
unsigned int start,
unsigned int end ) const;
- void drawFretNumber ( QPainter* p,
+ void drawFretNumber ( TQPainter* p,
unsigned int fret_num ) const;
- void drawFrets ( QPainter* p ) const;
+ void drawFrets ( TQPainter* p ) const;
- void drawStrings ( QPainter* p ) const;
+ void drawStrings ( TQPainter* p ) const;
unsigned int getTopBorder ( unsigned int imgHeight ) const;
@@ -164,11 +164,11 @@ public:
unsigned int y_pos,
unsigned int maxFretNum ) const;
- QRect getTransientNoteSymbolRect(QSize guitarChordSize,
+ TQRect getTransientNoteSymbolRect(TQSize guitarChordSize,
unsigned int stringNb,
int fretNb) const;
- static void drawFingeringPixmap(const Fingering& fingering, const NoteSymbols& noteSymbols, QPainter *p);
+ static void drawFingeringPixmap(const Fingering& fingering, const NoteSymbols& noteSymbols, TQPainter *p);
private: