KateSuperRangeList Class Reference
Inheritance diagram for KateSuperRangeList:

Detailed Description
Definition at line 339 of file katesupercursor.h.
Constructor & Destructor Documentation
| KateSuperRangeList::KateSuperRangeList | ( | bool | autoManage = true, |
|
| QObject * | parent = 0L, |
|||
| const char * | name = 0L | |||
| ) |
| 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 551 of file katesupercursor.cpp.
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 560 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 574 of file katesupercursor.cpp.
| void KateSuperRangeList::clear | ( | ) | [virtual] |
Override to emit rangeEliminated() signals.
Reimplemented from QPtrList< KateSuperRange >.
Definition at line 566 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 585 of file katesupercursor.cpp.
| void KateSuperRangeList::setAutoManage | ( | bool | autoManage | ) |
| 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 596 of file katesupercursor.cpp.
| bool KateSuperRangeList::rangesInclude | ( | const KateTextCursor & | cursor | ) |
- Return values:
-
true if one of the ranges in the list includes cursor
- Return values:
-
false otherwise
Definition at line 622 of file katesupercursor.cpp.
| 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 669 of file katesupercursor.cpp.
| KateSuperCursor * KateSuperRangeList::nextBoundary | ( | ) |
- Returns:
- the next boundary, or 0L if there are no more.
Definition at line 691 of file katesupercursor.cpp.
| KateSuperCursor * KateSuperRangeList::currentBoundary | ( | ) |
| 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.
| void KateSuperRangeList::listEmpty | ( | ) | [signal] |
There are no ranges left.
| void KateSuperRangeList::tagRange | ( | KateSuperRange * | range | ) | [signal] |
Connected to all ranges if connect()ed.
| int KateSuperRangeList::compareItems | ( | QPtrCollection::Item | item1, | |
| QPtrCollection::Item | item2 | |||
| ) | [protected, virtual] |
internal reimplementation
Reimplemented from QPtrList< KateSuperRange >.
Definition at line 709 of file katesupercursor.cpp.
| QPtrCollection::Item KateSuperRangeList::newItem | ( | QPtrCollection::Item | d | ) | [protected, virtual] |
The documentation for this class was generated from the following files:

