diff options
author | hjk <qthjk@ovi.com> | 2012-09-11 00:03:23 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2012-09-11 15:41:53 +0200 |
commit | c68c96fd231590fe8f8a71540092a8f8fa56ff79 (patch) | |
tree | 8f87f5308fabdf12effe1be46e79d26765d72e9a /src/plugins/qtsupport | |
parent | 4668b7b1d3df95dca8464243c622a3b8bb44e76e (diff) | |
download | qt-creator-c68c96fd231590fe8f8a71540092a8f8fa56ff79.tar.gz |
qtsupport: remove unsed class QtTypeKitMatcher
Change-Id: I33e771ec33ef0bdfe1d1ca0e91b2a4022bf0ade9
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/qtsupport')
-rw-r--r-- | src/plugins/qtsupport/qtkitinformation.cpp | 10 | ||||
-rw-r--r-- | src/plugins/qtsupport/qtkitinformation.h | 11 |
2 files changed, 0 insertions, 21 deletions
diff --git a/src/plugins/qtsupport/qtkitinformation.cpp b/src/plugins/qtsupport/qtkitinformation.cpp index c64c27b33f..1fd2d49c96 100644 --- a/src/plugins/qtsupport/qtkitinformation.cpp +++ b/src/plugins/qtsupport/qtkitinformation.cpp @@ -146,16 +146,6 @@ void QtKitInformation::setQtVersion(ProjectExplorer::Kit *p, const BaseQtVersion setQtVersionId(p, v->uniqueId()); } -QtTypeKitMatcher::QtTypeKitMatcher(const QString &type) : - m_type(type) -{ } - -bool QtTypeKitMatcher::matches(const ProjectExplorer::Kit *p) const -{ - BaseQtVersion *version = QtKitInformation::qtVersion(p); - return version && version->type() == m_type; -} - QtPlatformKitMatcher::QtPlatformKitMatcher(const QString &platform) : m_platform(platform) { } diff --git a/src/plugins/qtsupport/qtkitinformation.h b/src/plugins/qtsupport/qtkitinformation.h index 31da6290b8..5f15640bea 100644 --- a/src/plugins/qtsupport/qtkitinformation.h +++ b/src/plugins/qtsupport/qtkitinformation.h @@ -68,17 +68,6 @@ public: static void setQtVersion(ProjectExplorer::Kit *p, const BaseQtVersion *v); }; -class QTSUPPORT_EXPORT QtTypeKitMatcher : public ProjectExplorer::KitMatcher -{ -public: - QtTypeKitMatcher(const QString &type); - - bool matches(const ProjectExplorer::Kit *p) const; - -private: - QString m_type; -}; - class QTSUPPORT_EXPORT QtPlatformKitMatcher : public ProjectExplorer::KitMatcher { public: |