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

KTextEditor

Classes
Plugin Extension Interfaces
Collaboration diagram for Plugin Extension Interfaces:

Classes

class  KTextEditor::SessionConfigInterface
 

Detailed Description

A KTextEditor Plugin can use extension interfaces, but it does not need to.

So as a KTextEditor implementator you have to cast the Plugin to the desired interface and then check, whether the cast returns NULL or the valid interface.

Use qobject_cast to cast a Plugin plugin into the DesiredExtensionInterface, example:

// plugin is of type KTextEditor::Plugin*
KTextEditor::DesiredExtensionInterface *iface =
qobject_cast<KTextEditor::DesiredExtensionInterface*>( plugin );
if( iface ) {
// the implementation supports the interface
// do stuff
}
else
{
// the implementation does not support the interface
}
See also
KTextEditor::Plugin

The following classes are a list of all available Plugin extension interfaces.

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