mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-27 23:17:13 +03:00
c5ace2338c
The goal is to avoid confusion described in issue #6422 by removing duplicates between the Theme and owncloudTheme. - Use the about from ownCloudTheme everywhere - Create default applicationIcons() and condifFileName() that should work everywhere - trayFolderIcon was removed as it is not used - the helpUrl from the default Theme now points to the owncloud client documentation. Before there was no help entry by default for branded client if the function was not overriden. - Do not merge functions that would otherwise break compatibility with theme that did not override them. For example colors or customMedia.
43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
/*
|
|
* Copyright (C) by Klaas Freitag <freitag@owncloud.com>
|
|
*
|
|
* 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
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
* for more details.
|
|
*/
|
|
|
|
#ifndef NEXTCLOUD_THEME_H
|
|
#define NEXTCLOUD_THEME_H
|
|
|
|
#include "theme.h"
|
|
|
|
namespace OCC {
|
|
|
|
/**
|
|
* @brief The NextcloudTheme class
|
|
* @ingroup libsync
|
|
*/
|
|
class NextcloudTheme : public Theme
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
NextcloudTheme();
|
|
|
|
#ifndef TOKEN_AUTH_ONLY
|
|
QVariant customMedia(CustomMediaType type) Q_DECL_OVERRIDE;
|
|
|
|
QColor wizardHeaderBackgroundColor() const Q_DECL_OVERRIDE;
|
|
QColor wizardHeaderTitleColor() const Q_DECL_OVERRIDE;
|
|
QPixmap wizardHeaderLogo() const Q_DECL_OVERRIDE;
|
|
#endif
|
|
|
|
private:
|
|
};
|
|
}
|
|
#endif // NEXTCLOUD_THEME_H
|