File indexing completed on 2025-01-05 04:47:09
0001 /* 0002 SPDX-FileCopyrightText: 2011-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QDialog> 0010 0011 #include "ui_renamefavoritedialog.h" 0012 0013 namespace Akonadi 0014 { 0015 class RenameFavoriteDialog : public QDialog 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit RenameFavoriteDialog(const QString &value, const QString &defaultName, QWidget *parent); 0020 0021 [[nodiscard]] QString newName() const; 0022 0023 private: 0024 const QString m_defaultName; 0025 Ui::RenameFavoriteDialog ui; 0026 }; 0027 0028 }