File indexing completed on 2024-10-27 04:51:03

0001 /*
0002  * This file is part of KMail.
0003  * SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org>
0004  * SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #pragma once
0008 
0009 #include "kmail_private_export.h"
0010 #include <PimCommon/LineEditWithAutoCorrection>
0011 class KMAILTESTS_TESTS_EXPORT SubjectLineEditWithAutoCorrection : public PimCommon::LineEditWithAutoCorrection
0012 {
0013     Q_OBJECT
0014 public:
0015     explicit SubjectLineEditWithAutoCorrection(QWidget *parent, const QString &configFile);
0016     ~SubjectLineEditWithAutoCorrection() override;
0017 
0018 protected:
0019     void dropEvent(QDropEvent *event) override;
0020 
0021 Q_SIGNALS:
0022     void handleMimeData(const QMimeData *mimeData);
0023 };