Subversion Repositories tpanel

Rev

Rev 366 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 366 Rev 367
Line 21... Line 21...
21
#include <QMainWindow>
21
#include <QMainWindow>
22
#include <QMetaType>
22
#include <QMetaType>
23
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
23
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
24
#include <QGeoPositionInfoSource>
24
#include <QGeoPositionInfoSource>
25
#endif
25
#endif
-
 
26
#include "QMediaPlayer"
-
 
27
 
26
#include "tpagemanager.h"
28
#include "tpagemanager.h"
27
#include "tobject.h"
29
#include "tobject.h"
28
#include "tqemitqueue.h"
30
#include "tqemitqueue.h"
29
#include "tpagelist.h"
31
#include "tpagelist.h"
30
#include "tqgesturefilter.h"
32
#include "tqgesturefilter.h"
Line 42... Line 44...
42
class QMouseEvent;
44
class QMouseEvent;
43
class QMoveEvent;
45
class QMoveEvent;
44
class QGestureEvent;
46
class QGestureEvent;
45
class QEvent;
47
class QEvent;
46
class QSound;
48
class QSound;
47
class QMediaPlayer;
49
//class QMediaPlayer;
48
class QOrientationSensor;
50
class QOrientationSensor;
49
class QStackedWidget;
51
class QStackedWidget;
50
class QListWidgetItem;
52
class QListWidgetItem;
51
#ifdef Q_OS_IOS
53
#ifdef Q_OS_IOS
52
class QGeoPositionInfo;
54
class QGeoPositionInfo;
Line 244... Line 246...
244
        // Progress bar (busy indicator)
246
        // Progress bar (busy indicator)
245
        void onProgressChanged(int percent);
247
        void onProgressChanged(int percent);
246
        void startWait(const std::string& text);
248
        void startWait(const std::string& text);
247
        void stopWait();
249
        void stopWait();
248
        void pageFinished(ulong handle);
250
        void pageFinished(ulong handle);
-
 
251
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
-
 
252
        void onPlayingChanged(bool plying);
-
 
253
#endif
-
 
254
        void onPlayerError(QMediaPlayer::Error error, const QString &errorString);
-
 
255
        void onMediaStatusChanged(QMediaPlayer::MediaStatus status);
249
 
256
 
250
    private:
257
    private:
251
        bool gestureEvent(QGestureEvent *event);
258
        bool gestureEvent(QGestureEvent *event);
252
        void createActions();
259
        void createActions();
253
        void writeSettings();
260
        void writeSettings();