From f6f517bc5442f8c649ed18136d099d9ae1092a22 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 5 Apr 2012 14:49:02 +0200 Subject: QtGui: add member-swap to shared classes Implemented as in other shared classes (e.g. QPen). Change-Id: I5b96d4a4795870d6252aa53de6fbaedde7c0095a Reviewed-by: Gunnar Sletta --- src/gui/kernel/qplatformdialoghelper.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gui/kernel/qplatformdialoghelper.h') diff --git a/src/gui/kernel/qplatformdialoghelper.h b/src/gui/kernel/qplatformdialoghelper.h index 5865e0a27d..a884d8b5de 100644 --- a/src/gui/kernel/qplatformdialoghelper.h +++ b/src/gui/kernel/qplatformdialoghelper.h @@ -117,6 +117,8 @@ public: QColorDialogOptions &operator=(const QColorDialogOptions &rhs); ~QColorDialogOptions(); + void swap(QColorDialogOptions &other) { qSwap(d, other.d); } + QString windowTitle() const; void setWindowTitle(const QString &); @@ -171,6 +173,8 @@ public: QFontDialogOptions &operator=(const QFontDialogOptions &rhs); ~QFontDialogOptions(); + void swap(QFontDialogOptions &other) { qSwap(d, other.d); } + QString windowTitle() const; void setWindowTitle(const QString &); @@ -226,6 +230,8 @@ public: QFileDialogOptions &operator=(const QFileDialogOptions &rhs); ~QFileDialogOptions(); + void swap(QFileDialogOptions &other) { qSwap(d, other.d); } + QString windowTitle() const; void setWindowTitle(const QString &); -- cgit v1.2.3