• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

KTextEditor

Namespaces | Classes | Functions
KTextEditor Namespace Reference

Namespaces

 Search
 

Classes

class  AnnotationInterface
 
class  AnnotationModel
 
class  AnnotationViewInterface
 
class  Attribute
 
class  CodeCompletionInterface
 
class  CodeCompletionModel
 
class  CodeCompletionModel2
 
class  CodeCompletionModelControllerInterface
 
class  CodeCompletionModelControllerInterface2
 
class  CodeCompletionModelControllerInterface3
 
class  Command
 
class  CommandExtension
 
class  CommandInterface
 
class  ConfigInterface
 
class  ConfigPage
 
class  ContainerInterface
 
class  CoordinatesToCursorInterface
 
class  Cursor
 
class  Document
 
class  DocumentAdaptor
 
class  Editor
 
class  EditorChooser
 
class  Factory
 
class  HighlightInterface
 
class  LoadSaveFilterCheckPlugin
 
class  Mark
 
class  MarkInterface
 
class  MdiContainer
 
class  Message
 
class  MessageInterface
 
class  ModeInterface
 
class  ModificationInterface
 
class  MovingCursor
 
class  MovingInterface
 
class  MovingRange
 
class  MovingRangeFeedback
 
class  ParameterizedSessionConfigInterface
 
class  Plugin
 
class  Range
 
class  RangeCommand
 
class  RecoveryInterface
 
class  SearchInterface
 
class  SessionConfigInterface
 
class  SmartCursor
 
class  SmartCursorNotifier
 
class  SmartCursorWatcher
 
class  SmartInterface
 
class  SmartRange
 
class  SmartRangeNotifier
 
class  SmartRangeWatcher
 
class  TemplateInterface
 
class  TemplateInterface2
 
class  TemplateScript
 
class  TemplateScriptRegistrar
 
class  TextHintInterface
 
class  VariableInterface
 
class  View
 
class  ViewBarContainer
 

Functions

KTEXTEDITOR_EXPORT_DEPRECATED
Plugin * 
createPlugin (KService::Ptr service, QObject *parent)
 
KTEXTEDITOR_EXPORT Editor * editor (const char *libname)
 

Detailed Description

Namespace for the KDE Text Editor Interfaces.

These interfaces provide easy access to editor parts for the applications embedding them. At the moment they are at least supported by both the Kate Part and the Yzis Part.

Function Documentation

Plugin * KTextEditor::createPlugin ( KService::Ptr  service,
QObject *  parent 
)

Create a plugin represented by service with parent object parent.

To get the KService object you usually use KServiceTypeTrader. Example

KService::List list = KServiceTypeTrader::self()->query("KTextEditor/Plugin");
foreach(const KService::Ptr &service, list) {
// do something with service
}
Returns
the plugin or NULL if it could not be loaded

Definition at line 148 of file ktexteditor.cpp.

Editor * KTextEditor::editor ( const char *  libname)

Helper function for the EditorChooser.

Usually you do not have to use this function. Instead, use KTextEditor::EditorChooser::editor().

Parameters
libnamelibrary name, for example "katepart"
Returns
the Editor object on success, otherwise NULL
See also
KTextEditor::EditorChooser::editor()

Definition at line 174 of file ktexteditor.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KTextEditor

Skip menu "KTextEditor"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal