X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcustomtrackview.h;h=4d5184a2f5bb59bc39dff4852977a74f089cf1a6;hb=c24658bd34221d735f0641c924b890e1a6be7101;hp=d8d8ad4eecbf4ca65859bbb1909ea39da82091cf;hpb=5bcb9b7ead3d053cb2b0498d84a2622626bf7f14;p=kdenlive diff --git a/src/customtrackview.h b/src/customtrackview.h index d8d8ad4e..4d5184a2 100644 --- a/src/customtrackview.h +++ b/src/customtrackview.h @@ -103,7 +103,7 @@ public: bool checkTrackHeight(); void updateSceneFrameWidth(); //QList tracksList() const; - void setTool(PROJECTTOOL tool); + void setTool(ProjectTool tool); ClipItem *cutClip(const ItemInfo &info, const GenTime &cutTime, bool cut, const EffectsList &oldStack = EffectsList(), bool execute = true); void slotSeekToPreviousSnap(); void slotSeekToNextSnap(); @@ -296,7 +296,7 @@ public slots: void updateSnapPoints(AbstractClipItem *selected, QList offsetList = QList (), bool skipSelectedItems = false); void slotAddEffect(ClipItem *clip, const QDomElement &effect); - void slotImportClipKeyframes(GRAPHICSRECTITEM type); + void slotImportClipKeyframes(GraphicsRectItem type); /** @brief Get effect parameters ready for MLT*/ static void adjustEffectParameters(EffectsParameterList ¶meters, QDomNodeList params, MltVideoProfile profile, const QString &prefix = QString()); @@ -326,8 +326,8 @@ private: QGraphicsLineItem *m_cursorLine; ItemInfo m_dragItemInfo; ItemInfo m_selectionGroupInfo; - OPERATIONTYPE m_operationMode; - OPERATIONTYPE m_moveOpMode; + OperationType m_operationMode; + OperationType m_moveOpMode; AbstractClipItem *m_dragItem; Guide *m_dragGuide; QUndoStack *m_commandStack; @@ -372,7 +372,7 @@ private: bool m_clipDrag; int m_findIndex; - PROJECTTOOL m_tool; + ProjectTool m_tool; QCursor m_razorCursor; QCursor m_spacerCursor; /** list containing items currently copied in the timeline */ @@ -429,7 +429,7 @@ private: * @param clip clip to display the tip on * @param mode operation mode for which the tip should be displayed * @param size size of the tip */ - void setTipAnimation(AbstractClipItem *clip, OPERATIONTYPE mode, const double size); + void setTipAnimation(AbstractClipItem *clip, OperationType mode, const double size); /** @brief Takes care of updating effects and attached transitions during a resize from start. * @param item Item to resize @@ -528,7 +528,7 @@ signals: /** @brief Cursor position changed, repaint ruler.*/ void updateRuler(); /** @brief Send data from a clip to be imported as keyframes for effect / transition.*/ - void importKeyframes(GRAPHICSRECTITEM type, const QString&, int maximum); + void importKeyframes(GraphicsRectItem type, const QString&, int maximum); }; #endif