diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/kdeext/QCanvasSimpleSprite.h | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip |
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; }; } |