Pimcommon

spellchecklineedit.h
1/*
2 * SPDX-FileCopyrightText: 2011-2025 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{
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
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}
void focusUp()
Emitted when the user uses the up arrow in the first line.
~SpellCheckLineEdit() override
Destructor.
SpellCheckLineEdit(QWidget *parent, const QString &configFile)
Constructs a SpellCheckLineEdit object.
folderdialogacltab.h
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.