summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/segmentcanvas/CompositionItem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/editors/segment/segmentcanvas/CompositionItem.h
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-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/editors/segment/segmentcanvas/CompositionItem.h')
-rw-r--r--src/gui/editors/segment/segmentcanvas/CompositionItem.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/CompositionItem.h b/src/gui/editors/segment/segmentcanvas/CompositionItem.h
index b5e749b..f86f1b0 100644
--- a/src/gui/editors/segment/segmentcanvas/CompositionItem.h
+++ b/src/gui/editors/segment/segmentcanvas/CompositionItem.h
@@ -26,18 +26,18 @@
#ifndef _RG_COMPOSITIONITEM_H_
#define _RG_COMPOSITIONITEM_H_
-#include <qguardedptr.h>
-#include <qobject.h>
-#include <qrect.h>
+#include <tqguardedptr.h>
+#include <tqobject.h>
+#include <tqrect.h>
namespace Rosegarden
{
-class _CompositionItem : public QObject {
+class _CompositionItem : public TQObject {
public:
virtual bool isRepeating() const = 0;
- virtual QRect rect() const = 0;
+ virtual TQRect rect() const = 0;
virtual void moveBy(int x, int y) = 0;
virtual void moveTo(int x, int y) = 0;
virtual void setX(int x) = 0;
@@ -51,14 +51,14 @@ public:
// used by itemcontainer
virtual long hashKey() = 0;
- QRect savedRect() const { return m_savedRect; }
+ TQRect savedRect() const { return m_savedRect; }
void saveRect() const { m_savedRect = rect(); }
protected:
- mutable QRect m_savedRect;
+ mutable TQRect m_savedRect;
};
-typedef QGuardedPtr<_CompositionItem> CompositionItem;
+typedef TQGuardedPtr<_CompositionItem> CompositionItem;
bool operator<(const CompositionItem&, const CompositionItem&);