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:
parent
dfd72523b1
commit
ce9ce6f94c
3 changed files with 0 additions and 21 deletions
16
toplevel.cpp
16
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();
|
||||
|
|
|
@ -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);
|
||||
|
|
4
utils.h
4
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue