diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2013-09-13 18:47:29 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-20 10:12:21 +0200 |
commit | 0eade30f37980c38b14d5cfa475837d15b69a8c5 (patch) | |
tree | 1c4f4232086ede3cb3ad62bed1eca053c2977b52 /src/winextras/qwinjumplistitem.h | |
parent | 6e81cfd302e48e7ae4ecab44b377eeffaa45cd73 (diff) |
Jump Lists: introduce "categories" & hide COM
QWinJumpList now has three built-in categories: Recent,
Frequent and Tasks. In addition to that, user can add
custom categories. A new type, QWinJumpListCategory,
represents all these categories, providing access to
items in the category.
The former COM-like begin(), append(), commit(),
abort() API has been replaced by a more property/
attribute-based API. The jump list automatically
invalidates and lazily rebuilds itself behind the
scenes. Furthermore, the API has been minimalized
for now - restoring the application identifier as
a full-fledged property is in the works.
Change-Id: I623a658b4b1fcfc881006f67e2300acadb483c97
Reviewed-by: Ivan Vizir <define-true-false@yandex.com>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Diffstat (limited to 'src/winextras/qwinjumplistitem.h')
-rw-r--r-- | src/winextras/qwinjumplistitem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/winextras/qwinjumplistitem.h b/src/winextras/qwinjumplistitem.h index 824cf8f..7691431 100644 --- a/src/winextras/qwinjumplistitem.h +++ b/src/winextras/qwinjumplistitem.h @@ -1,6 +1,7 @@ /**************************************************************************** ** ** Copyright (C) 2013 Ivan Vizir <define-true-false@yandex.com> + ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtWinExtras module of the Qt Toolkit. @@ -56,13 +57,12 @@ class Q_WINEXTRAS_EXPORT QWinJumpListItem { public: enum Type { - Unknown, Destination, Link, Separator }; - explicit QWinJumpListItem(Type type = Unknown); + explicit QWinJumpListItem(Type type); ~QWinJumpListItem(); void setType(Type type); |