KIO

thumbsequencecreator.cpp
1 /*
2  This file is part of the KDE libraries
3  SPDX-FileCopyrightText: 2009 David Nolden <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #include "thumbsequencecreator.h"
9 
10 class ThumbSequenceCreatorPrivate
11 {
12 public:
13  float m_sequenceIndex = 0;
14  float m_sequenceIndexWraparoundPoint = -1;
15 };
16 
18 {
19  return d->m_sequenceIndex;
20 }
21 
23 {
24  d->m_sequenceIndex = index;
25 }
26 
28 {
29  return d->m_sequenceIndexWraparoundPoint;
30 }
31 
33 {
34  d->m_sequenceIndexWraparoundPoint = wraparoundPoint;
35 }
36 
37 ThumbSequenceCreator::ThumbSequenceCreator()
38  : d(new ThumbSequenceCreatorPrivate)
39 {
40 }
41 
42 ThumbSequenceCreator::~ThumbSequenceCreator() = default;
void setSequenceIndex(float index)
Sets the sequence-index for this thumb creator.
void setSequenceIndexWraparoundPoint(float wraparoundPoint)
Sets the point at which this thumb-creator&#39;s sequence indices will wrap around.
float sequenceIndex() const
If this thumb-creator can create a sequence of thumbnails, it should use this to decide what sequence...
float sequenceIndexWraparoundPoint() const
Returns the point at which this thumb-creator&#39;s sequence indices will wrap around (loop)...
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Dec 6 2021 22:52:59 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.