The QWinJumpList class represents a transparent wrapper around Windows Jump Lists. More...
Header: | #include <QWinJumpList> |
qmake: | QT += winextras |
Since: | Qt 5.2 |
Inherits: | QObject |
This class was introduced in Qt 5.2.
QWinJumpList(QObject *parent = nullptr) | |
virtual | ~QWinJumpList() |
void | addCategory(QWinJumpListCategory *category) |
QWinJumpListCategory * | addCategory(const QString &title, const QList<QWinJumpListItem *> items = QList<QWinJumpListItem *>()) |
QList<QWinJumpListCategory *> | categories() const |
QWinJumpListCategory * | frequent() const |
QString | identifier() const |
QWinJumpListCategory * | recent() const |
void | setIdentifier(const QString &identifier) |
QWinJumpListCategory * | tasks() const |
void | clear() |
An application can use Jump Lists to provide users with faster access to files or to display shortcuts to tasks or commands.
This property holds the jump list identifier
Specifies an optional explicit unique identifier for the application jump list.
The default value is empty; a system-defined internal identifier is used instead. See Application User Model IDs on MSDN for further details.
Note: The identifier cannot have more than 128
characters and cannot contain spaces. A too long identifier is automatically truncated to 128
characters, and spaces are replaced by underscores.
Access functions:
QString | identifier() const |
void | setIdentifier(const QString &identifier) |
Constructs a QWinJumpList with the parent object parent.
[slot]
void QWinJumpList::clear()
Clears the jump list.
See also QWinJumpListCategory::clear().
[virtual]
QWinJumpList::~QWinJumpList()
Destroys the QWinJumpList.
Adds a custom category to the jump list.
This function overloads addCategory().
Creates a custom category with provided title and optional items, and adds it to the jump list.
Returns the custom categories in the jump list.
Returns the frequent items category in the jump list.
Returns the recent items category in the jump list.
Returns the tasks category in the jump list.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qwinjumplist.html