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

interfaces

  • interfaces
  • tdetexteditor
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 __tdetexteditor_selectioninterface_ext_h__
23 #define __tdetexteditor_selectioninterface_ext_h__
24 
25 #include <tdelibs_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:32
KTextEditor::SelectionInterfaceExt
Provide access to seleciton positions.
Definition: selectioninterfaceext.h:39
KTextEditor::SelectionInterfaceExt::selStartCol
virtual int selStartCol()=0
The selection start col.
KTextEditor::SelectionInterfaceExt::selStartLine
virtual int selStartLine()=0
The selection start line number.
KTextEditor::SelectionInterfaceExt::selEndCol
virtual int selEndCol()=0
The selection end col.
KTextEditor::SelectionInterfaceExt::selEndLine
virtual int selEndLine()=0
The selection end line.
KTextEditor::View
The View class represents a single view of a Document .
Definition: tdetexteditor/view.h:33
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.1
This website is maintained by Timothy Pearson.