Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
interfaces/tdetexteditor
interfaces/tdetexteditor
interfaces
tdetexteditor
codecompletioninterface.cpp
1
2
#include "codecompletioninterface.h"
3
#include "view.h"
4
5
using namespace
KTextEditor
;
6
7
namespace
KTextEditor
8
{
9
class
PrivateCodeCompletionInterface
10
{
11
public
:
12
PrivateCodeCompletionInterface() {}
13
~PrivateCodeCompletionInterface(){}
14
15
};
16
}
17
18
unsigned
int
CodeCompletionInterface::globalCodeCompletionInterfaceNumber = 0;
19
20
CodeCompletionInterface::CodeCompletionInterface()
21
{
22
globalCodeCompletionInterfaceNumber++;
23
myCodeCompletionInterfaceNumber = globalCodeCompletionInterfaceNumber++;
24
25
d =
new
PrivateCodeCompletionInterface();
26
}
27
28
CodeCompletionInterface::~CodeCompletionInterface()
29
{
30
delete
d;
31
}
32
33
unsigned
int
CodeCompletionInterface::codeCompletionInterfaceNumber ()
const
34
{
35
return
myCodeCompletionInterfaceNumber;
36
}
37
38
void
CodeCompletionInterface::setCodeCompletionInterfaceDCOPSuffix (
const
TQCString &
/*suffix*/
)
39
{
40
//d->interface->setObjId ("CodeCompletionInterface#"+suffix);
41
}
42
43
CodeCompletionInterface
*KTextEditor::codeCompletionInterface (
View
*view)
44
{
45
if
(!view)
46
return
0;
47
48
return
dynamic_cast<
KTextEditor::CodeCompletionInterface
*
>
(view);
49
}
50
51
KTextEditor::CodeCompletionInterface
This is an interface for the KTextEditor::View class.
Definition:
codecompletioninterface.h:87
KTextEditor::View
The View class represents a single view of a Document .
Definition:
view.h:33
KTextEditor
KTextEditor is KDE's standard text editing KPart interface.
Definition:
blockselectiondcopinterface.h:10
interfaces/tdetexteditor
Skip menu "interfaces/tdetexteditor"
Main Page
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
interfaces/tdetexteditor
Skip menu "interfaces/tdetexteditor"
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