Libksieve

sievelinenumberarea.h
1/* SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org>
2 *
3 * SPDX-License-Identifier: LGPL-2.0-or-later
4 */
5
6#pragma once
7
8#include <QWidget>
9
10namespace KSieveUi
11{
12class SieveTextEdit;
13
14class SieveLineNumberArea : public QWidget
15{
17public:
18 explicit SieveLineNumberArea(SieveTextEdit *editor);
19
20 QSize sizeHint() const override;
21
22protected:
23 void paintEvent(QPaintEvent *event) override;
24
25private:
26 SieveTextEdit *const m_sieveTextEdit;
27};
28}
Q_OBJECTQ_OBJECT
virtual bool event(QEvent *event) override
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.