The QWinJumpListItem class represents a jump list item. More...
Header: | #include <QWinJumpListItem> |
qmake: | QT += winextras |
Since: | Qt 5.2 |
This class was introduced in Qt 5.2.
enum | Type { Destination, Link, Separator } |
QWinJumpListItem(QWinJumpListItem::Type type) | |
~QWinJumpListItem() | |
QStringList | arguments() const |
QString | description() const |
QString | filePath() const |
QIcon | icon() const |
void | setArguments(const QStringList &arguments) |
void | setDescription(const QString &description) |
void | setFilePath(const QString &filePath) |
void | setIcon(const QIcon &icon) |
void | setTitle(const QString &title) |
void | setType(QWinJumpListItem::Type type) |
void | setWorkingDirectory(const QString &workingDirectory) |
QString | title() const |
QWinJumpListItem::Type | type() const |
QString | workingDirectory() const |
This enum describes the available QWinJumpListItem types.
Constant | Value | Description |
---|---|---|
QWinJumpListItem::Destination |
0 |
Item acts as a link to a file that the application can open. |
QWinJumpListItem::Link |
1 |
Item represents a link to an application. |
QWinJumpListItem::Separator |
2 |
Item is a separator. Only tasks category supports separators. |
Constructs a QWinJumpListItem with the specified type.
Destroys the QWinJumpListItem.
Returns the command-line arguments of this item.
See also setArguments().
Returns the description of this item.
See also setDescription().
Returns the file path set by setFilePath().
See also setFilePath().
Returns the icon set for this item.
See also setIcon().
Sets command-line arguments for this item.
This value is used only if the type of this item is QWinJumpListItem::Link.
See also arguments() and setFilePath().
Sets a description for this item.
This value is used only if the type of this item is QWinJumpListItem::Link.
See also description().
Sets the item filePath, the meaning of which depends on the type of this item:
See also filePath(), setWorkingDirectory(), and setArguments().
Sets the icon of this item.
This value is used only if the type of this item is QWinJumpListItem::Link.
See also icon().
Sets the title of this item.
This value is used only if the type of this item is QWinJumpListItem::Link.
See also title().
Sets the item type.
See also type().
Sets the path to the working directory of this item to workingDirectory.
This value is used only if the type of this item is QWinJumpListItem::Link.
See also workingDirectory() and setFilePath().
Returns the title of this item.
See also setTitle().
Returns the item type.
See also setType().
Returns the working directory path.
See also setWorkingDirectory().
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qwinjumplistitem.html