summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/test_qt_add_ui_common/UicIncrementalBuild/src/widget2.h
blob: e448b12cafbd5931e7213595218cdb8a3d39c7dd (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
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#ifndef WIDGET2_H
#define WIDGET2_H

#include <QWidget>

QT_BEGIN_NAMESPACE
namespace Ui {
class Widget2;
}
QT_END_NAMESPACE

class Widget2 : public QWidget
{
  Q_OBJECT

public:
  explicit Widget2(QWidget* parent = nullptr);
  ~Widget2();
public slots:
  void onTextChanged(const QString& text);

private:
  Ui::Widget2* ui;
};

#endif // WIDGET2_H