undodcopinterface.cpp Source File (interfaces Library)

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

# undodcopinterface.cpp

    00001 #include "undodcopinterface.h"
    00002 #include "undointerface.h"
    00003
    00004 #include <dcopclient.h>
    00005 using namespace KTextEditor;
    00006
    00007 UndoDCOPInterface::UndoDCOPInterface( UndoInterface *Parent, const char *name)
    00008         : DCOPObject(name)
    00009 {
    00010         m_parent = Parent;
    00011 }
    00012
    00013 UndoDCOPInterface::~UndoDCOPInterface()
    00014 {
    00015
    00016 }
    00017
    00018 uint UndoDCOPInterface::undoInterfaceNumber ()
    00019 {
    00020         return m_parent->undoInterfaceNumber();
    00021 }
    00022 void UndoDCOPInterface::undo ()
    00023 {
    00024         m_parent->undo();
    00025 }
    00026 void UndoDCOPInterface::redo ()
    00027 {
    00028         m_parent->redo();
    00029 }
    00030 void UndoDCOPInterface::clearUndo ()
    00031 {
    00032         m_parent->clearUndo();
    00033 }
    00034 void UndoDCOPInterface::clearRedo ()
    00035 {
    00036         m_parent->clearRedo();
    00037 }
    00038 uint UndoDCOPInterface::undoCount ()
    00039 {
    00040         return m_parent->undoCount();
    00041 }
    00042 uint UndoDCOPInterface::redoCount ()
    00043 {
    00044         return m_parent->redoCount();
    00045 }
    00046 uint UndoDCOPInterface::undoSteps ()
    00047 {
    00048         return m_parent->undoSteps();
    00049 }
    00050 void UndoDCOPInterface::setUndoSteps ( uint steps )
    00051 {
    00052         m_parent->setUndoSteps(steps);
    00053 }
    00054 void UndoDCOPInterface::undoChanged ()
    00055 {
    00056         m_parent->undoChanged();
    00057 }

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:30:50 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001