-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Version not match when build outside dde-dock project
- Loading branch information
Showing
7 changed files
with
711 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,10 @@ | |
* Copyright (C) 2011 ~ 2018 Deepin Technology Co., Ltd. | ||
* | ||
* Author: sbw <[email protected]> | ||
* blumia <[email protected]> | ||
* | ||
* Maintainer: sbw <[email protected]> | ||
* blumia <[email protected]> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,10 @@ | |
* Copyright (C) 2011 ~ 2018 Deepin Technology Co., Ltd. | ||
* | ||
* Author: sbw <[email protected]> | ||
* blumia <[email protected]> | ||
* | ||
* Maintainer: sbw <[email protected]> | ||
* blumia <[email protected]> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -33,7 +35,7 @@ class DatetimePlugin : public QObject, PluginsItemInterface | |
{ | ||
Q_OBJECT | ||
Q_INTERFACES(PluginsItemInterface) | ||
Q_PLUGIN_METADATA(IID "com.deepin.dock.PluginsItemInterface" FILE "datetime.json") | ||
Q_PLUGIN_METADATA(IID "com.deepin.dock.PluginsItemInterface" FILE "pineappledatetime.json") | ||
|
||
public: | ||
explicit DatetimePlugin(QObject *parent = 0); | ||
|
@@ -43,7 +45,10 @@ class DatetimePlugin : public QObject, PluginsItemInterface | |
void init(PluginProxyInterface *proxyInter) override; | ||
|
||
void pluginStateSwitched() override; | ||
bool pluginIsAllowDisable() override { return true; } | ||
bool pluginIsAllowDisable() override | ||
{ | ||
return true; | ||
} | ||
bool pluginIsDisable() override; | ||
|
||
int itemSortKey(const QString &itemKey); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,10 @@ | |
* Copyright (C) 2011 ~ 2018 Deepin Technology Co., Ltd. | ||
* | ||
* Author: sbw <[email protected]> | ||
* blumia <[email protected]> | ||
* | ||
* Maintainer: sbw <[email protected]> | ||
* blumia <[email protected]> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
File renamed without changes.