mirror of https://github.com/cutefishos/qt-plugins
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
350 B
C++
21 lines
350 B
C++
#include "pstyleplugin.h"
|
|
#include "basestyle.h"
|
|
|
|
#include <QApplication>
|
|
#include <QStyleFactory>
|
|
#include <QDebug>
|
|
|
|
QStringList ProxyStylePlugin::keys() const
|
|
{
|
|
return {"cutefish"};
|
|
}
|
|
|
|
QStyle *ProxyStylePlugin::create(const QString &key)
|
|
{
|
|
if (key != QStringLiteral("cutefish")) {
|
|
return nullptr;
|
|
}
|
|
|
|
return new BaseStyle;
|
|
}
|