File indexing completed on 2025-03-09 03:52:06

0001 /* ============================================================
0002  *
0003  * This file is a part of digiKam project
0004  * https://www.digikam.org
0005  *
0006  * Date        : 2008-10-02
0007  * Description : a presentation tool.
0008  *
0009  * SPDX-FileCopyrightText: 2008-2009 by Valerio Fuoglio <valerio dot fuoglio at gmail dot com>
0010  * SPDX-FileCopyrightText: 2012-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
0011  *
0012  * SPDX-License-Identifier: GPL-2.0-or-later
0013  *
0014  * ============================================================ */
0015 
0016 // Local includes
0017 
0018 #include "presentationcontainer.h"
0019 
0020 namespace DigikamGenericPresentationPlugin
0021 {
0022 
0023 PresentationContainer::PresentationContainer()
0024     : delayMsMaxValue               (0),
0025       delayMsMinValue               (0),
0026       delayMsLineStep               (0),
0027       urlList                       (QList<QUrl>()),
0028       mainPage                      (nullptr),
0029       captionPage                   (nullptr),
0030 
0031 #ifdef HAVE_MEDIAPLAYER
0032 
0033       soundtrackPage                (nullptr),
0034 
0035 #endif
0036 
0037       advancedPage                  (nullptr),
0038 
0039       opengl                        (false),
0040       openGlFullScale               (false),
0041       delay                         (0),
0042       printFileName                 (false),
0043       printProgress                 (false),
0044       printFileComments             (false),
0045       loop                          (false),
0046       shuffle                       (false),
0047       offAutoDelay                  (false),
0048       commentsFontColor             (0),
0049       commentsBgColor               (0),
0050       commentsDrawOutline           (false),
0051       bgOpacity                     (10),
0052       commentsLinesLength           (0),
0053       captionFont                   (nullptr),
0054 
0055       soundtrackLoop                (false),
0056       soundtrackPlay                (false),
0057       soundtrackRememberPlaylist    (false),
0058       soundtrackPlayListNeedsUpdate (false),
0059 
0060       useMilliseconds               (false),
0061       enableMouseWheel              (false),
0062       enableCache                   (false),
0063       kbDisableFadeInOut            (false),
0064       kbDisableCrossFade            (false),
0065       kbEnableSameSpeed             (false),
0066       cacheSize                     (0),
0067 
0068       display                       (nullptr),
0069       iface                         (nullptr)
0070 {
0071 }
0072 
0073 PresentationContainer::~PresentationContainer()
0074 {
0075     delete captionFont;
0076 }
0077 
0078 } // namespace DigikamGenericPresentationPlugin