File indexing completed on 2025-01-19 04:55:17
0001 /* -*- c++ -*- 0002 * completionordereditor.h 0003 * 0004 * SPDX-FileCopyrightText: 2004 David Faure <faure@kde.org> 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #pragma once 0010 0011 #include "pimcommonakonadi_export.h" 0012 #include <QDialog> 0013 0014 namespace KLDAPWidgets 0015 { 0016 class LdapClientSearch; 0017 } 0018 0019 namespace PimCommon 0020 { 0021 class CompletionOrderEditorPrivate; 0022 /** 0023 * @brief The CompletionOrderEditor class 0024 */ 0025 class PIMCOMMONAKONADI_EXPORT CompletionOrderEditor : public QDialog 0026 { 0027 Q_OBJECT 0028 0029 public: 0030 explicit CompletionOrderEditor(KLDAPWidgets::LdapClientSearch *ldapSearch, QWidget *parent = nullptr); 0031 ~CompletionOrderEditor() override; 0032 0033 private: 0034 PIMCOMMONAKONADI_NO_EXPORT void slotOk(); 0035 PIMCOMMONAKONADI_NO_EXPORT void readConfig(); 0036 PIMCOMMONAKONADI_NO_EXPORT void writeConfig(); 0037 std::unique_ptr<CompletionOrderEditorPrivate> const d; 0038 }; 0039 } // namespace