PimCommon::SpellCheckLineEdit Class

The SpellCheckLineEdit class provides a line editor with spell checking capabilities Author: Laurent Montel <montel@kde.org>. More...

Header: #include <PimCommon/SpellCheckLineEdit>
CMake: find_package(KPim6PimCommon REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::PimCommon)

Public Functions

SpellCheckLineEdit(QWidget *parent, const QString &configFile)
virtual ~SpellCheckLineEdit() override

Signals

void focusDown()
void focusUp()

Reimplemented Protected Functions

virtual void insertFromMimeData(const QMimeData *source) override
virtual void keyPressEvent(QKeyEvent *) override
virtual QSize minimumSizeHint() const override
virtual QSize sizeHint() const override

Detailed Description

Member Function Documentation

[explicit] SpellCheckLineEdit::SpellCheckLineEdit(QWidget *parent, const QString &configFile)

Constructs a SpellCheckLineEdit object. parent of widget configFile config file name for spell checking

[override virtual noexcept] SpellCheckLineEdit::~SpellCheckLineEdit()

Destructor

[signal] void SpellCheckLineEdit::focusDown()

Emitted when the user uses the down arrow in the last line. The application should then put the focus on the widget below the text edit.

[signal] void SpellCheckLineEdit::focusUp()

Emitted when the user uses the up arrow in the first line. The application should then put the focus on the widget above the text edit.

[override virtual protected] void SpellCheckLineEdit::insertFromMimeData(const QMimeData *source)

Inserts content from MIME data. @param source The MIME data source

[override virtual protected] void SpellCheckLineEdit::keyPressEvent(QKeyEvent *)

Handles key press events. @param event The key event

[override virtual protected] QSize SpellCheckLineEdit::minimumSizeHint() const

Returns the minimum size hint for this widget. @return The minimum recommended size

[override virtual protected] QSize SpellCheckLineEdit::sizeHint() const

Returns the size hint for this widget. @return The recommended size