forked from qt-creator/qt-creator
Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
30 lines
517 B
C++
30 lines
517 B
C++
// Copyright (C) 2022 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
|
#ifndef TEXTFINDER_H
|
|
#define TEXTFINDER_H
|
|
|
|
#include <QWidget>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
namespace Ui { class TextFinder; }
|
|
QT_END_NAMESPACE
|
|
|
|
class TextFinder : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
TextFinder(QWidget *parent = nullptr);
|
|
~TextFinder();
|
|
|
|
//! [0]
|
|
private slots:
|
|
void on_findButton_clicked();
|
|
|
|
private:
|
|
Ui::TextFinder *ui;
|
|
void loadTextFile();
|
|
//! [0]
|
|
};
|
|
#endif // TEXTFINDER_H
|