You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
499 B
22 lines
499 B
/* |
|
SPDX-FileCopyrightText: 2016 Kai Uwe Broulik <kde@privat.broulik.de> |
|
|
|
SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL |
|
*/ |
|
|
|
#pragma once |
|
|
|
#include <Plasma/Applet> |
|
|
|
class QDateTime; |
|
|
|
class CalendarApplet : public Plasma::Applet |
|
{ |
|
Q_OBJECT |
|
|
|
public: |
|
explicit CalendarApplet(QObject *parent, const KPluginMetaData &data, const QVariantList &args); |
|
~CalendarApplet() override; |
|
|
|
Q_INVOKABLE int weekNumber(const QDateTime &dateTime) const; |
|
};
|
|
|