summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/Timeline/Bindings
diff options
context:
space:
mode:
authorMahmoud Badri <mahmoud.badri@qt.io>2018-12-13 16:55:28 +0200
committerMahmoud Badri <mahmoud.badri@qt.io>2019-01-17 11:40:23 +0000
commitd2c27c09fdc40fbca7f882be7634bd804c48d1f1 (patch)
tree12e489f5ba3107b2146ea5005f1a7222fbeb6c2f /src/Authoring/Studio/Palettes/Timeline/Bindings
parent1bd669b3a3ec9e7d8e5407d777ced79800fe677e (diff)
Timeline clean ups
- Unify the timeline time unit to be long (milliseconds), to save the back and forth conversion between seconds/mills. Note that some parts of the code still use float, but that is out of the scope. - Remove a useless interface (ITimelineKeyframesInterface). - Remove unused code plus some tweaks here and there. Task-number: QT3DS-2850 Change-Id: Iff8e245826d6030fd5ddf3a962b4c274cef464fe Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Palettes/Timeline/Bindings')
-rw-r--r--src/Authoring/Studio/Palettes/Timeline/Bindings/ITimelineItemBinding.h1
-rw-r--r--src/Authoring/Studio/Palettes/Timeline/Bindings/ITimelineKeyframesManager.h55
2 files changed, 0 insertions, 56 deletions
diff --git a/src/Authoring/Studio/Palettes/Timeline/Bindings/ITimelineItemBinding.h b/src/Authoring/Studio/Palettes/Timeline/Bindings/ITimelineItemBinding.h
index 9535c599..cebc46d1 100644
--- a/src/Authoring/Studio/Palettes/Timeline/Bindings/ITimelineItemBinding.h
+++ b/src/Authoring/Studio/Palettes/Timeline/Bindings/ITimelineItemBinding.h
@@ -37,7 +37,6 @@
class RowTree;
class CControlWindowListener;
-class ITimelineKeyframesManager;
// Data model specific ??
class CDropTarget;
diff --git a/src/Authoring/Studio/Palettes/Timeline/Bindings/ITimelineKeyframesManager.h b/src/Authoring/Studio/Palettes/Timeline/Bindings/ITimelineKeyframesManager.h
deleted file mode 100644
index e1a6914f..00000000
--- a/src/Authoring/Studio/Palettes/Timeline/Bindings/ITimelineKeyframesManager.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2008 NVIDIA Corporation.
-** Copyright (C) 2017 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of Qt 3D Studio.
-**
-** $QT_BEGIN_LICENSE:GPL-EXCEPT$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3 as published by the Free Software
-** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-#ifndef INCLUDED_ITIMELINE_KEYFRAMES_MANAGER_H
-#define INCLUDED_ITIMELINE_KEYFRAMES_MANAGER_H 1
-
-#pragma once
-
-#include "IKeyframesManager.h"
-
-//=============================================================================
-/**
- * Interface to manage keyframes related actions in the Timeline
- */
-//=============================================================================
-class ITimelineKeyframesManager : public IKeyframesManager
-{
-public:
- virtual ~ITimelineKeyframesManager() {}
-
- virtual void SetKeyframeTime(long inTime) = 0;
- virtual void SetKeyframesDynamic(bool inDynamic) = 0;
- virtual long OffsetSelectedKeyframes(long inOffset) = 0;
- virtual bool CanMakeSelectedKeyframesDynamic() = 0;
- virtual void CommitChangedKeyframes() = 0;
- virtual void RollbackChangedKeyframes() = 0;
-};
-
-#endif // INCLUDED_IKEYFRAMES_MANAGER_H