X-Git-Url: https://git.sur5r.net/?p=minitube;a=blobdiff_plain;f=src%2Fplaylistmodel.h;h=2123bd245d603b29c14ddc7f821c076044abee75;hp=88d6dcfea7601e24bfa3bb6a17449e9774485f21;hb=e5ab28f93dda6e878973f57276db5edab68d13bc;hpb=4250cf62c1410d5c4e16720128264aeb59c8dc17 diff --git a/src/playlistmodel.h b/src/playlistmodel.h index 88d6dcf..2123bd2 100644 --- a/src/playlistmodel.h +++ b/src/playlistmodel.h @@ -91,15 +91,17 @@ public slots: void addVideos(QList newVideos); void searchFinished(int total); void searchError(QString message); - void updateThumbnail(); + void updateVideoSender(); + void emitDataChanged(); void setHoveredRow(int row); void clearHover(); + void updateHoveredRow(); + void enterAuthorHover(); void exitAuthorHover(); void enterAuthorPressed(); void exitAuthorPressed(); - void updateAuthor(); signals: void activeRowChanged(int); @@ -116,7 +118,7 @@ private: bool firstSearch; QList videos; - int skip; + int startIndex; int max; int m_activeRow; @@ -127,6 +129,8 @@ private: int hoveredRow; bool authorHovered; bool authorPressed; + + QMutex mutex; }; #endif