summaryrefslogtreecommitdiff
path: root/examples/embedded/desktopservices/contenttab.h
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2011-10-25 18:54:37 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-26 00:49:18 +0200
commit34bd931c83868806735925ff71becb1f3f1975bf (patch)
tree8b64e11e769334cbd139940f5dbfdf7e81d9ab7b /examples/embedded/desktopservices/contenttab.h
parent5bd3e8c8b2ae56cf25b2d35f137952e95703d2d5 (diff)
downloadqtsvg-34bd931c83868806735925ff71becb1f3f1975bf.tar.gz
Fixed compile; QDesktopServices -> QStandardPaths
Broken by qtbase dfa24768a3243eda68d91f573050bf23f96da2dd. Change-Id: I4d9366a91efcead98fc4d00fdeb567a11e0977d4 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: John Brooks <john.brooks@dereferenced.net>
Diffstat (limited to 'examples/embedded/desktopservices/contenttab.h')
-rw-r--r--examples/embedded/desktopservices/contenttab.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/embedded/desktopservices/contenttab.h b/examples/embedded/desktopservices/contenttab.h
index 614f42a..191d12e 100644
--- a/examples/embedded/desktopservices/contenttab.h
+++ b/examples/embedded/desktopservices/contenttab.h
@@ -49,6 +49,7 @@
#include <QFileInfo>
#include <QListWidget>
#include <QDesktopServices>
+#include <QStandardPaths>
// INTERNAL INCLUDES
@@ -73,12 +74,12 @@ public: // Constructors & Destructors
virtual ~ContentTab();
public: // New Methods
- virtual void init(const QDesktopServices::StandardLocation &location,
+ virtual void init(const QStandardPaths::StandardLocation &location,
const QString &filter,
const QString &icon);
protected: // New Methods
- virtual void setContentDir(const QDesktopServices::StandardLocation &location);
+ virtual void setContentDir(const QStandardPaths::StandardLocation &location);
virtual void setIcon(const QString &icon);
virtual void populateListWidget();
virtual QString itemName(const QFileInfo &item);