• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • interfaces
 

interfaces

  • interfaces
  • tdetexteditor
undodcopinterface.cpp
1#include "undodcopinterface.h"
2#include "undointerface.h"
3
4#include <dcopclient.h>
5using namespace KTextEditor;
6
7UndoDCOPInterface::UndoDCOPInterface( UndoInterface *Parent, const char *name)
8 : DCOPObject(name)
9{
10 m_parent = Parent;
11}
12
13UndoDCOPInterface::~UndoDCOPInterface()
14{
15
16}
17
18uint UndoDCOPInterface::undoInterfaceNumber ()
19{
20 return m_parent->undoInterfaceNumber();
21}
22void UndoDCOPInterface::undo ()
23{
24 m_parent->undo();
25}
26void UndoDCOPInterface::redo ()
27{
28 m_parent->redo();
29}
30void UndoDCOPInterface::clearUndo ()
31{
32 m_parent->clearUndo();
33}
34void UndoDCOPInterface::clearRedo ()
35{
36 m_parent->clearRedo();
37}
38uint UndoDCOPInterface::undoCount ()
39{
40 return m_parent->undoCount();
41}
42uint UndoDCOPInterface::redoCount ()
43{
44 return m_parent->redoCount();
45}
46uint UndoDCOPInterface::undoSteps ()
47{
48 return m_parent->undoSteps();
49}
50void UndoDCOPInterface::setUndoSteps ( uint steps )
51{
52 m_parent->setUndoSteps(steps);
53}
54void UndoDCOPInterface::undoChanged ()
55{
56 m_parent->undoChanged();
57}
DCOPObject
KTextEditor::UndoDCOPInterface::~UndoDCOPInterface
virtual ~UndoDCOPInterface()
Destructor Cleans up the object.
Definition: undodcopinterface.cpp:13
KTextEditor::UndoInterface
This is an interface to undo functionality of a Document.
Definition: undointerface.h:33
KTextEditor::UndoInterface::undoSteps
virtual unsigned int undoSteps() const =0
returns the maximum of undo steps possible, 0 means no limit !
KTextEditor
KTextEditor is KDE's standard text editing KPart interface.
Definition: blockselectiondcopinterface.h:10

interfaces

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

interfaces

Skip menu "interfaces"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for interfaces by doxygen 1.9.4
This website is maintained by Timothy Pearson.