2012-02-16 13:42:44 +04:00
|
|
|
/*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2017-10-10 12:28:40 +03:00
|
|
|
#ifndef NEXTCLOUD_THEME_H
|
|
|
|
#define NEXTCLOUD_THEME_H
|
2012-02-16 13:42:44 +04:00
|
|
|
|
|
|
|
#include "theme.h"
|
|
|
|
|
2014-11-10 00:34:07 +03:00
|
|
|
namespace OCC {
|
2012-02-16 13:42:44 +04:00
|
|
|
|
2015-06-29 19:56:09 +03:00
|
|
|
/**
|
2017-10-10 12:28:40 +03:00
|
|
|
* @brief The NextcloudTheme class
|
2015-06-29 19:56:09 +03:00
|
|
|
* @ingroup libsync
|
2015-06-26 18:07:47 +03:00
|
|
|
*/
|
2017-10-10 12:28:40 +03:00
|
|
|
class NextcloudTheme : public Theme
|
2012-02-16 13:42:44 +04:00
|
|
|
{
|
2013-07-07 00:39:06 +04:00
|
|
|
Q_OBJECT
|
2012-02-16 13:42:44 +04:00
|
|
|
public:
|
2017-10-10 12:28:40 +03:00
|
|
|
NextcloudTheme();
|
2012-02-16 13:42:44 +04:00
|
|
|
|
2014-07-10 01:22:28 +04:00
|
|
|
QString configFileName() const Q_DECL_OVERRIDE;
|
|
|
|
QString about() const Q_DECL_OVERRIDE;
|
2012-05-02 17:50:01 +04:00
|
|
|
|
2014-11-21 14:15:41 +03:00
|
|
|
#ifndef TOKEN_AUTH_ONLY
|
2014-07-10 01:22:28 +04:00
|
|
|
QIcon trayFolderIcon(const QString &) const Q_DECL_OVERRIDE;
|
|
|
|
QIcon applicationIcon() const Q_DECL_OVERRIDE;
|
2014-11-21 14:15:41 +03:00
|
|
|
#endif
|
2012-05-02 17:50:01 +04:00
|
|
|
|
2014-07-10 01:22:28 +04:00
|
|
|
QString helpUrl() const Q_DECL_OVERRIDE;
|
2014-11-21 14:15:41 +03:00
|
|
|
#ifndef TOKEN_AUTH_ONLY
|
|
|
|
QVariant customMedia(CustomMediaType type) Q_DECL_OVERRIDE;
|
2013-06-13 14:56:20 +04:00
|
|
|
|
2014-07-10 01:22:28 +04:00
|
|
|
QColor wizardHeaderBackgroundColor() const Q_DECL_OVERRIDE;
|
|
|
|
QColor wizardHeaderTitleColor() const Q_DECL_OVERRIDE;
|
|
|
|
QPixmap wizardHeaderLogo() const Q_DECL_OVERRIDE;
|
2014-11-21 14:15:41 +03:00
|
|
|
#endif
|
2016-04-12 17:24:06 +03:00
|
|
|
|
2012-02-16 13:42:44 +04:00
|
|
|
private:
|
|
|
|
};
|
|
|
|
}
|
2017-10-10 12:28:40 +03:00
|
|
|
#endif // NEXTCLOUD_THEME_H
|