Changeset View
Changeset View
Standalone View
Standalone View
src/wrtembed/KReportDpi_p.h
- This file was moved from src/wrtembed/KReportDpi.h.
Show All 16 Lines | 1 | /* This file is part of the KDE project | |||
---|---|---|---|---|---|
17 | along with this library; see the file COPYING.LIB. If not, write to | 17 | along with this library; see the file COPYING.LIB. If not, write to | ||
18 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
19 | * Boston, MA 02110-1301, USA. | 19 | * Boston, MA 02110-1301, USA. | ||
20 | */ | 20 | */ | ||
21 | 21 | | |||
22 | #ifndef KREPORT_DPI_h | 22 | #ifndef KREPORT_DPI_h | ||
23 | #define KREPORT_DPI_h | 23 | #define KREPORT_DPI_h | ||
24 | 24 | | |||
25 | | ||||
26 | #include "kreport_export.h" | | |||
27 | | ||||
28 | /** | 25 | /** | ||
29 | * Singleton to store user-overwritten DPI information. | 26 | * Singleton to store user-overwritten DPI information. | ||
30 | */ | 27 | */ | ||
31 | namespace KReportDpi | 28 | namespace KReportDpi | ||
32 | { | 29 | { | ||
33 | KREPORT_EXPORT int dpiX(); | 30 | int dpiX(); | ||
34 | | ||||
35 | KREPORT_EXPORT int dpiY(); | | |||
36 | 31 | | |||
37 | /// @internal, for KoApplication | 32 | int dpiY(); | ||
staniek: Is it used? If so it is somewhere else, we have no KoApplication. | |||||
piggz: No, it is not used | |||||
38 | KREPORT_EXPORT void setDpi(int x, int y); | | |||
39 | } | 33 | } | ||
40 | 34 | | |||
41 | #endif // KREPORT_DPI_h | 35 | #endif // KREPORT_DPI_h |
Is it used? If so it is somewhere else, we have no KoApplication.