KTextAddons

autocorrectionlistwidget.h
1/*
2 SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QListWidget>
10
11namespace TextAutoCorrectionWidgets
12{
13class AutoCorrectionListWidget : public QListWidget
14{
16public:
17 explicit AutoCorrectionListWidget(QWidget *parent = nullptr);
18 ~AutoCorrectionListWidget() override;
19
20protected:
21 void keyPressEvent(QKeyEvent *event) override;
22
24 void deleteSelectedItems();
25};
26}
virtual bool event(QEvent *e) override
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:29:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.