Commit graph

31 commits

Author SHA1 Message Date
Kevin Funk a53a2402ca clang-tidy: modernize-use-nullptr run
Semi-ACK'd by Albert :)
2017-09-06 00:19:48 +02:00
Lukáš Tinkl fd6a35486e port KUrl -> QUrl 2015-01-29 20:55:57 +01:00
Frederik Gladhorn 6c602bf0e7 Use categorized logging even more 2014-09-16 23:38:25 +02:00
Frederik Gladhorn 9d89739972 Use categorized logging 2014-09-16 23:24:36 +02:00
Frederik Gladhorn 83d3f1f6b7 Revert "Some more kDebug->qDebug"
Seems like kDebug doesn't spam the user, so this needs to use qCDebug.

This reverts commit 34fbdf8c85.
2014-09-11 02:03:46 +02:00
Frederik Gladhorn 34fbdf8c85 Some more kDebug->qDebug 2014-09-09 18:17:36 +02:00
Frederik Gladhorn 0ba233788c Use moc include style dictated by automoc
While it's generally not a great idea to include moc files at least this
compiles.
2014-08-09 00:21:03 +02:00
Frederik Gladhorn 75031eee7e Fix includes 2014-08-08 01:59:55 +02:00
Egor Matirov f98f55db9d Extend AudioPlayer so that it gives info about if something is playing at the moment or not
Reviewed by Jaydeep Solanki

REVIEW: 114019
2013-11-27 23:27:30 +01:00
Montel Laurent f9f65979f5 Normalize signals/slots 2011-07-31 21:22:04 +02:00
Pino Toscano 40d96b9cdd remove the mapping when the playback of a sound is done
svn path=/trunk/KDE/kdegraphics/okular/; revision=896747
2008-12-14 12:12:46 +00:00
Pino Toscano 1f43811f61 redirect all the debug output of core to the debug area
svn path=/trunk/KDE/kdegraphics/okular/; revision=763941
2008-01-20 16:39:21 +00:00
Pino Toscano 819037c6b6 SVN_SILENT clean a bit the debug output
svn path=/trunk/KDE/kdegraphics/okular/; revision=717498
2007-09-26 23:29:50 +00:00
Pino Toscano e8bad1f69d it seems phonon-xine can handle sound streams via data, so feel brave enough and enabling the embedded sounds code
svn path=/trunk/KDE/kdegraphics/okular/; revision=717456
2007-09-26 22:14:13 +00:00
Thiago Macieira 99a7d08c6d Remove use of k_funcinfo
svn path=/trunk/KDE/kdegraphics/okular/; revision=702588
2007-08-20 21:38:21 +00:00
Matthias Kretz 4e7fa038b4 adapt to phonon-Trolltech branch API changes
svn path=/trunk/KDE/kdegraphics/okular/; revision=698536
2007-08-10 09:43:33 +00:00
Pino Toscano 5150419e81 adapt the debug stuff to the new kdebug way:
- make the output looking more or less like before (using nospace() or removing the spaces)
- remove endl and '\n' at the end of debug outputs
- fixing the QDebug operator<<'s around
- isolate the debug area number of the core into a separate header, and apply it instead of the numbers found in textpage.cpp

svn path=/trunk/KDE/kdegraphics/okular/; revision=694667
2007-07-31 10:19:48 +00:00
Pino Toscano a07b2ca166 Properly build the url of the external sound to be played.
This makes okular able to play external sounds again :)

svn path=/trunk/KDE/kdegraphics/okular/; revision=686652
2007-07-11 22:20:35 +00:00
Pino Toscano f5c216b19c extract the private class of AudioPlayer out of the implementation, so the Document can store the url of the current document;
disable the playing of external sounds for remote (non-local) documents;
simple compile fix in the embedded sound paying code

svn path=/trunk/KDE/kdegraphics/okular/; revision=686133
2007-07-10 18:24:18 +00:00
Pino Toscano 106e96240c rename (almost) every ActionFoo class to FooAction
exception to this is the ActionDocumentAction, renamed to DocumentAction and whose id is DocAction

svn path=/trunk/KDE/kdegraphics/okular/; revision=660523
2007-05-02 22:50:27 +00:00
Pino Toscano 6d99240256 hopefully port to the new Phonon API
svn path=/trunk/KDE/kdegraphics/okular/; revision=660038
2007-05-01 11:25:32 +00:00
Stephan Binner d4940f5a56 fix compilation
svn path=/trunk/KDE/kdegraphics/okular/; revision=659939
2007-05-01 05:28:28 +00:00
Pino Toscano 5f21b15d99 Link -> Action renaming.
Step #2: Link -> Action for the action hierarchy, and for the ObjectRect type.

svn path=/trunk/KDE/kdegraphics/okular/; revision=656140
2007-04-20 12:37:12 +00:00
Pino Toscano f3e484082d Link -> Action renaming.
Step #1: link.(cpp|h) -> action.(cpp|h)

svn path=/trunk/KDE/kdegraphics/okular/; revision=656123
2007-04-20 11:26:05 +00:00
Albert Astals Cid 0d47b62715 krazy include order issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Pino Toscano 47dad5cac7 compile with the latest kdelibs
svn path=/trunk/playground/graphics/okular/; revision=630700
2007-02-06 00:53:24 +00:00
Pino Toscano 355645922b Make the playback of repeating sounds working (hopefully).
Add a way to stop all the playbacks of the AudioPlayer.

svn path=/trunk/playground/graphics/okular/; revision=630500
2007-02-05 15:26:05 +00:00
Pino Toscano 770079b736 SVN_SILENT forgot this one
svn path=/trunk/playground/graphics/okular/; revision=630429
2007-02-05 12:05:20 +00:00
Pino Toscano 1752a95053 SVN_SILENT PlayInfo -> PlayData
svn path=/trunk/playground/graphics/okular/; revision=630428
2007-02-05 12:02:53 +00:00
Pino Toscano ad1d23cc26 Honor the 'mix' flag in sounds, stopping the playing sounds if necessary.
svn path=/trunk/playground/graphics/okular/; revision=630424
2007-02-05 11:50:07 +00:00
Pino Toscano 1e7cb0b2eb First version of an audio player for okular, able to play the sounds in the documents.
At the moment is quite simple and works only for external sounds.
Activate the sound playing when processing links and when switching pages in presentation mode only.

svn path=/trunk/playground/graphics/okular/; revision=630315
2007-02-05 00:49:40 +00:00