diff --git a/toplevel.cpp b/toplevel.cpp index 15ad1a0cd2..ce9cdbf5cc 100644 --- a/toplevel.cpp +++ b/toplevel.cpp @@ -91,22 +91,6 @@ QDebug& operator<<(QDebug& stream, const ToplevelList& list) return stream; } -QDebug& operator<<(QDebug& stream, const ConstToplevelList& list) -{ - stream << "LIST:("; - bool first = true; - for (ConstToplevelList::ConstIterator it = list.begin(); - it != list.end(); - ++it) { - if (!first) - stream << ":"; - first = false; - stream << *it; - } - stream << ")"; - return stream; -} - QRect Toplevel::decorationRect() const { return rect(); diff --git a/toplevel.h b/toplevel.h index 88bbb73b2c..4b8bfd8215 100644 --- a/toplevel.h +++ b/toplevel.h @@ -666,7 +666,6 @@ inline const ClientMachine *Toplevel::clientMachine() const QDebug& operator<<(QDebug& stream, const Toplevel*); QDebug& operator<<(QDebug& stream, const ToplevelList&); -QDebug& operator<<(QDebug& stream, const ConstToplevelList&); KWIN_COMPARE_PREDICATE(WindowMatchPredicate, Toplevel, Window, cl->window() == value); KWIN_COMPARE_PREDICATE(FrameIdMatchPredicate, Toplevel, Window, cl->frameId() == value); diff --git a/utils.h b/utils.h index 1ec8fa5e00..2155897c58 100644 --- a/utils.h +++ b/utils.h @@ -75,16 +75,12 @@ class Group; class Options; typedef QList< Toplevel* > ToplevelList; -typedef QList< const Toplevel* > ConstToplevelList; typedef QList< Client* > ClientList; typedef QList< const Client* > ConstClientList; typedef QList< Unmanaged* > UnmanagedList; -typedef QList< const Unmanaged* > ConstUnmanagedList; typedef QList< Deleted* > DeletedList; -typedef QList< const Deleted* > ConstDeletedList; typedef QList< Group* > GroupList; -typedef QList< const Group* > ConstGroupList; extern Options* options;