Commit c68c96fd authored by hjk's avatar hjk
Browse files

qtsupport: remove unsed class QtTypeKitMatcher



Change-Id: I33e771ec33ef0bdfe1d1ca0e91b2a4022bf0ade9
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 4668b7b1
......@@ -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)
{ }
......
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment