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

interfaces/ktexteditor

  • interfaces
  • ktexteditor
undodcopinterface.cpp
1 #include "undodcopinterface.h"
2 #include "undointerface.h"
3 
4 #include <dcopclient.h>
5 using namespace KTextEditor;
6 
7 UndoDCOPInterface::UndoDCOPInterface( UndoInterface *Parent, const char *name)
8  : DCOPObject(name)
9 {
10  m_parent = Parent;
11 }
12 
13 UndoDCOPInterface::~UndoDCOPInterface()
14 {
15 
16 }
17 
18 uint UndoDCOPInterface::undoInterfaceNumber ()
19 {
20  return m_parent->undoInterfaceNumber();
21 }
22 void UndoDCOPInterface::undo ()
23 {
24  m_parent->undo();
25 }
26 void UndoDCOPInterface::redo ()
27 {
28  m_parent->redo();
29 }
30 void UndoDCOPInterface::clearUndo ()
31 {
32  m_parent->clearUndo();
33 }
34 void UndoDCOPInterface::clearRedo ()
35 {
36  m_parent->clearRedo();
37 }
38 uint UndoDCOPInterface::undoCount ()
39 {
40  return m_parent->undoCount();
41 }
42 uint UndoDCOPInterface::redoCount ()
43 {
44  return m_parent->redoCount();
45 }
46 uint UndoDCOPInterface::undoSteps ()
47 {
48  return m_parent->undoSteps();
49 }
50 void UndoDCOPInterface::setUndoSteps ( uint steps )
51 {
52  m_parent->setUndoSteps(steps);
53 }
54 void UndoDCOPInterface::undoChanged ()
55 {
56  m_parent->undoChanged();
57 }
KTextEditor::UndoDCOPInterface::~UndoDCOPInterface
virtual ~UndoDCOPInterface()
Destructor Cleans up the object.
Definition: undodcopinterface.cpp:13
KTextEditor::UndoDCOPInterface::UndoDCOPInterface
UndoDCOPInterface(UndoInterface *Parent, const char *name)
Construct a new interface object for the text editor.
Definition: undodcopinterface.cpp:7
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/ktexteditor

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

interfaces/ktexteditor

Skip menu "interfaces/ktexteditor"
  • 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
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for interfaces/ktexteditor by doxygen 1.9.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |