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

Kate

Defines | Functions

katetemplatehandler.cpp File Reference

#include <QtCore/QQueue>
#include <ktexteditor/movingcursor.h>
#include <ktexteditor/movingrange.h>
#include "katetemplatehandler.h"
#include "katedocument.h"
#include "kateview.h"
#include "kateconfig.h"
#include "katerenderer.h"
#include "kateundomanager.h"
#include "kateregexpsearch.h"
#include "kateglobal.h"
#include "script/katetemplatescript.h"
#include "script/katescriptmanager.h"
#include "katetemplatehandler.moc"
Include dependency graph for katetemplatehandler.cpp:

Go to the source code of this file.

Defines

#define ifDebug(x)

Functions

static bool cmp_moving_ranges (const KTextEditor::MovingRange *r1, const KTextEditor::MovingRange *r2)
static bool customContains (MovingRange *range, const Cursor &cursor)
static bool customContains (const KTextEditor::Range &range, const Cursor &cursor)
Attribute::Ptr getAttribute (QColor color, int alpha=230)

Define Documentation

#define ifDebug (   x)

Definition at line 40 of file katetemplatehandler.cpp.


Function Documentation

static bool cmp_moving_ranges ( const KTextEditor::MovingRange *  r1,
const KTextEditor::MovingRange *  r2 
) [static]

Definition at line 42 of file katetemplatehandler.cpp.

static bool customContains ( MovingRange *  range,
const Cursor &  cursor 
) [static]

just like Range::contains() but returns true when the cursor is at the end of the range

Definition at line 48 of file katetemplatehandler.cpp.

static bool customContains ( const KTextEditor::Range &  range,
const Cursor &  cursor 
) [static]

Definition at line 53 of file katetemplatehandler.cpp.

Attribute::Ptr getAttribute ( QColor  color,
int  alpha = 230 
)

Returns an attribute with color as background with alpha alpha value.

Definition at line 405 of file katetemplatehandler.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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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