QWinJumpListItem 類錶示跳轉列錶項。 更多...
| 頭: | #include <QWinJumpListItem> |
| qmake: | QT += winextras |
| Since: | Qt 5.2 |
該類已過時。 提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
該類在 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 & 描述 ) |
| 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 類型。
| 常量 | 值 | 描述 |
|---|---|---|
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. |
構造 QWinJumpListItem 采用指定 type .
銷毀 QWinJumpListItem .
Returns the command-line arguments of this item.
另請參閱 setArguments ().
返迴此項的描述。
另請參閱 setDescription ().
Returns the file path set by setFilePath ().
另請參閱 setFilePath ().
Returns the icon set for this item.
另請參閱 setIcon ().
Sets command-line arguments for this item.
This value is used only if the type of this item is QWinJumpListItem::Link .
另請參閱 arguments () 和 setFilePath ().
設置 描述 for this item.
This value is used only if the type of this item is QWinJumpListItem::Link .
另請參閱 description ().
設置項 filePath , the meaning of which depends on the type of this item:
另請參閱 filePath (), setWorkingDirectory (),和 setArguments ().
設置 icon 為此項。
This value is used only if the type of this item is QWinJumpListItem::Link .
另請參閱 icon ().
設置 title 為此項。
This value is used only if the type of this item is QWinJumpListItem::Link .
另請參閱 title ().
設置項 type .
另請參閱 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 .
另請參閱 workingDirectory () 和 setFilePath ().
Returns the title of this item.
另請參閱 setTitle ().
Returns the item type.
另請參閱 setType ().
Returns the working directory path.
另請參閱 setWorkingDirectory ().