• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kviewshell

emptyRenderer.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // ***************************************************************************
00003 //
00004 // Copyright (C) 2005 by Wilfried Huss <Wilfried.Huss@gmx.at>
00005 //
00006 // This program is free software; you can redistribute it and/or modify
00007 // it under the terms of the GNU General Public License as published by
00008 // the Free Software Foundation; either version 2 of the License, or
00009 // (at your option) any later version.
00010 //
00011 // This program is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 // GNU General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU General Public License
00017 // along with this program; if not, write to the Free Software 
00018 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00019 // ***************************************************************************
00020 
00021 #ifndef _EMPTYRENDERER_H_
00022 #define _EMPTYRENDERER_H_
00023 
00024 #include "documentRenderer.h"
00025 
00026 class RenderedDocumentPage;
00027 
00028 
00029 class EmptyRenderer : public DocumentRenderer
00030 {
00031   Q_OBJECT
00032 
00033 public:
00034   EmptyRenderer(QWidget* parent);
00035 
00036   virtual bool setFile(const QString &, const KURL &) { return false; }
00037 
00038   void drawPage(double res, RenderedDocumentPage* page) { Q_UNUSED(res); Q_UNUSED(page); }
00039 };
00040 
00041 #endif

kviewshell

Skip menu "kviewshell"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kviewshell
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal