Commit a12a5c27 authored by Tobias Hunger's avatar Tobias Hunger

AbiWidget: Add method to check whether a ABI is custom or not

Change-Id: I893f06d5863573a6b787b65d02262bbfc6eee2f7
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 6be52080
......@@ -192,6 +192,11 @@ QList<Abi> AbiWidget::supportedAbis() const
return result;
}
bool AbiWidget::isCustomAbi() const
{
return d->isCustom();
}
Abi AbiWidget::currentAbi() const
{
return Abi(d->m_abi->itemData(d->m_abi->currentIndex()).toString());
......
......@@ -55,6 +55,7 @@ public:
void setAbis(const QList<Abi> &, const Abi &current);
QList<Abi> supportedAbis() const;
bool isCustomAbi() const;
Abi currentAbi() const;
signals:
......
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