File indexing completed on 2024-05-05 04:39:18
0001 /* 0002 SPDX-FileCopyrightText: 2018 Anton Anikin <anton@anikin.xyz> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KDEVCLAZY_COMMAND_LINE_WIDGET_H 0008 #define KDEVCLAZY_COMMAND_LINE_WIDGET_H 0009 0010 #include <QWidget> 0011 0012 namespace Clazy 0013 { 0014 0015 namespace Ui { class CommandLineWidget; } 0016 0017 class CommandLineWidget : public QWidget 0018 { 0019 Q_OBJECT 0020 0021 public: 0022 explicit CommandLineWidget(QWidget* parent = nullptr); 0023 ~CommandLineWidget() override; 0024 0025 public Q_SLOTS: 0026 void setText(const QString& text); 0027 0028 private: 0029 void updateCommandLine(); 0030 0031 private: 0032 QScopedPointer<Ui::CommandLineWidget> m_ui; 0033 QString m_text; 0034 }; 0035 0036 } 0037 0038 #endif