File indexing completed on 2024-05-12 04:33:32

0001 /*
0002     SPDX-FileCopyrightText: 2008 Pino Toscano <pino@kde.org>
0003     SPDX-FileCopyrightText: 2008 Harri Porten <porten@kde.org>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef OKULAR_SCRIPT_JS_FULLSCREEN_P_H
0009 #define OKULAR_SCRIPT_JS_FULLSCREEN_P_H
0010 
0011 #include <QObject>
0012 
0013 namespace Okular
0014 {
0015 class JSFullscreen : public QObject
0016 {
0017     Q_OBJECT
0018     Q_PROPERTY(bool loop READ loop WRITE setLoop)               // clazy:exclude=qproperty-without-notify
0019     Q_PROPERTY(bool useTimer READ useTimer WRITE setUseTimer)   // clazy:exclude=qproperty-without-notify
0020     Q_PROPERTY(int timeDelay READ timeDelay WRITE setTimeDelay) // clazy:exclude=qproperty-without-notify
0021 
0022 public:
0023     bool loop() const;
0024     void setLoop(bool loop);
0025     bool useTimer() const;
0026     void setUseTimer(bool use);
0027     int timeDelay() const;
0028     void setTimeDelay(int time);
0029 };
0030 
0031 }
0032 
0033 #endif