okular/core/observer.cpp
Pino Toscano 8a31e6f3f0 Allow the user to change the visible part(s) of the document by dragging the visible areas in the thumbnails, and to change the zoom of the document by Ctrl+wheel on them.
Patch by Diego R. Brogna, thanks a lot!

BUG: 135521

svn path=/trunk/KDE/kdegraphics/okular/; revision=685273
2007-07-08 14:25:08 +00:00

51 lines
1.2 KiB
C++

/***************************************************************************
* Copyright (C) 2005 by Enrico Ros <eros.kde@email.it> *
* Copyright (C) 2005 by Albert Astals Cid <tsdgeos@terra.es> *
* *
* 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;
DocumentObserver::DocumentObserver()
{
}
DocumentObserver::~DocumentObserver()
{
}
void DocumentObserver::notifySetup( const QVector< Okular::Page * >&, bool )
{
}
void DocumentObserver::notifyViewportChanged( bool )
{
}
void DocumentObserver::notifyPageChanged( int, int )
{
}
void DocumentObserver::notifyContentsCleared( int )
{
}
void DocumentObserver::notifyVisibleRectsChanged()
{
}
void DocumentObserver::notifyZoom( int )
{
}
bool DocumentObserver::canUnloadPixmap( int ) const
{
return true;
}