https://bugs.kde.org/show_bug.cgi?id=328125

--- Comment #4 from Saheb Preet Singh <saheb.pr...@gmail.com> ---
(In reply to comment #3)
> hi,
> 
> i just tried to implement the button and its working now. Here is a short
> explanation of what i did :-
> 
> Added a new action in part.cpp for play pause button.
> Enabled the action in presentationwidget.cpp and added it to the topBar.
> Finally connected the toggled signal to a new slot.
> In that new slot when the signal is toggled on m_nextPageTimer is started
> and its singleShot is set to false, so that it starts playing the page.
> when the signal is toggled off m_nextPageTimer is stopped and the singleShot
> is set to true.

Is it the correct way of implementation??? 

Also how will i get the play and pause button icon??

Sorry for the previous message, was posted incomplete by mistake.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Okular-devel mailing list
Okular-devel@kde.org
https://mail.kde.org/mailman/listinfo/okular-devel

Reply via email to