mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 10:52:53 +00:00
okular: implement the slot used by TTS to display errors
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
53dfe33120
commit
156f9cf306
2 changed files with 6 additions and 0 deletions
|
@ -869,6 +869,11 @@ void PageView::selectAll()
|
|||
}
|
||||
}
|
||||
|
||||
void PageView::errorMessage(const QString &message)
|
||||
{
|
||||
displayMessage(message, QString(), PageViewMessage::Error);
|
||||
}
|
||||
|
||||
//BEGIN DocumentObserver inherited methods
|
||||
void PageView::notifySetup( const QVector< Okular::Page * > & pageSet, int setupFlags )
|
||||
{
|
||||
|
|
|
@ -115,6 +115,7 @@ Q_OBJECT
|
|||
public slots:
|
||||
void copyTextSelection() const;
|
||||
void selectAll();
|
||||
void errorMessage(const QString &message);
|
||||
|
||||
void openAnnotationWindow( Okular::Annotation *annotation, int pageNumber );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue