9#include "calprintpluginbase.h"
10#include "ui_calprintyearconfig_base.h"
12namespace CalendarSupport
14class CalPrintYear :
public CalPrintPluginBase
22 ~CalPrintYear()
override =
default;
24 [[nodiscard]]
QString groupName()
const override
26 return QStringLiteral(
"Print year");
29 [[nodiscard]]
QString description()
const override
31 return i18n(
"Print &year");
34 [[nodiscard]]
QString info()
const override
36 return i18n(
"Prints a calendar for an entire year");
39 [[nodiscard]]
int sortID()
const override
41 return CalPrinterBase::Year;
44 [[nodiscard]]
bool enabled()
const override
53 void print(
QPainter &p,
int width,
int height)
override;
54 void readSettingsWidget()
override;
55 void setSettingsWidget()
override;
56 void doLoadConfig()
override;
57 void doSaveConfig()
override;
58 void setDateRange(
const QDate &from,
const QDate &to)
override;
67class CalPrintYearConfig :
public QWidget,
public Ui::CalPrintYearConfig_Base
CalPrintPluginBase()
Constructor.
QString i18n(const char *text, const TYPE &arg...)
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:05:28 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.