Remove unused typedefs in utils.h

There is no Const(Toplevel|Unmanaged|Deleted|Group)List used anywhere.
For ConstToplevelList there was a debug helper which was also unused.

REVIEW: 110196
This commit is contained in:
Martin Gräßlin 2013-04-26 09:11:44 +02:00
parent dfd72523b1
commit ce9ce6f94c
3 changed files with 0 additions and 21 deletions

View file

@ -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();

View file

@ -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);

View file

@ -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;