blob: 3a851931716b111d80dfebf8d9984f571f1829b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Copyright (C) 2016 AudioCodes Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include <QWidget>
QT_BEGIN_NAMESPACE
class QComboBox;
QT_END_NAMESPACE
namespace ClearCase {
namespace Internal {
class ActivitySelector : public QWidget
{
Q_OBJECT
public:
explicit ActivitySelector(QWidget *parent = nullptr);
QString activity() const;
void setActivity(const QString &act);
void addKeep();
bool refresh();
bool changed() { return m_changed; }
void newActivity();
private:
void userChanged();
bool m_changed = false;
QComboBox *m_cmbActivity = nullptr;
};
} // namespace Internal
} // namespace ClearCase
|