36
37
struct SlideShowPrivate;
37
class GWENVIEWLIB_EXPORT SlideShow : public QObject {
38
class GWENVIEWLIB_EXPORT SlideShow : public QObject
40
SlideShow(QObject* parent);
43
void start(const QList<KUrl>& urls);
46
QAction* loopAction() const;
47
QAction* randomAction() const;
49
/** @return true if the slideshow is running */
50
bool isRunning() const;
52
void setCurrentUrl(const KUrl& url);
42
SlideShow(QObject* parent);
45
void start(const QList<KUrl>& urls);
48
QAction* loopAction() const;
49
QAction* randomAction() const;
51
/** @return true if the slideshow is running */
52
bool isRunning() const;
54
void setCurrentUrl(const KUrl& url);
55
void setInterval(int);
57
void setInterval(int);
58
* Resume slideshow and go to next url.
60
void resumeAndGoToNextUrl();
60
* Resume slideshow and go to next url.
62
void resumeAndGoToNextUrl();
63
void goToUrl( const KUrl& );
65
* Slideshow has been started or stopped
67
void stateChanged(bool running);
65
void goToUrl(const KUrl&);
67
* Slideshow has been started or stopped
69
void stateChanged(bool running);
72
void slotRandomActionToggled(bool on);
74
void slotRandomActionToggled(bool on);
75
SlideShowPrivate* const d;
77
SlideShowPrivate* const d;