21 for(
QList<T>* currentList : listOfLists)
22 if(currentList->contains(element))
36 differenceList << entry;
38 return differenceList;
41 template<
typename T,
typename F>
47 for(F* item : qAsConst(fromList))
48 toList.
append(
static_cast<T*
>(item));
The List class is a collection of static functions pertaining to lists.
Definition qx-list.h:14
static QList< T > * subListThatContains(T element, QList< QList< T > * > listOfLists)
Definition qx-list.h:18
QList< T * > static_pointer_cast(const QList< F * > fromList)
Definition qx-list.h:43
static QList< T > difference(QList< T > &listA, QList< T > &listB)
Definition qx-list.h:28
Specifies that a type can be statically cast to another type.
Definition qx-concepts.h:509
The Qx namespace is the main namespace through which all non-global functionality of the Qx library i...
Definition qx-processwaiter.cpp:5
void append(QList< T > &&value)
bool contains(const AT &value) const const
void reserve(qsizetype size)
qsizetype size() const const
The qx-concepts header file provides a library of general purpose concepts as an extension of the sta...