Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
interfaces/ktexteditor
interfaces/ktexteditor
interfaces
ktexteditor
selectioninterfaceext.h
1
/* This file is part of the KDE project
2
Copyright (C) 2002 Anders Lund <anders@alweb.dk>
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
License as published by the Free Software Foundation; either
7
version 2 of the License, or (at your option) any later version.
8
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Library General Public License for more details.
13
14
You should have received a copy of the GNU Library General Public License
15
along with this library; see the file COPYING.LIB. If not, write to
16
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
Boston, MA 02110-1301, USA.
18
19
$Id$
20
*/
21
22
#ifndef __ktexteditor_selectioninterface_ext_h__
23
#define __ktexteditor_selectioninterface_ext_h__
24
25
#include <kdelibs_export.h>
26
27
class
TQCString;
28
29
namespace
KTextEditor
30
{
31
38
class
KTEXTEDITOR_EXPORT
SelectionInterfaceExt
39
{
40
friend
class
PrivateSelectionInterfaceExt;
41
42
public
:
43
SelectionInterfaceExt
();
44
virtual
~
SelectionInterfaceExt
();
45
46
unsigned
int
selectionInterfaceExtNumber ()
const
;
47
48
protected
:
49
void
setSelectionInterfaceExtDCOPSuffix (
const
TQCString &suffix);
50
51
public
:
53
virtual
int
selStartLine()=0;
55
virtual
int
selStartCol()=0;
57
virtual
int
selEndLine()=0;
59
virtual
int
selEndCol()=0;
60
61
private
:
62
class
PrivateSelectionInterfaceExt *d;
63
static
unsigned
int
globalSelectionInterfaceExtNumber;
64
unsigned
int
mySelectionInterfaceExtNumber;
65
};
66
67
class
Document
;
68
class
View
;
69
70
KTEXTEDITOR_EXPORT
SelectionInterfaceExt
*selectionInterfaceExt (
Document
*doc);
71
KTEXTEDITOR_EXPORT
SelectionInterfaceExt
*selectionInterfaceExt (
View
*view);
72
73
}
// namespace KTextEditor
74
#endif
KTextEditor::Document
The main class representing a text document.
Definition:
document.h:31
KTextEditor::SelectionInterfaceExt
Provide access to seleciton positions.
Definition:
selectioninterfaceext.h:38
KTextEditor
KTextEditor is KDE's standard text editing KPart interface.
Definition:
blockselectiondcopinterface.h:9
KTextEditor::View
The View class represents a single view of a Document .
Definition:
view.h:32
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