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

KHexEdit

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                : kossebau@kde.org
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 KHE_ZOOMINTERFACE_H
00019 #define KHE_ZOOMINTERFACE_H
00020 
00021 #include <QtCore/QObject>
00022 
00023 namespace KHE
00024 {
00025 
00035 class ZoomInterface
00036 {
00037   public:
00038     virtual ~ZoomInterface() {}
00039 
00040   public:
00044     virtual void zoomIn( int PointInc ) = 0;
00048     virtual void zoomIn() = 0;
00052     virtual void zoomOut( int PointDec ) = 0;
00056     virtual void zoomOut() = 0;
00060     virtual void zoomTo( int PointSize ) = 0;
00062     virtual void unZoom() = 0;
00063 };
00064 
00065 
00070 template<class T>
00071 ZoomInterface *zoomInterface( T *t )
00072 {
00073   return t ? qobject_cast<KHE::ZoomInterface *>( t ) : 0;
00074 }
00075 
00076 }
00077 
00078 Q_DECLARE_INTERFACE( KHE::ZoomInterface, "org.kde.khe.zoominterface/1.0" )
00079 
00080 #endif

KHexEdit

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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