diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2013-08-06 16:43:02 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-13 20:41:34 +0200 |
commit | 75a230610aa7f2548c0b7ef9cbacc3c5de58bccc (patch) | |
tree | c6a989861a3c98f28b530ff76f2f0dde1ec23624 /examples/winextras | |
parent | a38a4318a0a6427e9a7f58aaf446ce0613924354 (diff) |
Rename QJumpList(Item) to QWinJumpList(Item)
Follow the existing QtWinExtras class naming convention.
All the other public classes are currently named QWinXxx.
Change-Id: I2509961e280b9794547e7420b941469fc8cdd2fa
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'examples/winextras')
-rw-r--r-- | examples/winextras/jumplistexample/examplewidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/winextras/jumplistexample/examplewidget.cpp b/examples/winextras/jumplistexample/examplewidget.cpp index d372438..10db514 100644 --- a/examples/winextras/jumplistexample/examplewidget.cpp +++ b/examples/winextras/jumplistexample/examplewidget.cpp @@ -47,8 +47,8 @@ #include <QFile> #include <QFileDialog> #include <QMessageBox> -#include <QJumpList> -#include <QJumpListItem> +#include <QWinJumpList> +#include <QWinJumpListItem> #include <QDebug> ExampleWidget::ExampleWidget(QWidget *parent) : @@ -103,7 +103,7 @@ void ExampleWidget::showFile(const QString &path) void ExampleWidget::updateJumpList() { - QJumpList jumplist; + QWinJumpList jumplist; jumplist.begin(); if (ui->cbShowFrequent->isChecked()) jumplist.setFrequentCategoryShown(true); @@ -111,7 +111,7 @@ void ExampleWidget::updateJumpList() jumplist.setRecentCategoryShown(true); jumplist.beginTasks(); if (ui->cbRunFullscreen->isChecked()) { - QJumpListItem *item = new QJumpListItem(QJumpListItem::Link); + QWinJumpListItem *item = new QWinJumpListItem(QWinJumpListItem::Link); item->setTitle(ui->cbRunFullscreen->text()); item->setFilePath(QDir::toNativeSeparators(QCoreApplication::applicationFilePath())); item->setArguments(QStringList("-fullscreen")); |