interfaces Library: zoominterface.h Source File (interfaces Library)

| # interfaces Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# zoominterface.h

    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

This file is part of the documentation for interfaces Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:34:57 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003