summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/segmentcanvas/CompositionModelImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/segment/segmentcanvas/CompositionModelImpl.h')
-rw-r--r--src/gui/editors/segment/segmentcanvas/CompositionModelImpl.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/gui/editors/segment/segmentcanvas/CompositionModelImpl.h b/src/gui/editors/segment/segmentcanvas/CompositionModelImpl.h
index 6e1c9d6..2d3fd64 100644
--- a/src/gui/editors/segment/segmentcanvas/CompositionModelImpl.h
+++ b/src/gui/editors/segment/segmentcanvas/CompositionModelImpl.h
@@ -33,10 +33,10 @@
#include <map>
#include "SegmentOrderer.h"
#include <set>
-#include <qcolor.h>
-#include <qpoint.h>
-#include <qptrdict.h>
-#include <qrect.h>
+#include <tqcolor.h>
+#include <tqpoint.h>
+#include <tqptrdict.h>
+#include <tqrect.h>
#include <vector>
#include "base/Event.h"
@@ -72,11 +72,11 @@ public:
virtual ~CompositionModelImpl();
virtual unsigned int getNbRows();
- virtual const rectcontainer& getRectanglesIn(const QRect& rect,
+ virtual const rectcontainer& getRectanglesIn(const TQRect& rect,
RectRanges* notationRects, AudioPreviewDrawData* audioRects);
- virtual heightlist getTrackDividersIn(const QRect& rect);
- virtual itemcontainer getItemsAt (const QPoint&);
- virtual timeT getRepeatTimeAt (const QPoint&, const CompositionItem&);
+ virtual heightlist getTrackDividersIn(const TQRect& rect);
+ virtual itemcontainer getItemsAt (const TQPoint&);
+ virtual timeT getRepeatTimeAt (const TQPoint&, const CompositionItem&);
virtual SnapGrid& grid() { return m_grid; }
@@ -88,9 +88,9 @@ public:
virtual bool haveSelection() const { return !m_selectedSegments.empty(); }
virtual bool haveMultipleSelection() const { return m_selectedSegments.size() > 1; }
virtual void signalSelection();
- virtual void setSelectionRect(const QRect&);
+ virtual void setSelectionRect(const TQRect&);
virtual void finalizeSelectionRect();
- virtual QRect getSelectionContentsRect();
+ virtual TQRect getSelectionContentsRect();
virtual void signalContentChange();
virtual void addRecordingItem(const CompositionItem&);
@@ -117,8 +117,8 @@ public:
AudioPreviewData* makeAudioPreviewDataCache(const Segment *s);
CompositionRect computeSegmentRect(const Segment&, bool computeZ = false);
- QColor computeSegmentPreviewColor(const Segment*);
- QPoint computeSegmentOrigin(const Segment&);
+ TQColor computeSegmentPreviewColor(const Segment*);
+ TQPoint computeSegmentOrigin(const Segment&);
void computeRepeatMarks(CompositionItem&);
SegmentSelection getSelectedSegments() { return m_selectedSegments; }
@@ -173,21 +173,21 @@ protected:
rectlist* getNotationPreviewData(const Segment* s);
AudioPreviewData* getAudioPreviewData(const Segment* s);
PixmapArray getAudioPreviewPixmap(const Segment* s);
- QRect postProcessAudioPreview(AudioPreviewData*, const Segment*);
+ TQRect postProcessAudioPreview(AudioPreviewData*, const Segment*);
void makePreviewCache(const Segment* s);
void removePreviewCache(const Segment* s);
- void makeNotationPreviewRects(RectRanges* npData, QPoint basePoint, const Segment*, const QRect&);
- void makeNotationPreviewRectsMovingSegment(RectRanges* npData, QPoint basePoint, const Segment*,
- const QRect&);
+ void makeNotationPreviewRects(RectRanges* npData, TQPoint basePoint, const Segment*, const TQRect&);
+ void makeNotationPreviewRectsMovingSegment(RectRanges* npData, TQPoint basePoint, const Segment*,
+ const TQRect&);
void makeAudioPreviewRects(AudioPreviewDrawData* apRects, const Segment*,
- const CompositionRect& segRect, const QRect& clipRect);
+ const CompositionRect& segRect, const TQRect& clipRect);
void clearInCache(const Segment*, bool clearPreviewCache = false);
void putInCache(const Segment*, const CompositionRect&);
const CompositionRect& getFromCache(const Segment*, timeT& endTime);
bool isCachedRectCurrent(const Segment& s, const CompositionRect& r,
- QPoint segmentOrigin, timeT segmentEndTime);
+ TQPoint segmentOrigin, timeT segmentEndTime);
//--------------- Data members ---------------------------------
Composition& m_composition;
@@ -206,8 +206,8 @@ protected:
AudioPreviewThread* m_audioPreviewThread;
- typedef QPtrDict<rectlist> NotationPreviewDataCache;
- typedef QPtrDict<AudioPreviewData> AudioPreviewDataCache;
+ typedef TQPtrDict<rectlist> NotationPreviewDataCache;
+ typedef TQPtrDict<AudioPreviewData> AudioPreviewDataCache;
NotationPreviewDataCache m_notationPreviewDataCache;
AudioPreviewDataCache m_audioPreviewDataCache;
@@ -217,8 +217,8 @@ protected:
ChangeType m_changeType;
itemgc m_itemGC;
- QRect m_selectionRect;
- QRect m_previousSelectionUpdateRect;
+ TQRect m_selectionRect;
+ TQRect m_previousSelectionUpdateRect;
std::map<const Segment*, CompositionRect> m_segmentRectMap;
std::map<const Segment*, timeT> m_segmentEndTimeMap;