mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-02 14:14:10 +00:00
add a private slot for hooks on config change
svn path=/trunk/KDE/kdegraphics/okular/; revision=803946
This commit is contained in:
parent
51e58cc949
commit
e13e74db92
|
@ -741,6 +741,10 @@ void DocumentPrivate::refreshPixmaps( int pageNumber )
|
|||
m_parent->requestPixmaps( requestedPixmaps, Okular::Document::NoOption );
|
||||
}
|
||||
|
||||
void DocumentPrivate::_o_configChanged()
|
||||
{
|
||||
}
|
||||
|
||||
void DocumentPrivate::doContinueNextMatchSearch(void *pagesToNotifySet, void * theMatch, int currentPage, int searchID, const QString & text, int theCaseSensitivity, bool moveViewport, const QColor & color, bool noDialogs, int donePages)
|
||||
{
|
||||
RegularAreaRect * match = static_cast<RegularAreaRect *>(theMatch);
|
||||
|
@ -1209,6 +1213,7 @@ Document::Document( QWidget *widget )
|
|||
|
||||
connect( PageController::self(), SIGNAL( rotationFinished( int ) ),
|
||||
this, SLOT( rotationFinished( int ) ) );
|
||||
connect( Settings::self(), SIGNAL( configChanged() ), this, SLOT( _o_configChanged() ) );
|
||||
|
||||
qRegisterMetaType<Okular::FontInfo>();
|
||||
}
|
||||
|
|
|
@ -676,6 +676,7 @@ class OKULAR_EXPORT Document : public QObject
|
|||
Q_PRIVATE_SLOT( d, void fontReadingGotFont( const Okular::FontInfo& font ) )
|
||||
Q_PRIVATE_SLOT( d, void slotGeneratorConfigChanged( const QString& ) )
|
||||
Q_PRIVATE_SLOT( d, void refreshPixmaps( int ) )
|
||||
Q_PRIVATE_SLOT( d, void _o_configChanged() )
|
||||
|
||||
// search thread simulators
|
||||
Q_PRIVATE_SLOT( d, void doContinueNextMatchSearch(void *pagesToNotifySet, void * match, int currentPage, int searchID, const QString & text, int caseSensitivity, bool moveViewport, const QColor & color, bool noDialogs, int donePages) )
|
||||
|
|
|
@ -111,6 +111,7 @@ class DocumentPrivate
|
|||
void fontReadingGotFont( const Okular::FontInfo& font );
|
||||
void slotGeneratorConfigChanged( const QString& );
|
||||
void refreshPixmaps( int );
|
||||
void _o_configChanged();
|
||||
void doContinueNextMatchSearch(void *pagesToNotifySet, void * match, int currentPage, int searchID, const QString & text, int caseSensitivity, bool moveViewport, const QColor & color, bool noDialogs, int donePages);
|
||||
void doContinuePrevMatchSearch(void *pagesToNotifySet, void * theMatch, int currentPage, int searchID, const QString & text, int theCaseSensitivity, bool moveViewport, const QColor & color, bool noDialogs, int donePages);
|
||||
void doContinueAllDocumentSearch(void *pagesToNotifySet, void *pageMatchesMap, int currentPage, int searchID, const QString & text, int caseSensitivity, const QColor & color);
|
||||
|
|
Loading…
Reference in a new issue