2
* Copyright (C) 2013 ~ 2018 National University of Defense Technology(NUDT) & Tianjin Kylin Ltd.
5
* Kobe Lee xiangli@ubuntukylin.com/kobe24_lixiang@126.com
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; version 3.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
#ifndef STARTUPMANAGER_H
21
#define STARTUPMANAGER_H
25
#include "../../component/plugininterface.h"
26
#include "startupwidget.h"
29
class StartupManager : public QObject , PluginInterface
32
Q_INTERFACES(PluginInterface)
34
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
35
Q_PLUGIN_METADATA(IID "com.kylin.Plugin.PluginInterface" FILE "startupmanager.json")//指定IID和.json文件
39
explicit StartupManager(QObject* parent = 0);
40
virtual ~StartupManager();
41
QWidget *centralWidget();
44
virtual QString getGuid();
45
virtual QString getName();
46
virtual QString getDescribe();
47
virtual QString getPicture();
48
virtual void doAction();
51
StartupWidget *startup_dialog = nullptr;
54
#endif // STARTUPMANAGER_H