Kate
KateSuperRangeList Class Reference
#include <katesupercursor.h>

Detailed Description
Definition at line 339 of file katesupercursor.h.
Constructor & Destructor Documentation
| KateSuperRangeList::KateSuperRangeList | ( | const QPtrList< KateSuperRange > & | rangeList, | |
| QObject * | parent = 0L, |
|||
| const char * | name = 0L | |||
| ) |
Semi-copy constructor.
Does not copy auto-manage value, as that would make it too easy to perform double-deletions.
Also, does not connect signals and slots to save time, as this is mainly used by the document itself while drawing (call connectAll() to re-constitute)
Definition at line 556 of file katesupercursor.cpp.
| virtual KateSuperRangeList::~KateSuperRangeList | ( | ) | [inline, virtual] |
Definition at line 360 of file katesupercursor.h.
Member Function Documentation
| void KateSuperRangeList::appendList | ( | const QPtrList< KateSuperRange > & | rangeList | ) |
Append another list.
If this object was created by the semi-copy constructor, it may not connect items (unless connectAll() has already been called), call connectAll().
Definition at line 565 of file katesupercursor.cpp.
| bool KateSuperRangeList::autoManage | ( | ) | const |
Automanage is a combination of autodeleting of the objects and removing of any eliminated() ranges.
Definition at line 590 of file katesupercursor.cpp.
| void KateSuperRangeList::clear | ( | ) | [virtual] |
Override to emit rangeEliminated() signals.
Reimplemented from QPtrList< KateSuperRange >.
Definition at line 571 of file katesupercursor.cpp.
| int KateSuperRangeList::compareItems | ( | QPtrCollection::Item | item1, | |
| QPtrCollection::Item | item2 | |||
| ) | [protected, virtual] |
internal reimplementation
Reimplemented from QPtrList< KateSuperRange >.
Definition at line 714 of file katesupercursor.cpp.
| void KateSuperRangeList::connectAll | ( | ) |
Connect items that are not connected.
This only needs to be called once, and only if this was created with the semi-copy constructor.
Definition at line 579 of file katesupercursor.cpp.
| KateSuperCursor * KateSuperRangeList::currentBoundary | ( | ) |
| KateSuperCursor * KateSuperRangeList::firstBoundary | ( | const KateTextCursor * | start = 0L |
) |
Construct a list of boundaries, and return the first, or 0L if there are none.
If start is defined, the first boundary returned will be at or after start.
- Returns:
- the first boundary location
Definition at line 674 of file katesupercursor.cpp.
| void KateSuperRangeList::listEmpty | ( | ) | [signal] |
There are no ranges left.
| QPtrCollection::Item KateSuperRangeList::newItem | ( | QPtrCollection::Item | d | ) | [protected, virtual] |
| KateSuperCursor * KateSuperRangeList::nextBoundary | ( | ) |
- Returns:
- the next boundary, or 0L if there are no more.
Definition at line 696 of file katesupercursor.cpp.
| void KateSuperRangeList::rangeEliminated | ( | KateSuperRange * | range | ) | [signal] |
The range now contains no characters (ie.
the start and end cursors are the same). If autoManage() is true, the range will be deleted after the signal has processed.
| bool KateSuperRangeList::rangesInclude | ( | const KateTextCursor & | cursor | ) |
- Return values:
-
true if one of the ranges in the list includes cursorfalse otherwise
Definition at line 627 of file katesupercursor.cpp.
| QPtrList< KateSuperRange > KateSuperRangeList::rangesIncluding | ( | uint | line | ) |
Definition at line 614 of file katesupercursor.cpp.
| QPtrList< KateSuperRange > KateSuperRangeList::rangesIncluding | ( | const KateTextCursor & | cursor | ) |
This is just a straight-forward list so that there is no confusion about whether this list should be auto-managed (ie.
it shouldn't, to avoid double deletions).
Definition at line 601 of file katesupercursor.cpp.
| void KateSuperRangeList::setAutoManage | ( | bool | autoManage | ) |
| void KateSuperRangeList::tagRange | ( | KateSuperRange * | range | ) | [signal] |
Connected to all ranges if connect()ed.
The documentation for this class was generated from the following files:
KDE 3.5 API Reference