File indexing completed on 2024-04-28 04:32:44
0001 /* 0002 SPDX-FileCopyrightText: 2005 Enrico Ros <eros.kde@email.it> 0003 SPDX-FileCopyrightText: 2005 Albert Astals Cid <aacid@kde.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #include "observer.h" 0009 0010 using namespace Okular; 0011 0012 DocumentObserver::DocumentObserver() 0013 : d(nullptr) 0014 { 0015 } 0016 0017 DocumentObserver::~DocumentObserver() 0018 { 0019 } 0020 0021 void DocumentObserver::notifySetup(const QVector<Okular::Page *> &, int) 0022 { 0023 } 0024 0025 void DocumentObserver::notifyViewportChanged(bool) 0026 { 0027 } 0028 0029 void DocumentObserver::notifyPageChanged(int, int) 0030 { 0031 } 0032 0033 void DocumentObserver::notifyContentsCleared(int) 0034 { 0035 } 0036 0037 void DocumentObserver::notifyVisibleRectsChanged() 0038 { 0039 } 0040 0041 void DocumentObserver::notifyZoom(int) 0042 { 0043 } 0044 0045 bool DocumentObserver::canUnloadPixmap(int) const 0046 { 0047 return true; 0048 } 0049 0050 void DocumentObserver::notifyCurrentPageChanged(int, int) 0051 { 0052 }