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

# khexedit/clipboardinterface.h

    00001 /***************************************************************************
    00002                           clipboardinterface.h  -  description
    00003                              -------------------
    00004     begin                : Sat Sep 13 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 CLIPBOARDINTERFACE_H
    00019 #define CLIPBOARDINTERFACE_H
    00020
    00021 namespace KHE
    00022 {
    00023
    00046 class ClipboardInterface
    00047 {
    00048   public: // slots
    00050     virtual void copy() = 0;
    00052     virtual void cut() = 0;
    00057     virtual void paste() = 0;
    00058
    00059   public: // signals
    00066     virtual void copyAvailable( bool Really ) = 0;
    00067 };
    00068
    00069
    00075 template<class T>
    00076 ClipboardInterface *clipboardInterface( T *t )
    00077 {
    00078   if( !t )
    00079     return 0;
    00080
    00081   return static_cast<ClipboardInterface*>( t->qt_cast("KHE::ClipboardInterface") );
    00082 }
    00083
    00084 }
    00085
    00086 #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:56 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003