• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.8.3 API Reference
  • KDE Home
  • Contact Us
 

KHexEdit

clipboardinterface.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                           clipboardinterface.h  -  description
00003                              -------------------
00004     begin                : Sat Sep 13 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_CLIPBOARDINTERFACE_H
00019 #define KHE_CLIPBOARDINTERFACE_H
00020 
00021 #include <QtCore/QObject>
00022 
00023 namespace KHE
00024 {
00025 
00047 class ClipboardInterface
00048 {
00049   public:
00050     virtual ~ClipboardInterface() {}
00051 
00052   public: // slots
00054     virtual void copy() = 0;
00056     virtual void cut() = 0;
00061     virtual void paste() = 0;
00062 
00063   public: // signals
00070     virtual void copyAvailable( bool Really ) = 0;
00071 };
00072 
00073 
00078 template<class T>
00079 ClipboardInterface *clipboardInterface( T *t )
00080 {
00081   return t ? qobject_cast<KHE::ClipboardInterface *>( t ) : 0;
00082 }
00083 
00084 }
00085 
00086 Q_DECLARE_INTERFACE( KHE::ClipboardInterface, "org.kde.khe.clipboardinterface/1.0" )
00087 
00088 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu May 10 2012 21:00:54 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHexEdit

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

kdelibs-4.8.3 API Reference

Skip menu "kdelibs-4.8.3 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal