Libksieve

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

KDE's Doxygen guidelines are available online.