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

Kate

KateIndentScript Class Reference

#include <kateindentscript.h>

Inheritance diagram for KateIndentScript:

Inheritance graph
[legend]

List of all members.


Detailed Description

A specialized class for scripts that are of type KateScriptInformation::IndentationScript.

Definition at line 33 of file kateindentscript.h.


Public Member Functions

QPair< int, int > indent (KateView *view, const KTextEditor::Cursor &position, QChar typedCharacter, int indentWidth)
 KateIndentScript (const QString &url, const KateScriptInformation &information)
const QString & triggerCharacters ()

Constructor & Destructor Documentation

KateIndentScript::KateIndentScript ( const QString &  url,
const KateScriptInformation &  information 
)

This file is part of the KDE libraries Copyright (C) 2008 Paul Giannaros <paul@giannaros.org>.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) version 3.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Definition at line 27 of file kateindentscript.cpp.


Member Function Documentation

QPair< int, int > KateIndentScript::indent ( KateView *  view,
const KTextEditor::Cursor &  position,
QChar  typedCharacter,
int  indentWidth 
)

Returns a pair where the first value is the indent amount, and the second value is the alignment.

Definition at line 47 of file kateindentscript.cpp.

const QString & KateIndentScript::triggerCharacters (  ) 

Definition at line 32 of file kateindentscript.cpp.


The documentation for this class was generated from the following files:
  • kateindentscript.h
  • kateindentscript.cpp

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
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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