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

interfaces

zoominterface.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           zoominterface.h  -  description
00003                              -------------------
00004     begin                : Fri Sep 12 2003
00005     copyright            : (C) 2003 by Friedrich W. H. Kossebau
00006     email                : Friedrich.W.H@Kossebau.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This library is free software; you can redistribute it and/or         *
00012  *   modify it under the terms of the GNU Library General Public           *
00013  *   License version 2 as published by the Free Software Foundation.       *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 
00018 #ifndef ZOOMINTERFACE_H
00019 #define ZOOMINTERFACE_H
00020 
00021 
00022 namespace KHE
00023 {
00024 
00035 class ZoomInterface
00036 {
00037   public:
00041     virtual void zoomIn( int PointInc ) = 0;
00045     virtual void zoomIn() = 0;
00049     virtual void zoomOut( int PointDec ) = 0;
00053     virtual void zoomOut() = 0;
00057     virtual void zoomTo( int PointSize ) = 0;
00059     virtual void unZoom() = 0;
00060 };
00061 
00062 
00068 template<class T>
00069 ZoomInterface *zoomInterface( T *t )
00070 {
00071   if( !t )
00072     return 0;
00073 
00074   return static_cast<ZoomInterface*>( t->qt_cast("KHE::ZoomInterface") );
00075 }
00076 
00077 }
00078 
00079 #endif

interfaces

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
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