2021-05-24 07:25:56 +00:00
|
|
|
/*
|
|
|
|
SPDX-FileCopyrightText: 2005 Enrico Ros <eros.kde@email.it>
|
|
|
|
SPDX-FileCopyrightText: 2005 Albert Astals Cid <aacid@kde.org>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2006-12-05 08:53:26 +00:00
|
|
|
|
|
|
|
#include "observer.h"
|
|
|
|
|
|
|
|
using namespace Okular;
|
|
|
|
|
2007-03-18 17:14:36 +00:00
|
|
|
DocumentObserver::DocumentObserver()
|
2023-06-16 14:26:27 +00:00
|
|
|
: d(nullptr)
|
2007-03-18 17:14:36 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2006-12-05 08:53:26 +00:00
|
|
|
DocumentObserver::~DocumentObserver()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2007-09-09 10:50:36 +00:00
|
|
|
void DocumentObserver::notifySetup(const QVector<Okular::Page *> &, int)
|
2006-12-05 08:53:26 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void DocumentObserver::notifyViewportChanged(bool)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void DocumentObserver::notifyPageChanged(int, int)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void DocumentObserver::notifyContentsCleared(int)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void DocumentObserver::notifyVisibleRectsChanged()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2007-07-08 14:25:08 +00:00
|
|
|
void DocumentObserver::notifyZoom(int)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2006-12-05 08:53:26 +00:00
|
|
|
bool DocumentObserver::canUnloadPixmap(int) const
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
2012-08-16 15:37:39 +00:00
|
|
|
|
|
|
|
void DocumentObserver::notifyCurrentPageChanged(int, int)
|
|
|
|
{
|
|
|
|
}
|