diff options
author | Sebastian Geerken <devnull@localhost> | 2013-03-05 14:28:34 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-03-05 14:28:34 +0100 |
commit | 09cbe1a36c6ca2762d2e49f173db7ee4fb683448 (patch) | |
tree | aaf322ad1388f2c8a507d1c6a51779c8dd025f24 /dw/iterator.cc | |
parent | 98465834b8b0e7c4a563e651a51befd2a2ab06ac (diff) | |
parent | e844f4119a6a5b144b18af4bcc841c816f575159 (diff) |
Merge with main repo.
Diffstat (limited to 'dw/iterator.cc')
-rw-r--r-- | dw/iterator.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dw/iterator.cc b/dw/iterator.cc index ccfc068b..c31c2706 100644 --- a/dw/iterator.cc +++ b/dw/iterator.cc @@ -37,7 +37,7 @@ Iterator::Iterator(Widget *widget, Content::Type mask, bool atEnd) this->mask = mask; } -Iterator::Iterator(Iterator &it): object::Object (), misc::Comparable () +Iterator::Iterator(Iterator &it): object::Comparable () { widget = it.widget; content = it.content; @@ -214,7 +214,7 @@ object::Object *EmptyIterator::clone () return new EmptyIterator (*this); } -int EmptyIterator::compareTo (misc::Comparable *other) +int EmptyIterator::compareTo (object::Comparable *other) { EmptyIterator *otherIt = (EmptyIterator*)other; @@ -266,7 +266,7 @@ TextIterator::TextIterator (TextIterator &it): Iterator (it) text = it.text; } -int TextIterator::compareTo (misc::Comparable *other) +int TextIterator::compareTo (object::Comparable *other) { TextIterator *otherIt = (TextIterator*)other; @@ -579,7 +579,7 @@ object::Object *DeepIterator::clone () return it; } -int DeepIterator::compareTo (misc::Comparable *other) +int DeepIterator::compareTo (object::Comparable *other) { DeepIterator *otherDeepIterator = (DeepIterator*)other; @@ -717,7 +717,7 @@ object::Object *CharIterator::clone() return cloned; } -int CharIterator::compareTo(misc::Comparable *other) +int CharIterator::compareTo(object::Comparable *other) { CharIterator *otherIt = (CharIterator*)other; int c = it->compareTo(otherIt->it); |