File indexing completed on 2024-04-14 03:39:25

0001 /*
0002     SPDX-FileCopyrightText: 2005-2006 Albert Astals Cid <aacid@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef NUMBER_H
0008 #define NUMBER_H
0009 
0010 class QPainter;
0011 class QSvgRenderer;
0012 
0013 class number
0014 {
0015     public:
0016         explicit number(int n);
0017         
0018         void paint(QPainter &p, int digits, QSvgRenderer *renderer) const;
0019     
0020     private:
0021         void paintDigit(QPainter &p, int n, QSvgRenderer *renderer) const;
0022         
0023         int m_number;
0024 };
0025 
0026 #endif