zoominterface.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
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.2.3.