#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.
KDE 4.6 API Reference