• 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&#39;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
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for interfaces by doxygen 1.8.13
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |