• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Kate

kateindentscript.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 #ifndef KATE_INDENT_SCRIPT_H
00020 #define KATE_INDENT_SCRIPT_H
00021 
00022 #include "katescript.h"
00023 #include "kateview.h"
00024 
00025 #include <QtCore/QPair>
00026 
00027 class KateScriptDocument;
00028 
00033 class KateIndentScript : public KateScript {
00034   public:
00035     KateIndentScript(const QString &url, const KateScriptInformation &information);
00036 
00037     const QString &triggerCharacters();
00038 
00043     QPair<int, int> indent(KateView* view, const KTextEditor::Cursor& position, QChar typedCharacter,
00044                            int indentWidth);
00045 
00046   private:
00047     QString m_triggerCharacters;
00048     bool m_triggerCharactersSet;
00049 };
00050 
00051 
00052 #endif
00053 
00054 // kate: space-indent on; indent-width 2; replace-tabs on;

Kate

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal