diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2011-06-28 14:35:38 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@nokia.com> | 2011-06-28 16:05:09 +0200 |
commit | 0ff8e646dbc4ffe96bb5d1b77de15ecb89e447ff (patch) | |
tree | bacf2aa04d18c677d47ba6e92d0cd5a050b21ec6 /src/plugins/qtsupport/qtversionfactory.h | |
parent | 930dbd6c9f896ea1e5f040249cbfdeeb7f9334a8 (diff) |
QtSupport: Additional parameter for QtVersion::restore().
This enables a QtVersionFactory to be able to create more than one
QtVersion, which can make sense e.g. if there are several closely
related ones.
Change-Id: I597f524abfc27c483c71bb6567ce7b77bc3d3041
Reviewed-on: http://codereview.qt.nokia.com/835
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/qtsupport/qtversionfactory.h')
-rw-r--r-- | src/plugins/qtsupport/qtversionfactory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qtsupport/qtversionfactory.h b/src/plugins/qtsupport/qtversionfactory.h index c4a157f5da..41d150e342 100644 --- a/src/plugins/qtsupport/qtversionfactory.h +++ b/src/plugins/qtsupport/qtversionfactory.h @@ -49,7 +49,7 @@ public: ~QtVersionFactory(); virtual bool canRestore(const QString &type) = 0; - virtual BaseQtVersion *restore(const QVariantMap &data) = 0; + virtual BaseQtVersion *restore(const QString &type, const QVariantMap &data) = 0; /// factories with higher priority are asked first to identify /// a qtversion, the priority of the desktop factory is 0 and |