diff options
Diffstat (limited to 'src/gui/kdeext/QCanvasSimpleSprite.h')
-rw-r--r-- | src/gui/kdeext/QCanvasSimpleSprite.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/gui/kdeext/QCanvasSimpleSprite.h b/src/gui/kdeext/QCanvasSimpleSprite.h index 15a02f9..7613b64 100644 --- a/src/gui/kdeext/QCanvasSimpleSprite.h +++ b/src/gui/kdeext/QCanvasSimpleSprite.h @@ -22,50 +22,50 @@ #ifndef QCANVASSIMPLESPRITE_H #define QCANVASSIMPLESPRITE_H -#include <qwmatrix.h> -#include <qcanvas.h> +#include <tqwmatrix.h> +#include <tqcanvas.h> #include "gui/editors/notation/NotePixmapFactory.h" namespace Rosegarden { /** - * A QCanvasSprite with 1 frame only + * A TQCanvasSprite with 1 frame only */ class QCanvasSimpleSprite : public QCanvasSprite { public: - QCanvasSimpleSprite(QPixmap*, QCanvas*); - QCanvasSimpleSprite(QCanvasPixmap*, QCanvas*); - QCanvasSimpleSprite(const QString &pixmapfile, QCanvas*); + QCanvasSimpleSprite(TQPixmap*, TQCanvas*); + QCanvasSimpleSprite(TQCanvasPixmap*, TQCanvas*); + QCanvasSimpleSprite(const TQString &pixmapfile, TQCanvas*); // For lazy pixmap rendering, when we get around looking at it - QCanvasSimpleSprite(QCanvas*); + QCanvasSimpleSprite(TQCanvas*); virtual ~QCanvasSimpleSprite(); protected: - static QCanvasPixmapArray* makePixmapArray(QPixmap *pixmap); + static TQCanvasPixmapArray* makePixmapArray(TQPixmap *pixmap); - static QCanvasPixmapArray* makePixmapArray(QCanvasPixmap *pixmap); + static TQCanvasPixmapArray* makePixmapArray(TQCanvasPixmap *pixmap); - static QCanvasPixmapArray* makePixmapArray(const QString &pixmapfile); + static TQCanvasPixmapArray* makePixmapArray(const TQString &pixmapfile); //--------------- Data members --------------------------------- - QCanvasPixmapArray* m_pixmapArray; + TQCanvasPixmapArray* m_pixmapArray; }; class NotationElement; /** - * A QCanvasSprite referencing a NotationElement + * A TQCanvasSprite referencing a NotationElement */ class QCanvasNotationSprite : public QCanvasSimpleSprite { public: - QCanvasNotationSprite(Rosegarden::NotationElement&, QPixmap*, QCanvas*); - QCanvasNotationSprite(Rosegarden::NotationElement&, QCanvasPixmap*, QCanvas*); + QCanvasNotationSprite(Rosegarden::NotationElement&, TQPixmap*, TQCanvas*); + QCanvasNotationSprite(Rosegarden::NotationElement&, TQCanvasPixmap*, TQCanvas*); virtual ~QCanvasNotationSprite(); @@ -80,19 +80,19 @@ protected: class QCanvasNonElementSprite : public QCanvasSimpleSprite { public: - QCanvasNonElementSprite(QPixmap *, QCanvas *); - QCanvasNonElementSprite(QCanvasPixmap *, QCanvas *); + QCanvasNonElementSprite(TQPixmap *, TQCanvas *); + QCanvasNonElementSprite(TQCanvasPixmap *, TQCanvas *); virtual ~QCanvasNonElementSprite(); }; /** - * A QCanvasSprite used for a time signature + * A TQCanvasSprite used for a time signature */ class QCanvasTimeSigSprite : public QCanvasNonElementSprite { public: - QCanvasTimeSigSprite(double layoutX, QPixmap *, QCanvas *); - QCanvasTimeSigSprite(double layoutX, QCanvasPixmap *, QCanvas *); + QCanvasTimeSigSprite(double layoutX, TQPixmap *, TQCanvas *); + QCanvasTimeSigSprite(double layoutX, TQCanvasPixmap *, TQCanvas *); virtual ~QCanvasTimeSigSprite(); void setLayoutX(double layoutX) { m_layoutX = layoutX; } @@ -103,29 +103,29 @@ protected: }; /** - * A QCanvasSprite used for a staff name + * A TQCanvasSprite used for a staff name */ class QCanvasStaffNameSprite : public QCanvasNonElementSprite { public: - QCanvasStaffNameSprite(QPixmap *, QCanvas *); - QCanvasStaffNameSprite(QCanvasPixmap *, QCanvas *); + QCanvasStaffNameSprite(TQPixmap *, TQCanvas *); + QCanvasStaffNameSprite(TQCanvasPixmap *, TQCanvas *); virtual ~QCanvasStaffNameSprite(); }; /** - * A GC for QCanvasPixmapArray which have to be deleted seperatly + * A GC for TQCanvasPixmapArray which have to be deleted seperatly */ class PixmapArrayGC { public: - static void registerForDeletion(QCanvasPixmapArray*); + static void registerForDeletion(TQCanvasPixmapArray*); static void deleteAll(); protected: //--------------- Data members --------------------------------- - static std::vector<QCanvasPixmapArray*> m_pixmapArrays; + static std::vector<TQCanvasPixmapArray*> m_pixmapArrays; }; } |