Pimcommon

spellchecklineedit.h
1/*
2 * SPDX-FileCopyrightText: 2011-2024 Laurent Montel <montel@kde.org>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#pragma once
8#include "pimcommon_export.h"
9#include <TextCustomEditor/RichTextEditor>
10
11class QMimeData;
12namespace PimCommon
13{
14/**
15 * @brief The SpellCheckLineEdit class
16 * @author Laurent Montel <montel@kde.org>
17 */
19{
20 Q_OBJECT
21
22public:
23 /**
24 * Constructs a SpellCheckLineEdit object.
25 * @param parent of widget
26 * @param configFile config file name for spell checking
27 */
28 explicit SpellCheckLineEdit(QWidget *parent, const QString &configFile);
29 /**
30 * Destructor
31 */
33
34protected:
35 QSize sizeHint() const override;
36 QSize minimumSizeHint() const override;
37 void keyPressEvent(QKeyEvent *) override;
38 void insertFromMimeData(const QMimeData *source) override;
39
40Q_SIGNALS:
41 /**
42 * Emitted when the user uses the up arrow in the first line. The application
43 * should then put the focus on the widget above the text edit.
44 */
45 void focusUp();
46
47 void focusDown();
48};
49}
The SpellCheckLineEdit class.
void focusUp()
Emitted when the user uses the up arrow in the first line.
~SpellCheckLineEdit() override
Destructor.
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.