• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

interfaces/ktexteditor

clipboarddcopinterface_skel.cpp

00001 /****************************************************************************
00002 **
00003 ** DCOP Skeleton generated by dcopidl2cpp from clipboarddcopinterface.kidl
00004 **
00005 ** WARNING! All changes made in this file will be lost!
00006 **
00007 *****************************************************************************/
00008 
00009 #include "./clipboarddcopinterface.h"
00010 
00011 #include <kdatastream.h>
00012 
00013 namespace KTextEditor {
00014 
00015 static const char* const ClipboardDCOPInterface_ftable[4][3] = {
00016     { "void", "copy()", "copy()" },
00017     { "void", "cut()", "cut()" },
00018     { "void", "paste()", "paste()" },
00019     { 0, 0, 0 }
00020 };
00021 static const int ClipboardDCOPInterface_ftable_hiddens[3] = {
00022     0,
00023     0,
00024     0,
00025 };
00026 
00027 bool ClipboardDCOPInterface::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
00028 {
00029     if ( fun == ClipboardDCOPInterface_ftable[0][1] ) { // void copy()
00030     replyType = ClipboardDCOPInterface_ftable[0][0]; 
00031     copy( );
00032     } else if ( fun == ClipboardDCOPInterface_ftable[1][1] ) { // void cut()
00033     replyType = ClipboardDCOPInterface_ftable[1][0]; 
00034     cut( );
00035     } else if ( fun == ClipboardDCOPInterface_ftable[2][1] ) { // void paste()
00036     replyType = ClipboardDCOPInterface_ftable[2][0]; 
00037     paste( );
00038     } else {
00039     return DCOPObject::process( fun, data, replyType, replyData );
00040     }
00041     return true;
00042 }
00043 
00044 QCStringList ClipboardDCOPInterface::interfaces()
00045 {
00046     QCStringList ifaces = DCOPObject::interfaces();
00047     ifaces += "KTextEditor::ClipboardDCOPInterface";
00048     return ifaces;
00049 }
00050 
00051 QCStringList ClipboardDCOPInterface::functions()
00052 {
00053     QCStringList funcs = DCOPObject::functions();
00054     for ( int i = 0; ClipboardDCOPInterface_ftable[i][2]; i++ ) {
00055     if (ClipboardDCOPInterface_ftable_hiddens[i])
00056         continue;
00057     QCString func = ClipboardDCOPInterface_ftable[i][0];
00058     func += ' ';
00059     func += ClipboardDCOPInterface_ftable[i][2];
00060     funcs << func;
00061     }
00062     return funcs;
00063 }
00064 
00065 } // namespace
00066 

interfaces/ktexteditor

Skip menu "interfaces/ktexteditor"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • 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
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
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