Okular

js_fullscreen.cpp
1/*
2 SPDX-FileCopyrightText: 2008 Pino Toscano <pino@kde.org>
3 SPDX-FileCopyrightText: 2008 Harri Porten <porten@kde.org>
4
5 SPDX-License-Identifier: GPL-2.0-or-later
6*/
7
8#include "js_fullscreen_p.h"
9
10#include "settings_core.h"
11
12using namespace Okular;
13
14bool JSFullscreen::loop() const
15{
16 return SettingsCore::slidesLoop();
17}
18
19void JSFullscreen::setLoop(bool loop)
20{
21 SettingsCore::setSlidesLoop(loop);
22}
23
24bool JSFullscreen::useTimer() const
25{
26 return SettingsCore::slidesAdvance();
27}
28
29void JSFullscreen::setUseTimer(bool use)
30{
31 SettingsCore::setSlidesAdvance(use);
32}
33
34int JSFullscreen::timeDelay() const
35{
36 return SettingsCore::slidesAdvanceTime();
37}
38
39void JSFullscreen::setTimeDelay(int time)
40{
41 SettingsCore::setSlidesAdvanceTime(time);
42}
global.h
Definition action.h:17
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.