summaryrefslogtreecommitdiffstats
path: root/src/widgets/dialogs/qfiledialog_p.h
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2012-05-09 12:54:38 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-10 06:56:04 +0200
commitd223b30c42a9a8d42a8dd35b2d93615e646b4f1e (patch)
treea85c9bbe9e2431c52862e5acc86d88d7785b5c95 /src/widgets/dialogs/qfiledialog_p.h
parent75552c8f62dcfb8012c306b37c79ec629448d780 (diff)
qpa: Clean up QPlatformDialogHelper API
Remove the _sys suffix from all members of QPlatformDialogHelper and its subclasses. The QPlatform* class prefix already implies that these methods are system specific, we don't need the method suffix as well. Change-Id: I5ad1f928fab3a989992951acc244915e7fa48d32 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/widgets/dialogs/qfiledialog_p.h')
-rw-r--r--src/widgets/dialogs/qfiledialog_p.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/widgets/dialogs/qfiledialog_p.h b/src/widgets/dialogs/qfiledialog_p.h
index 0132d4ba6f..d7b5ce6527 100644
--- a/src/widgets/dialogs/qfiledialog_p.h
+++ b/src/widgets/dialogs/qfiledialog_p.h
@@ -348,45 +348,45 @@ inline QString QFileDialogPrivate::rootPath() const {
inline void QFileDialogPrivate::setDirectory_sys(const QString &directory)
{
if (QPlatformFileDialogHelper *helper = platformFileDialogHelper())
- helper->setDirectory_sys(directory);
+ helper->setDirectory(directory);
}
inline QString QFileDialogPrivate::directory_sys() const
{
if (QPlatformFileDialogHelper *helper = platformFileDialogHelper())
- return helper->directory_sys();
+ return helper->directory();
return QString();
}
inline void QFileDialogPrivate::selectFile_sys(const QString &filename)
{
if (QPlatformFileDialogHelper *helper = platformFileDialogHelper())
- helper->selectFile_sys(filename);
+ helper->selectFile(filename);
}
inline QStringList QFileDialogPrivate::selectedFiles_sys() const
{
if (QPlatformFileDialogHelper *helper = platformFileDialogHelper())
- return helper->selectedFiles_sys();
+ return helper->selectedFiles();
return QStringList();
}
inline void QFileDialogPrivate::setFilter_sys()
{
if (QPlatformFileDialogHelper *helper = platformFileDialogHelper())
- helper->setFilter_sys();
+ helper->setFilter();
}
inline void QFileDialogPrivate::selectNameFilter_sys(const QString &filter)
{
if (QPlatformFileDialogHelper *helper = platformFileDialogHelper())
- helper->selectNameFilter_sys(filter);
+ helper->selectNameFilter(filter);
}
inline QString QFileDialogPrivate::selectedNameFilter_sys() const
{
if (QPlatformFileDialogHelper *helper = platformFileDialogHelper())
- return helper->selectedNameFilter_sys();
+ return helper->selectedNameFilter();
return QString();
}