~ubuntu-sdk-team/qtcreator-plugin-remotelinux/trunk

« back to all changes in this revision

Viewing changes to src/qnx/blackberrypotentialkit.h

  • Committer: CI bot
  • Author(s): Benjamin Zeller
  • Date: 2014-06-16 10:28:43 UTC
  • mfrom: (4.2.4 remotelinux)
  • Revision ID: ps-jenkins@lists.canonical.com-20140616102843-8juvmjvzwlzsboyw
Migrating to Qt5.3 and QtC 3.1 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**************************************************************************
 
2
**
 
3
** Copyright (C) 2014 BlackBerry Limited. All rights reserved.
 
4
**
 
5
** Contact: BlackBerry (qt@blackberry.com)
 
6
**
 
7
** This file is part of Qt Creator.
 
8
**
 
9
** Commercial License Usage
 
10
** Licensees holding valid commercial Qt licenses may use this file in
 
11
** accordance with the commercial license agreement provided with the
 
12
** Software or, alternatively, in accordance with the terms contained in
 
13
** a written agreement between you and Digia.  For licensing terms and
 
14
** conditions see http://qt.digia.com/licensing.  For further information
 
15
** use the contact form at http://qt.digia.com/contact-us.
 
16
**
 
17
** GNU Lesser General Public License Usage
 
18
** Alternatively, this file may be used under the terms of the GNU Lesser
 
19
** General Public License version 2.1 as published by the Free Software
 
20
** Foundation and appearing in the file LICENSE.LGPL included in the
 
21
** packaging of this file.  Please review the following information to
 
22
** ensure the GNU Lesser General Public License version 2.1 requirements
 
23
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
 
24
**
 
25
** In addition, as a special exception, Digia gives you certain additional
 
26
** rights.  These rights are described in the Digia Qt LGPL Exception
 
27
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
 
28
**
 
29
****************************************************************************/
 
30
 
 
31
#ifndef BLACKBERRYPOTENTIALKIT_H
 
32
#define BLACKBERRYPOTENTIALKIT_H
 
33
 
 
34
#include <projectexplorer/ipotentialkit.h>
 
35
#include <utils/detailswidget.h>
 
36
 
 
37
class BlackBerryPotentialKit : public ProjectExplorer::IPotentialKit
 
38
{
 
39
    Q_OBJECT
 
40
public:
 
41
    QString displayName() const;
 
42
    void executeFromMenu();
 
43
    QWidget *createWidget(QWidget *parent) const;
 
44
    bool isEnabled() const;
 
45
 
 
46
    static bool shouldShow();
 
47
    static void openSettings();
 
48
};
 
49
 
 
50
class BlackBerryPotentialKitWidget : public Utils::DetailsWidget
 
51
{
 
52
    Q_OBJECT
 
53
public:
 
54
    explicit BlackBerryPotentialKitWidget(QWidget *parent);
 
55
 
 
56
public slots:
 
57
    void openOptions();
 
58
    void recheck();
 
59
 
 
60
};
 
61
 
 
62
#endif // BLACKBERRYPOTENTIALKIT_H