Release 1.5 #39

Merged
0xFEEDC0DE64 merged 24 commits from devel into master 2017-12-20 00:29:23 +01:00
32 changed files with 267 additions and 174 deletions
Showing only changes of commit 5d4928fddf - Show all commits

View File

@@ -3,5 +3,6 @@ TEMPLATE = subdirs
SUBDIRS += advancedviewplugin \
lunchmealplugin \
presenceplugin \
reportsplugin \
updaterplugin \
weatherplugin

View File

@@ -0,0 +1,13 @@
#include "reportsplugin.h"
#include <QDebug>
ReportsPlugin::ReportsPlugin(QObject *parent) :
ZeiterfassungPlugin(parent)
{
qDebug() << "called";
}
void ReportsPlugin::attachTo(MainWindow &mainWindow)
{
}

View File

@@ -0,0 +1,23 @@
#ifndef REPORTSPLUGIN_H
#define REPORTSPLUGIN_H
#include <QObject>
#include "zeiterfassungplugin.h"
class MainWindow;
class Q_DECL_EXPORT ReportsPlugin : public ZeiterfassungPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "dbsoftware.zeiterfassung.plugin/1.0" FILE "reportsplugin.json")
Q_INTERFACES(ZeiterfassungPlugin)
public:
explicit ReportsPlugin(QObject *parent = Q_NULLPTR);
// ZeiterfassungPlugin interface
void attachTo(MainWindow &mainWindow) Q_DECL_OVERRIDE;
};
#endif // REPORTSPLUGIN_H

View File

View File

@@ -0,0 +1,27 @@
QT += core network gui widgets
TARGET = reportsplugin
TEMPLATE = lib
CONFIG += shared c++14
DESTDIR = $${OUT_PWD}/../../bin/plugins/zeiterfassung
LIBS += -L$$OUT_PWD/../../lib -lzeiterfassunglib
INCLUDEPATH += $$PWD/../../zeiterfassunglib
DEPENDPATH += $$PWD/../../zeiterfassunglib
DEFINES += QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060000 QT_MESSAGELOGCONTEXT
HEADERS += reportsplugin.h
SOURCES += reportsplugin.cpp
FORMS +=
RESOURCES +=
TRANSLATIONS +=
OTHER_FILES += reportsplugin.json