25 lines
523 B
C++
25 lines
523 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <QTranslator>
|
|
|
|
#include "zeiterfassungplugin.h"
|
|
|
|
class MainWindow;
|
|
|
|
class Q_DECL_EXPORT ProfilePlugin : public ZeiterfassungPlugin
|
|
{
|
|
Q_OBJECT
|
|
Q_PLUGIN_METADATA(IID "dbsoftware.zeiterfassung.plugin/1.0" FILE "profileplugin.json")
|
|
Q_INTERFACES(ZeiterfassungPlugin)
|
|
|
|
public:
|
|
explicit ProfilePlugin(QObject *parent = Q_NULLPTR);
|
|
|
|
// ZeiterfassungPlugin interface
|
|
void attachTo(MainWindow &mainWindow) Q_DECL_OVERRIDE;
|
|
|
|
private:
|
|
QTranslator m_translator;
|
|
};
|