• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • interfaces
 

interfaces

  • interfaces
  • khexedit
zoominterface.h
1 /***************************************************************************
2  zoominterface.h - description
3  -------------------
4  begin : Fri Sep 12 2003
5  copyright : (C) 2003 by Friedrich W. H. Kossebau
6  email : Friedrich.W.H@Kossebau.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This library is free software; you can redistribute it and/or *
12  * modify it under the terms of the GNU Library General Public *
13  * License version 2 as published by the Free Software Foundation. *
14  * *
15  ***************************************************************************/
16 
17 
18 #ifndef ZOOMINTERFACE_H
19 #define ZOOMINTERFACE_H
20 
21 
22 namespace KHE
23 {
24 
35 class ZoomInterface
36 {
37  public:
41  virtual void zoomIn( int PointInc ) = 0;
45  virtual void zoomIn() = 0;
49  virtual void zoomOut( int PointDec ) = 0;
53  virtual void zoomOut() = 0;
57  virtual void zoomTo( int PointSize ) = 0;
59  virtual void unZoom() = 0;
60 };
61 
62 
68 template<class T>
69 ZoomInterface *zoomInterface( T *t )
70 {
71  if( !t )
72  return 0;
73 
74  return ::tqqt_cast<KHE::ZoomInterface*>( t );
75 }
76 
77 }
78 
79 #endif
KHE::ZoomInterface::zoomOut
virtual void zoomOut()=0
decreases the display size by an arbitrary value, usually 1 font point
KHE::ZoomInterface::zoomTo
virtual void zoomTo(int PointSize)=0
sets the display size
KHE::ZoomInterface::unZoom
virtual void unZoom()=0
resets the display to the default size
KHE::zoomInterface
ZoomInterface * zoomInterface(T *t)
tries to get the zoom interface of t
Definition: zoominterface.h:69
KHE
KHE (short for KHexEdit) is KDE's namespace for all things related to the viewing/editing of bytes...
Definition: byteseditinterface.h:32
KHE::ZoomInterface
A simple interface for zooming.
Definition: zoominterface.h:35
KHE::ZoomInterface::zoomIn
virtual void zoomIn()=0
increases the display size by an arbitrary value, usually 1 font point

interfaces

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

interfaces

Skip menu "interfaces"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for interfaces by doxygen 1.8.8
This website is maintained by Timothy Pearson.