Changeset View
Changeset View
Standalone View
Standalone View
debuggers/common/tests/debuggees/qlistcontainer.cpp
Show All 33 Lines | 32 | { | |||
---|---|---|---|---|---|
34 | intList << 10 << 20; | 34 | intList << 10 << 20; | ||
35 | intList << 30; | 35 | intList << 30; | ||
36 | 36 | | |||
37 | Container<QString> stringList; | 37 | Container<QString> stringList; | ||
38 | stringList << "a" << "bc"; | 38 | stringList << "a" << "bc"; | ||
39 | stringList << "d"; | 39 | stringList << "d"; | ||
40 | 40 | | |||
41 | Container<A> structList; | 41 | Container<A> structList; | ||
42 | structList << A(QStringLiteral("a"), QStringLiteral("b"), 100, -200); | 42 | structList << A("a", "b", 100, -200); | ||
43 | structList << A(); | 43 | structList << A(); | ||
44 | 44 | | |||
45 | Container<int*> pointerList; | 45 | Container<int*> pointerList; | ||
46 | pointerList << new int(1) << new int(2); | 46 | pointerList << new int(1) << new int(2); | ||
47 | pointerList << new int(3); | 47 | pointerList << new int(3); | ||
48 | qDeleteAll(pointerList); | 48 | qDeleteAll(pointerList); | ||
49 | 49 | | |||
50 | Container<QPair<int, int> > pairList; | 50 | Container<QPair<int, int> > pairList; | ||
Show All 18 Lines |