File indexing completed on 2024-04-28 15:27:33

0001 /*
0002     This file is part of the KDE libraries
0003     SPDX-FileCopyrightText: 2009 David Nolden <david.nolden.kdevelop@art-master.de>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #include "thumbsequencecreator.h"
0009 
0010 #if KIOWIDGETS_BUILD_DEPRECATED_SINCE(5, 101)
0011 
0012 class ThumbSequenceCreatorPrivate
0013 {
0014 public:
0015     float m_sequenceIndex = 0;
0016     float m_sequenceIndexWraparoundPoint = -1;
0017 };
0018 
0019 float ThumbSequenceCreator::sequenceIndex() const
0020 {
0021     return d->m_sequenceIndex;
0022 }
0023 
0024 void ThumbSequenceCreator::setSequenceIndex(float index)
0025 {
0026     d->m_sequenceIndex = index;
0027 }
0028 
0029 float ThumbSequenceCreator::sequenceIndexWraparoundPoint() const
0030 {
0031     return d->m_sequenceIndexWraparoundPoint;
0032 }
0033 
0034 void ThumbSequenceCreator::setSequenceIndexWraparoundPoint(float wraparoundPoint)
0035 {
0036     d->m_sequenceIndexWraparoundPoint = wraparoundPoint;
0037 }
0038 
0039 ThumbSequenceCreator::ThumbSequenceCreator()
0040     : d(new ThumbSequenceCreatorPrivate)
0041 {
0042 }
0043 
0044 ThumbSequenceCreator::~ThumbSequenceCreator() = default;
0045 
0046 #endif