forked from qt-creator/qt-creator
AbiWidget: Add method to check whether a ABI is custom or not
Change-Id: I893f06d5863573a6b787b65d02262bbfc6eee2f7 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -192,6 +192,11 @@ QList<Abi> AbiWidget::supportedAbis() const
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool AbiWidget::isCustomAbi() const
|
||||||
|
{
|
||||||
|
return d->isCustom();
|
||||||
|
}
|
||||||
|
|
||||||
Abi AbiWidget::currentAbi() const
|
Abi AbiWidget::currentAbi() const
|
||||||
{
|
{
|
||||||
return Abi(d->m_abi->itemData(d->m_abi->currentIndex()).toString());
|
return Abi(d->m_abi->itemData(d->m_abi->currentIndex()).toString());
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ public:
|
|||||||
|
|
||||||
void setAbis(const QList<Abi> &, const Abi ¤t);
|
void setAbis(const QList<Abi> &, const Abi ¤t);
|
||||||
QList<Abi> supportedAbis() const;
|
QList<Abi> supportedAbis() const;
|
||||||
|
bool isCustomAbi() const;
|
||||||
Abi currentAbi() const;
|
Abi currentAbi() const;
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|||||||
Reference in New Issue
Block a user