File indexing completed on 2024-05-19 05:37:28
0001 /* 0002 * SPDX-FileCopyrightText: 2017 Ivan Cukic <ivan.cukic (at) kde.org> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #ifndef PLASMAVAULT_KDED_UI_PASSWORD_CHOOSER_WIDGET_H 0008 #define PLASMAVAULT_KDED_UI_PASSWORD_CHOOSER_WIDGET_H 0009 0010 #include "dialogdsl.h" 0011 0012 class PasswordChooserWidget : public DialogDsl::DialogModule 0013 { 0014 Q_OBJECT 0015 0016 public: 0017 PasswordChooserWidget(); 0018 ~PasswordChooserWidget() override; 0019 0020 PlasmaVault::Vault::Payload fields() const override; 0021 0022 private: 0023 class Private; 0024 QScopedPointer<Private> d; 0025 }; 0026 0027 inline DialogDsl::ModuleFactory passwordChooser() 0028 { 0029 return [=] { 0030 return new PasswordChooserWidget(); 0031 }; 0032 } 0033 0034 #endif // include guard