summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/NoteFont.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/notation/NoteFont.h')
-rw-r--r--src/gui/editors/notation/NoteFont.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/editors/notation/NoteFont.h b/src/gui/editors/notation/NoteFont.h
index 81a3b19..5bdef07 100644
--- a/src/gui/editors/notation/NoteFont.h
+++ b/src/gui/editors/notation/NoteFont.h
@@ -32,12 +32,12 @@
#include "NoteFontMap.h"
#include <set>
#include <string>
-#include <qpoint.h>
+#include <tqpoint.h>
#include <utility>
#include "gui/editors/notation/NoteCharacterNames.h"
-class QPixmap;
+class TQPixmap;
class PixmapMap;
class NoteCharacterDrawRep;
class FontPixmapMap;
@@ -130,39 +130,39 @@ public:
bool inverted = false) const;
/// Ignores problems, returns centre-left of pixmap if necessary
- QPoint getHotspot(CharName charName, bool inverted = false) const;
+ TQPoint getHotspot(CharName charName, bool inverted = false) const;
private:
/// Returns false + blank pixmap if it can't find the right one
- bool getPixmap(CharName charName, QPixmap &pixmap,
+ bool getPixmap(CharName charName, TQPixmap &pixmap,
bool inverted = false) const;
/// Returns false + blank pixmap if it can't find the right one
- bool getColouredPixmap(CharName charName, QPixmap &pixmap,
+ bool getColouredPixmap(CharName charName, TQPixmap &pixmap,
int hue, int minValue,
bool inverted = false) const;
/// Returns false + blank pixmap if it can't find the right one
- bool getShadedPixmap(CharName charName, QPixmap &pixmap,
+ bool getShadedPixmap(CharName charName, TQPixmap &pixmap,
bool inverted = false) const;
friend class NoteFontFactory;
NoteFont(std::string fontName, int size = 0);
std::set<int> getSizes() const { return m_fontMap.getSizes(); }
- bool lookup(CharName charName, bool inverted, QPixmap *&pixmap) const;
- void add(CharName charName, bool inverted, QPixmap *pixmap) const;
+ bool lookup(CharName charName, bool inverted, TQPixmap *&pixmap) const;
+ void add(CharName charName, bool inverted, TQPixmap *pixmap) const;
- NoteCharacterDrawRep *lookupDrawRep(QPixmap *pixmap) const;
+ NoteCharacterDrawRep *lookupDrawRep(TQPixmap *pixmap) const;
CharName getNameWithColour(CharName origName, int hue) const;
CharName getNameShaded(CharName origName) const;
- typedef std::pair<QPixmap *, QPixmap *> PixmapPair;
+ typedef std::pair<TQPixmap *, TQPixmap *> PixmapPair;
typedef std::map<CharName, PixmapPair> PixmapMap;
typedef std::map<std::string, PixmapMap *> FontPixmapMap;
- typedef std::map<QPixmap *, NoteCharacterDrawRep *> DrawRepMap;
+ typedef std::map<TQPixmap *, NoteCharacterDrawRep *> DrawRepMap;
//--------------- Data members ---------------------------------
@@ -174,7 +174,7 @@ private:
static FontPixmapMap *m_fontPixmapMap;
static DrawRepMap *m_drawRepMap;
- static QPixmap *m_blankPixmap;
+ static TQPixmap *m_blankPixmap;
};