From 274b11262162a745fd948b8d128002ed20af3fc9 Mon Sep 17 00:00:00 2001 From: Wolf Bergenheim Date: Mon, 20 Sep 2010 12:05:50 +0300 Subject: Added compatibility constructor (Fixes: NB#193007) --- libresourceqt/include/qt4/policy/resource-set.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'libresourceqt/include/qt4/policy') diff --git a/libresourceqt/include/qt4/policy/resource-set.h b/libresourceqt/include/qt4/policy/resource-set.h index 2ce18c4..3d18ac6 100644 --- a/libresourceqt/include/qt4/policy/resource-set.h +++ b/libresourceqt/include/qt4/policy/resource-set.h @@ -85,8 +85,16 @@ public: * \param alwaysReply Set this to true to always get a reply from the * Resource Manager. This optional parameter defaults to false. */ - ResourceSet(const QString &applicationClass, QObject *parent = NULL, - bool alwaysReply = false, bool autoRelease = false); + ResourceSet(const QString &applicationClass, QObject *parent, + bool alwaysReply, bool autoRelease); + /** + * Alternative backwards-compatible constructor. + * \param applicationClass This parameter defines the application class. + * The application class is used to determine the priority order of the + * application. + * \param parent The optional parent of of this class. + */ + ResourceSet(const QString &applicationClass, QObject *parent = NULL); /** * The destructor */ -- cgit v1.2.3