observer.cpp 1.29 KB
Newer Older
1 2
/***************************************************************************
 *   Copyright (C) 2005 by Enrico Ros <eros.kde@email.it>                  *
Albert Astals Cid's avatar
Albert Astals Cid committed
3
 *   Copyright (C) 2005 by Albert Astals Cid <aacid@kde.org>               *
4 5 6 7 8 9 10 11 12 13 14
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 ***************************************************************************/

#include "observer.h"

using namespace Okular;

15 16 17 18
DocumentObserver::DocumentObserver()
{
}

19 20 21 22
DocumentObserver::~DocumentObserver()
{
}

23
void DocumentObserver::notifySetup( const QVector< Okular::Page * >&, int )
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
{
}

void DocumentObserver::notifyViewportChanged( bool )
{
}

void DocumentObserver::notifyPageChanged( int, int )
{
}

void DocumentObserver::notifyContentsCleared( int )
{
}

void DocumentObserver::notifyVisibleRectsChanged()
{
}

43 44 45 46
void DocumentObserver::notifyZoom( int )
{
}

47 48 49 50
bool DocumentObserver::canUnloadPixmap( int ) const
{
    return true;
}
51 52 53 54

void DocumentObserver::notifyCurrentPageChanged( int, int )
{
}