diff options
author | Ian Walters <ian.walters@nokia.com> | 2009-04-03 02:44:38 (GMT) |
---|---|---|
committer | Ian Walters <ian.walters@nokia.com> | 2009-04-03 02:44:38 (GMT) |
commit | 423d6052844b2026c8acc8826d6546d3afc494d3 (patch) | |
tree | ffc1fb184d157f4211f817b995ddf353b4464631 /examples/tools/contiguouscache/main.cpp | |
parent | 0d00798f6bdd098dbb59c6f1da5be5efd6c283fa (diff) | |
download | Qt-423d6052844b2026c8acc8826d6546d3afc494d3.zip Qt-423d6052844b2026c8acc8826d6546d3afc494d3.tar.gz Qt-423d6052844b2026c8acc8826d6546d3afc494d3.tar.bz2 |
Rename OffsetVector to ContiguousCache
Diffstat (limited to 'examples/tools/contiguouscache/main.cpp')
-rw-r--r-- | examples/tools/contiguouscache/main.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/tools/contiguouscache/main.cpp b/examples/tools/contiguouscache/main.cpp new file mode 100644 index 0000000..bdeb3f3 --- /dev/null +++ b/examples/tools/contiguouscache/main.cpp @@ -0,0 +1,15 @@ +#include "randomlistmodel.h" +#include <QListView> +#include <QApplication> + +int main(int c, char **v) +{ + QApplication a(c, v); + + QListView view; + view.setUniformItemSizes(true); + view.setModel(new RandomListModel(&view)); + view.show(); + + return a.exec(); +} |