File indexing completed on 2024-04-21 05:51:47

0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 // SPDX-FileCopyrightText: 2009 Dominik Seichter <domseichter@web.de>
0003 
0004 #ifndef START_UP_INFO_H
0005 #define START_UP_INFO_H
0006 
0007 #include <QFrame>
0008 
0009 namespace Ui
0010 {
0011 class StartUpInfoWidget;
0012 };
0013 
0014 /**
0015  * A info widget which tells the user about the next steps
0016  * when using KRename.
0017  *
0018  */
0019 class StartUpInfo : public QFrame
0020 {
0021     Q_OBJECT
0022 
0023 public:
0024     explicit StartUpInfo(QWidget *parent = nullptr);
0025     ~StartUpInfo() override;
0026 
0027 Q_SIGNALS:
0028     /**
0029      * Emitted when the user clicks the link to add more files.
0030      */
0031     void addFiles();
0032 
0033     /**
0034      * Emitted when the user clicks the link to specify the template.
0035      */
0036     void enterTemplate();
0037 
0038 private:
0039     Ui::StartUpInfoWidget *m_widget;
0040 };
0041 
0042 #endif // START_UP_INFO_H
0043