IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QWinJumpList Class

The QWinJumpList class represents a transparent wrapper around Windows Jump Lists.

This class was introduced in Qt 5.2.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QWinJumpList Class▲

  • Header: QWinJumpList

  • Since: Qt 5.2

  • qmake: QT += winextras

  • Inherits: QObject

Detailed Description▲

An application can use Jump Lists to provide users with faster access to files or to display shortcuts to tasks or commands.

Property Documentation▲

 

identifier : QString▲

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.

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:

  • identifier() const

  • void setIdentifier(const &identifier)

Member Function Documentation▲

 

[explicit] QWinJumpList::QWinJumpList(QObject *parent = nullptr)▲

Constructs a QWinJumpList with the parent object parent.

[virtual] QWinJumpList::~QWinJumpList()▲

Destroys the QWinJumpList.

void QWinJumpList::addCategory(QWinJumpListCategory *category)▲

Adds a custom category to the jump list.

QWinJumpListCategory *QWinJumpList::addCategory(const QString &title, const QList<QWinJumpListItem *> items = QList<QWinJumpListItem *>())▲

This function overloads addCategory().

Creates a custom category with provided title and optional items, and adds it to the jump list.

QList<QWinJumpListCategory *> QWinJumpList::categories() const▲

Returns the custom categories in the jump list.

void QWinJumpList::clear()▲

Clears the jump list.

See Also▲

QWinJumpListCategory *QWinJumpList::frequent() const▲

Returns the frequent items category in the jump list.

QWinJumpListCategory *QWinJumpList::recent() const▲

Returns the recent items category in the jump list.

QWinJumpListCategory *QWinJumpList::tasks() const▲

Returns the tasks category in the jump list.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+