Summary: | [PATCH] Speak selected page viewer text. | ||
---|---|---|---|
Product: | [Applications] akregator | Reporter: | KDEfanboy <KDE.fanboy> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
KDEfanboy
2006-08-16 17:43:31 UTC
SVN commit 573838 by osterfeld: speak selected pageviewer text if the speak action is executed while a pageviewer is shown. Patch by "KDEFanBoy" BUG: 132505 M +4 -1 akregator_view.cpp --- branches/KDE/3.5/kdepim/akregator/src/akregator_view.cpp #573837:573838 @@ -1394,7 +1394,10 @@ } else { - // TODO: read selected page viewer + QString selectedText = static_cast<PageViewer *>(m_currentFrame->part())->selectedText(); + + if (!selectedText.isEmpty()) + SpeechClient::self()->slotSpeak(selectedText, "en"); } } |