diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2011-05-24 14:06:51 +0000 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2011-05-31 16:54:03 +0200 |
commit | a5dadc76aa82a3093c5cd47619cadaf46e0f6a19 (patch) | |
tree | 6b6a7e5654291c117910e96399cb1a6a352c56de /src/plugins/projectexplorer/abiwidget.h | |
parent | e75e2b0c4d71b0f36ec1f9444a2d9114a31e4aec (diff) | |
download | qt-creator-a5dadc76aa82a3093c5cd47619cadaf46e0f6a19.tar.gz |
Abi: Allow overriding the detected abis of the gcc tool chain
Change-Id: Ief8985a0f6c8746bb5a0c15c8dcec5387b379159
Reviewed-on: http://codereview.qt.nokia.com/267
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/abiwidget.h')
-rw-r--r-- | src/plugins/projectexplorer/abiwidget.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/abiwidget.h b/src/plugins/projectexplorer/abiwidget.h new file mode 100644 index 0000000000..1b8a9350f0 --- /dev/null +++ b/src/plugins/projectexplorer/abiwidget.h @@ -0,0 +1,76 @@ +/************************************************************************** +** +** This file is part of Qt Creator +** +** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). +** +** Contact: Nokia Corporation (info@qt.nokia.com) +** +** +** GNU Lesser General Public License Usage +** +** This file may be used under the terms of the GNU Lesser General Public +** License version 2.1 as published by the Free Software Foundation and +** appearing in the file LICENSE.LGPL included in the packaging of this file. +** Please review the following information to ensure the GNU Lesser General +** Public License version 2.1 requirements will be met: +** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** Other Usage +** +** Alternatively, this file may be used in accordance with the terms and +** conditions contained in a signed written agreement between you and Nokia. +** +** If you have questions regarding the use of this file, please contact +** Nokia at info@qt.nokia.com. +** +**************************************************************************/ + +#ifndef PROJECTEXPLORER_ABIWIDGET_H +#define PROJECTEXPLORER_ABIWIDGET_H + +#include "projectexplorer_export.h" + +#include "abi.h" + +#include <QtGui/QWidget> + +namespace ProjectExplorer { + +namespace Internal { +class AbiWidgetPrivate; +} // namespace + +// -------------------------------------------------------------------------- +// AbiWidget: +// -------------------------------------------------------------------------- + +class PROJECTEXPLORER_EXPORT AbiWidget : public QWidget +{ + Q_OBJECT + +public: + AbiWidget(QWidget *parent = 0); + ~AbiWidget(); + + void setAbis(const QList<Abi> &, const Abi ¤t); + Abi currentAbi() const; + +signals: + void abiChanged(); + +private slots: + void osChanged(); + void modeChanged(); + +private: + Internal::AbiWidgetPrivate *const d; +}; + +} // namespace ProjectExplorer + +#endif // PROJECTEXPLORER_ABIWIDGET_H |