Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
interfaces
interfaces
interfaces
tdetexteditor
editdcopinterface.cpp
1
#include "editdcopinterface.h"
2
#include "editinterface.h"
3
4
#include <dcopclient.h>
5
using namespace
KTextEditor;
6
7
EditDCOPInterface::EditDCOPInterface
(
EditInterface
*Parent,
const
char
*name)
8
:
DCOPObject
(name)
9
{
10
m_parent = Parent;
11
}
12
13
EditDCOPInterface::~EditDCOPInterface
()
14
{
15
16
}
17
18
TQString
EditDCOPInterface::text
()
19
{
20
return
m_parent->
text
();
21
}
22
23
TQString
EditDCOPInterface::textLine
( uint line )
24
{
25
return
m_parent->
textLine
(line);
26
}
27
28
int
EditDCOPInterface::numLines
()
29
{
30
return
m_parent->
numLines
();
31
}
32
33
int
EditDCOPInterface::length
()
34
{
35
return
m_parent->
length
();
36
}
37
38
void
EditDCOPInterface::setText
(
const
TQString &text )
39
{
40
m_parent->
setText
(text);
41
}
42
43
bool
EditDCOPInterface::insertText
( uint line, uint col,
const
TQString &text )
44
{
45
return
m_parent->
insertText
( line, col, text);
46
}
47
48
bool
EditDCOPInterface::removeText
( uint startLine, uint startCol, uint endLine, uint endCol )
49
{
50
return
m_parent->
removeText
( startLine, startCol, endLine, endCol);
51
}
52
53
bool
EditDCOPInterface::insertLine
( uint line,
const
TQString &text )
54
{
55
return
m_parent->
insertLine
( line, text);
56
}
57
58
bool
EditDCOPInterface::removeLine
( uint line )
59
{
60
return
m_parent->
removeLine
( line );
61
}
interfaces
Skip menu "interfaces"
Main Page
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
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