15 path = path + QString(
"plugins/%1/%2.dll").arg(module, format);
16 #elif defined Q_OS_UNIX
17 path = path + QString(
"plugins/%1/lib%2.so").arg(module, format);
25 settings.beginGroup(
"Http");
29 settings.beginGroup(
"Archive");
42 else if(factory->properties().shortName ==
name)
52 MusicPluginPropertyList properties;
56 if(factory->properties().shortName ==
"ladspa")
62 property.
m_type = factory->properties().shortName;
63 property.m_name = factory->properties().name;
64 property.m_hasSettings = factory->properties().hasSettings;
65 properties << property;
74 if(factory->properties().shortName ==
name)
76 factory->showSettings(parent);
86 if(v->properties().shortName ==
name)
97 settings.beginGroup(
"OuterBlurWave");
100 settings.setValue(
"colors", colors.remove(
";"));
101 const double opacity = 1.0;
102 settings.setValue(
"opacity", opacity);
static QString configFile()
static QList< VisualFactory * > factories()
TTK_MODULE_EXPORT void enabledVisualPlugin(const QString &name, bool enabled)
TTK_MODULE_EXPORT void updateConfig()
Effect plugin interface (effect factory).
TTK_MODULE_EXPORT void updateRippleConfig()
TTK_MODULE_EXPORT MusicPluginPropertyList effectPlugins()
static QList< EffectFactory * > factories()
static void setEnabled(EffectFactory *factory, bool enable=true)
TTK_MODULE_EXPORT QString pluginPath(const QString &module, const QString &format)
Visual plugin interface (visual factory).
static QString applicationPath()
TTK_MODULE_EXPORT void showEffectSetting(const QString &name, QWidget *parent)
#define ARCHIVE_DIR_DIR_FULL
The class of the plugin property.
static void setEnabled(VisualFactory *factory, bool enable=true)
TTK_MODULE_EXPORT void enabledEffectPlugin(bool enabled, const QString &name={})