equal
deleted
inserted
replaced
21 #define PAGE_VIDEOS_H |
21 #define PAGE_VIDEOS_H |
22 |
22 |
23 #include "AbstractPage.h" |
23 #include "AbstractPage.h" |
24 |
24 |
25 class QNetworkAccessManager; |
25 class QNetworkAccessManager; |
|
26 class QNetworkReply; |
26 class GameUIConfig; |
27 class GameUIConfig; |
27 class HWRecorder; |
28 class HWRecorder; |
28 class VideoItem; |
29 class VideoItem; |
29 class HWForm; |
30 class HWForm; |
30 |
31 |
74 void play(int row); |
75 void play(int row); |
75 void updateDescription(); |
76 void updateDescription(); |
76 void clearTemp(); |
77 void clearTemp(); |
77 void clearThumbnail(); |
78 void clearThumbnail(); |
78 void setProgress(int row, VideoItem* item, float value); |
79 void setProgress(int row, VideoItem* item, float value); |
|
80 VideoItem * itemFromReply(QNetworkReply* reply, int & row); |
79 |
81 |
80 GameUIConfig * config; |
82 GameUIConfig * config; |
81 QNetworkAccessManager* netManager; |
83 QNetworkAccessManager* netManager; |
82 |
84 |
83 // options group |
85 // options group |
116 void openVideosDirectory(); |
118 void openVideosDirectory(); |
117 void updateFileList(const QString & path); |
119 void updateFileList(const QString & path); |
118 void uploadToYouTube(); |
120 void uploadToYouTube(); |
119 void uploadProgress(qint64 bytesSent, qint64 bytesTotal); |
121 void uploadProgress(qint64 bytesSent, qint64 bytesTotal); |
120 void uploadFinished(); |
122 void uploadFinished(); |
|
123 void linkActivated(const QString & link); |
121 }; |
124 }; |
122 |
125 |
123 #endif // PAGE_VIDEOS_H |
126 #endif // PAGE_VIDEOS_H |