mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Plugins: Use embedded JSON metadata for shared library plugins
It is no longer needed to load the library to retrieve metadata.
This commit is contained in:
parent
dc3063fc63
commit
9828237159
|
@ -34,11 +34,6 @@ AdBlockPlugin::AdBlockPlugin()
|
|||
{
|
||||
}
|
||||
|
||||
DesktopFile AdBlockPlugin::metaData() const
|
||||
{
|
||||
return DesktopFile(QSL(":adblock/metadata.desktop"));
|
||||
}
|
||||
|
||||
void AdBlockPlugin::init(InitState state, const QString &settingsPath)
|
||||
{
|
||||
Q_UNUSED(settingsPath)
|
||||
|
|
|
@ -32,7 +32,6 @@ class AdBlockPlugin : public QObject, public PluginInterface
|
|||
|
||||
public:
|
||||
explicit AdBlockPlugin();
|
||||
DesktopFile metaData() const override;
|
||||
void init(InitState state, const QString &settingsPath) override;
|
||||
void unload() override;
|
||||
bool testPlugin() override;
|
||||
|
|
|
@ -43,7 +43,6 @@ public:
|
|||
|
||||
virtual ~PluginInterface() { }
|
||||
|
||||
virtual DesktopFile metaData() const = 0;
|
||||
virtual void init(InitState state, const QString &settingsPath) = 0;
|
||||
virtual void unload() = 0;
|
||||
virtual bool testPlugin() = 0;
|
||||
|
@ -66,6 +65,6 @@ public:
|
|||
virtual bool acceptNavigationRequest(WebPage *page, const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame) { Q_UNUSED(page); Q_UNUSED(url); Q_UNUSED(type); Q_UNUSED(isMainFrame); return true; }
|
||||
};
|
||||
|
||||
Q_DECLARE_INTERFACE(PluginInterface, "Falkon.Browser.PluginInterface/2.3")
|
||||
Q_DECLARE_INTERFACE(PluginInterface, "Falkon.Browser.PluginInterface/2.4")
|
||||
|
||||
#endif // PLUGININTERFACE_H
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include <QQmlEngine>
|
||||
#include <QQmlComponent>
|
||||
#include <QFileInfo>
|
||||
#include <QSettings>
|
||||
|
||||
bool Plugins::Plugin::isLoaded() const
|
||||
{
|
||||
|
@ -169,6 +170,30 @@ void Plugins::shutdown()
|
|||
}
|
||||
}
|
||||
|
||||
PluginSpec Plugins::createSpec(const QJsonObject &metaData)
|
||||
{
|
||||
const QString tempIcon = DataPaths::path(DataPaths::Temp) + QL1S("/icon");
|
||||
const QString tempMetadata = DataPaths::path(DataPaths::Temp) + QL1S("/metadata.desktop");
|
||||
QFile::remove(tempIcon);
|
||||
QFile::remove(tempMetadata);
|
||||
QSettings settings(tempMetadata, QSettings::IniFormat);
|
||||
settings.beginGroup(QSL("Desktop Entry"));
|
||||
for (auto it = metaData.begin(); it != metaData.end(); ++it) {
|
||||
const QString value = it.value().toString();
|
||||
if (it.key() == QL1S("Icon") && value.startsWith(QL1S("base64:"))) {
|
||||
QFile file(tempIcon);
|
||||
if (file.open(QFile::WriteOnly)) {
|
||||
file.write(QByteArray::fromBase64(value.mid(7).toUtf8()));
|
||||
settings.setValue(it.key(), tempIcon);
|
||||
}
|
||||
} else {
|
||||
settings.setValue(it.key(), it.value().toString());
|
||||
}
|
||||
}
|
||||
settings.sync();
|
||||
return createSpec(DesktopFile(tempMetadata));
|
||||
}
|
||||
|
||||
PluginSpec Plugins::createSpec(const DesktopFile &metaData)
|
||||
{
|
||||
PluginSpec spec;
|
||||
|
@ -241,7 +266,7 @@ void Plugins::loadAvailablePlugins()
|
|||
for (const QFileInfo &info : files) {
|
||||
Plugin plugin;
|
||||
const QString pluginPath = info.absoluteFilePath();
|
||||
if (info.isFile()) {
|
||||
if (info.isFile() && QLibrary::isLibrary(pluginPath)) {
|
||||
// SharedLibraryPlugin
|
||||
if (info.baseName() != QL1S("PyFalkon")) {
|
||||
plugin = loadSharedLibraryPlugin(pluginPath);
|
||||
|
@ -359,7 +384,7 @@ Plugins::Plugin Plugins::loadInternalPlugin(const QString &name)
|
|||
plugin.type = Plugin::InternalPlugin;
|
||||
plugin.pluginId = QSL("internal:adblock");
|
||||
plugin.internalInstance = new AdBlockPlugin();
|
||||
plugin.pluginSpec = createSpec(plugin.internalInstance->metaData());
|
||||
plugin.pluginSpec = createSpec(DesktopFile(QSL(":adblock/metadata.desktop")));
|
||||
return plugin;
|
||||
} else {
|
||||
return Plugin();
|
||||
|
@ -379,20 +404,12 @@ Plugins::Plugin Plugins::loadSharedLibraryPlugin(const QString &name)
|
|||
}
|
||||
}
|
||||
|
||||
QPluginLoader *loader = new QPluginLoader(fullPath);
|
||||
PluginInterface *iPlugin = qobject_cast<PluginInterface*>(loader->instance());
|
||||
|
||||
if (!iPlugin) {
|
||||
qWarning() << "Loading" << fullPath << "failed:" << loader->errorString();
|
||||
return Plugin();
|
||||
}
|
||||
|
||||
Plugin plugin;
|
||||
plugin.type = Plugin::SharedLibraryPlugin;
|
||||
plugin.pluginId = QSL("lib:%1").arg(QFileInfo(fullPath).fileName());
|
||||
plugin.pluginPath = fullPath;
|
||||
plugin.pluginLoader = loader;
|
||||
plugin.pluginSpec = createSpec(iPlugin->metaData());
|
||||
plugin.pluginLoader = new QPluginLoader(fullPath);
|
||||
plugin.pluginSpec = createSpec(plugin.pluginLoader->metaData().value(QSL("MetaData")).toObject());
|
||||
return plugin;
|
||||
}
|
||||
|
||||
|
@ -468,6 +485,10 @@ void Plugins::initSharedLibraryPlugin(Plugin *plugin)
|
|||
Q_ASSERT(plugin->type == Plugin::SharedLibraryPlugin);
|
||||
|
||||
plugin->instance = qobject_cast<PluginInterface*>(plugin->pluginLoader->instance());
|
||||
|
||||
if (!plugin->instance) {
|
||||
qWarning() << "Loading" << plugin->pluginPath << "failed:" << plugin->pluginLoader->errorString();
|
||||
}
|
||||
}
|
||||
|
||||
void Plugins::initPythonPlugin(Plugin *plugin)
|
||||
|
|
|
@ -93,6 +93,7 @@ public:
|
|||
// SpeedDial
|
||||
SpeedDial* speedDial() { return m_speedDial; }
|
||||
|
||||
static PluginSpec createSpec(const QJsonObject &metaData);
|
||||
static PluginSpec createSpec(const DesktopFile &metaData);
|
||||
|
||||
public Q_SLOTS:
|
||||
|
|
|
@ -60,11 +60,6 @@ void QmlPluginInterface::init(InitState state, const QString &settingsPath)
|
|||
m_init.call(args);
|
||||
}
|
||||
|
||||
DesktopFile QmlPluginInterface::metaData() const
|
||||
{
|
||||
return DesktopFile();
|
||||
}
|
||||
|
||||
void QmlPluginInterface::unload()
|
||||
{
|
||||
if (!m_unload.isCallable()) {
|
||||
|
|
|
@ -50,7 +50,6 @@ class QmlPluginInterface : public QObject, public PluginInterface
|
|||
public:
|
||||
explicit QmlPluginInterface();
|
||||
~QmlPluginInterface() override;
|
||||
DesktopFile metaData() const override;
|
||||
void init(InitState state, const QString &settingsPath) override;
|
||||
void unload() override;
|
||||
bool testPlugin() override;
|
||||
|
|
55
src/plugins/AutoScroll/autoscroll.json
Normal file
55
src/plugins/AutoScroll/autoscroll.json
Normal file
|
@ -0,0 +1,55 @@
|
|||
{
|
||||
"Comment": "Provides support for autoscroll with middle mouse button",
|
||||
"Comment[ca@valencia]": "Proporciona suport per al desplaçament automàtic amb el botó del mig del ratolí",
|
||||
"Comment[ca]": "Proporciona suport per al desplaçament automàtic amb el botó del mig del ratolí",
|
||||
"Comment[cs]": "Poskytuje podporu pro automatický posun pomocí prostředního tlačítka",
|
||||
"Comment[da]": "Giver understøttelse af autorul med den midterste museknap",
|
||||
"Comment[de]": "Automatisches Blättern mit der mittleren Maustaste",
|
||||
"Comment[en_GB]": "Provides support for autoscroll with middle mouse button",
|
||||
"Comment[es]": "Implementa ell desplazamiento automático con el botón medio del ratón",
|
||||
"Comment[fi]": "Tarjoaa automaattivieritystuen hiiren keskipainikkeelle",
|
||||
"Comment[fr]": "Prise en charge du défilement automatique à l'aide du bouton central de la souris",
|
||||
"Comment[gl]": "Fornece a funcionalidade de desprazamento automático co botón central",
|
||||
"Comment[id]": "Menyediakan dukungan untuk gulir otomatis dengan tombol tengah mouse",
|
||||
"Comment[it]": "Fornisce il supporto allo scorrimento automatico con il pulsante centrale del mouse",
|
||||
"Comment[nl]": "Bied ondersteuning voor auto-schuiven met middelste muisknop",
|
||||
"Comment[nn]": "Gjev støtte for autorulling med midtknappen på musa",
|
||||
"Comment[pl]": "Umożliwia automatyczne przewijanie przy pomocy środkowego przycisku myszy",
|
||||
"Comment[pt]": "Oferece o suporte para o deslocamento automático com o botão do meio do rato",
|
||||
"Comment[pt_BR]": "Fornece suporte para rolagem automática com o botão do meio do mouse",
|
||||
"Comment[sk]": "Poskytuje podporu pre Automatické posúvanie so stredným tlačidlom myši",
|
||||
"Comment[sv]": "Tillhandahåller stöd för automatisk rullning med musens mittenknapp",
|
||||
"Comment[uk]": "Забезпечує підтримку автогортання середньою кнопкою миші",
|
||||
"Comment[x-test]": "xxProvides support for autoscroll with middle mouse buttonxx",
|
||||
"Comment[zh_CN]": "为鼠标中键滚动提供支持",
|
||||
"Comment[zh_TW]": "提供使用滑鼠中鍵自動捲動的支援",
|
||||
"Icon": "base64:iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4QEbCTcPpN0dgwAABUJJREFUWMPtVn9oU1cU/l7SJLb5ga+xJZ0iZRm4LrMrKzhsYcgYRZBGuxmcbQ1rQUVox0TRrMxtgUnGREqoYtfBQgdi5spog1b/qMLKpEpXDZamtinpEmlJ06Qm6ctLzUt694c3XeqmW6MWNnbgwPt1zv3u98537gH+t/+IMQBENpttDQARvV91ADnRaLRxcXFRCAaDNQDEqw1EXFdXp0omk7+1tbURQRBGS0tL5ZSRVWNB6vf7D/f395Pq6moyNDREfD7fhwAk2bCRDXLRrl278vLz8z++ePEiAODChQvQaDQmnU4nyyanKAsWxO3t7Q03b97c6PV6AQBjY2MYHh7edOXKld3ZFOlKQYgMBkNuJgtpS7NRWloqfZEgGACM2WzeMjc3t1Emk4FhHq3FMAzEYjE4jtvU0dHx6ouSLENdUlxcvNbtdn/CcdyvMzMzKafTSQKBQCoajQ6MjY0dBqAEkJMR83waksFgkLpcriJa/XkA1AA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88eTE9Pn7XZbAt/EffcjvI0M0mz2dxeVVUVVavVAACNRoPKysrZpqam7+nOF/8pgKznSwCsz+dr7enpIdXV1aSvr4+43e7PqQSlWIWpWwxA3tjYuCkej0dMJhOJx+OB7du3F1MliFdt2gbAer3er+PxOHG73S2ryUImG3larbbw6tWr7yqVynW0h4iz3VXWQw+dtEQZEk5lU5DMM/6WtJMM/3fa78jUV/gAdoYYAAAAAElFTkSuQmCC",
|
||||
"Name": "AutoScroll",
|
||||
"Name[ca@valencia]": "Desplaçament automàtic",
|
||||
"Name[ca]": "Desplaçament automàtic",
|
||||
"Name[cs]": "Automatické posouvání",
|
||||
"Name[da]": "Autorul",
|
||||
"Name[de]": "Automatischer Bildlauf",
|
||||
"Name[en_GB]": "AutoScroll",
|
||||
"Name[es]": "Desplazamiento automático",
|
||||
"Name[fi]": "Automaattivieritys",
|
||||
"Name[fr]": "AutoScroll",
|
||||
"Name[gl]": "Desprazamento automático",
|
||||
"Name[id]": "AutoScroll",
|
||||
"Name[it]": "Scorrimento automatico",
|
||||
"Name[nl]": "Auto-schuiven",
|
||||
"Name[nn]": "Autorulling",
|
||||
"Name[pl]": "Automatyczne przewijanie",
|
||||
"Name[pt]": "Deslocamento Automático",
|
||||
"Name[pt_BR]": "AutoScroll",
|
||||
"Name[sk]": "Automatické posúvanie",
|
||||
"Name[sv]": "Rulla automatiskt",
|
||||
"Name[uk]": "Автогортання",
|
||||
"Name[x-test]": "xxAutoScrollxx",
|
||||
"Name[zh_CN]": "自动滚动",
|
||||
"Name[zh_TW]": "AutoScroll",
|
||||
"X-Falkon-Author": "David Rosca",
|
||||
"X-Falkon-Email": "nowrep@gmail.com",
|
||||
"X-Falkon-Settings": "true",
|
||||
"X-Falkon-Version": "1.0.1"
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/autoscroll">
|
||||
<file>metadata.desktop</file>
|
||||
<file>data/scroll_all.png</file>
|
||||
<file>data/scroll_all@2x.png</file>
|
||||
<file>data/scroll_horizontal.png</file>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include "pluginproxy.h"
|
||||
#include "mainapplication.h"
|
||||
#include "../config.h"
|
||||
#include "desktopfile.h"
|
||||
|
||||
AutoScrollPlugin::AutoScrollPlugin()
|
||||
: QObject()
|
||||
|
@ -30,11 +29,6 @@ AutoScrollPlugin::AutoScrollPlugin()
|
|||
{
|
||||
}
|
||||
|
||||
DesktopFile AutoScrollPlugin::metaData() const
|
||||
{
|
||||
return DesktopFile(QSL(":autoscroll/metadata.desktop"));
|
||||
}
|
||||
|
||||
void AutoScrollPlugin::init(InitState state, const QString &settingsPath)
|
||||
{
|
||||
Q_UNUSED(state)
|
||||
|
|
|
@ -27,12 +27,11 @@ class AutoScrollPlugin : public QObject, public PluginInterface
|
|||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(PluginInterface)
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.AutoScroll")
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.AutoScroll" FILE "autoscroll.json")
|
||||
|
||||
public:
|
||||
explicit AutoScrollPlugin();
|
||||
|
||||
DesktopFile metaData() const override;
|
||||
void init(InitState state, const QString &settingsPath) override;
|
||||
void unload() override;
|
||||
bool testPlugin() override;
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include "../config.h"
|
||||
#include "statusbar.h"
|
||||
#include "navigationbar.h"
|
||||
#include "desktopfile.h"
|
||||
|
||||
#include <QTimer>
|
||||
#include <QSettings>
|
||||
|
@ -65,11 +64,6 @@ FCM_Plugin::FCM_Plugin()
|
|||
{
|
||||
}
|
||||
|
||||
DesktopFile FCM_Plugin::metaData() const
|
||||
{
|
||||
return DesktopFile(QSL(":flashcookiemanager/metadata.desktop"));
|
||||
}
|
||||
|
||||
void FCM_Plugin::init(InitState state, const QString &settingsPath)
|
||||
{
|
||||
m_settingsPath = settingsPath;
|
||||
|
|
|
@ -46,12 +46,11 @@ class FCM_Plugin : public QObject, public PluginInterface
|
|||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(PluginInterface)
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.FlashCookieManager")
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.FlashCookieManager" FILE "flashcookiemanager.json")
|
||||
|
||||
public:
|
||||
explicit FCM_Plugin();
|
||||
|
||||
DesktopFile metaData() const override;
|
||||
void init(InitState state, const QString &settingsPath) override;
|
||||
void unload() override;
|
||||
bool testPlugin() override;
|
||||
|
|
54
src/plugins/FlashCookieManager/flashcookiemanager.json
Normal file
54
src/plugins/FlashCookieManager/flashcookiemanager.json
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/flashcookiemanager">
|
||||
<file>metadata.desktop</file>
|
||||
<file>data/flash-cookie-manager.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -1,56 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Flash Cookie Manager
|
||||
Name[ca]=Gestor de les galetes Flash
|
||||
Name[ca@valencia]=Gestor de les galetes Flash
|
||||
Name[cs]=Správce cookies pro Flash
|
||||
Name[da]=Håndtering af flash-cookie
|
||||
Name[de]=Flash-Cookie-Verwaltung
|
||||
Name[en_GB]=Flash Cookie Manager
|
||||
Name[es]=Gestor de cookies de Flash
|
||||
Name[fi]=Flash-evästeiden hallinta
|
||||
Name[fr]=Gestionnaire de cookies Flash
|
||||
Name[gl]=Xestor de cookies flash
|
||||
Name[id]=Flash Cookie Manager
|
||||
Name[it]=Gestore dei cookie in flash
|
||||
Name[nl]=Cookiebeheerder van Flash
|
||||
Name[nn]=Handsamar for Flash-infokapslar
|
||||
Name[pl]=Zarządzanie ciasteczkami Flash
|
||||
Name[pt]=Gestor de 'Cookies' do Flash
|
||||
Name[pt_BR]=Gerenciador de cookies Flash
|
||||
Name[sk]=Správca pre Flash Cookie
|
||||
Name[sv]=Flash kakhanterare
|
||||
Name[uk]=Керування куками Flash
|
||||
Name[x-test]=xxFlash Cookie Managerxx
|
||||
Name[zh_CN]=Flash Cookie 管理器
|
||||
Name[zh_TW]=Flash Cookie 管理員
|
||||
Comment=You can easily view/delete flash cookies stored on your computer. This is a solution for having more privacy.
|
||||
Comment[ca]=Podeu veure/eliminar fàcilment les galetes Flash emmagatzemades a l'ordinador. Aquesta és una solució per a tenir més privacitat.
|
||||
Comment[ca@valencia]=Podeu veure/eliminar fàcilment les galetes Flash emmagatzemades a l'ordinador. Aquesta és una solució per a tindre més privacitat.
|
||||
Comment[cs]=Můžete snadno prohlížet/mazat cookies pro flash uložené na vašem počítači. Toto je řešení pro větší soukromí.
|
||||
Comment[da]=Du kan let vise/slette flash-cookies som er lagret på din computer. En løsning til mere privatliv.
|
||||
Comment[de]=Flash-Cookies auf Ihrem Rechner können angezeigt oder gelöscht werden, damit wird Ihre Privatsphäre gesichert.
|
||||
Comment[en_GB]=You can easily view/delete flash cookies stored on your computer. This is a solution for having more privacy.
|
||||
Comment[es]=Usted puede ver/borrar fácilmente las cookies de flash guardadas en su equipo. Esta es una solución para disponer de más confidencialidad.
|
||||
Comment[fi]=Voit helposti tarkastella ja poistaa tietokoneelle tallennettuja Flash-evästeitä. Ratkaisu parantaa yksityisyytesi suojaa.
|
||||
Comment[fr]=Affichage et suppression facile des cookies stockés sur votre ordinateur. Une solution idéale pour gérer votre confidentialité.
|
||||
Comment[gl]=Pode ver e eliminar facilmente cookies flash almacenadas no seu computador. Isto é unha solución para ter máis intimidade.
|
||||
Comment[id]=Kamu bisa menampilkan/menghapus cookies flash yang tersimpan pada komputermu. Ini adalah sebuah solusi untuk membuat lebih privasi.
|
||||
Comment[it]=Puoi vedere o cancellare in maniera semplice i cookie in flash immagazzinati nel tuo computer. È una soluzione per avere una maggior privacy.
|
||||
Comment[nl]=U kunt gemakkelijk cookies van flash opgeslagen op uw computer bekijken/verwijderen. Dit is een oplossing om meer privacy te hebben.
|
||||
Comment[nn]=Du kan visa og sletta lagra Flash-infokapslar. Dette styrkjer personvernet.
|
||||
Comment[pl]=Możesz łatwo obejrzeć/usunąć ciasteczka Flash przechowywane na twoim komputerze. To rozwiązanie daje ci więcej prywatności.
|
||||
Comment[pt]=Poderá ver/apagar facilmente os 'cookies' do Flash gravados no seu computador. Esta é uma solução para ter mais privacidade.
|
||||
Comment[pt_BR]=Você pode facilmente ver/excluir cookies flash armazenados em seu computador. Isto é uma solução para ter mais privacidade.
|
||||
Comment[sk]=Tu môžete jednoducho prezerať/vymazať flassh cookies uložené na vašom počítači. Toto riešenie poskytuje viac súkromia.
|
||||
Comment[sv]=Det går enkelt att titta på eller ta bort Flash kakor lagrade på datorn. Det är en lösning på integritetsproblem.
|
||||
Comment[uk]=Спрощує перегляд і вилучення кук flash, які зберігаються на вашому комп'ютері. Це засіб для поліпшення захисту системи.
|
||||
Comment[x-test]=xxYou can easily view/delete flash cookies stored on your computer. This is a solution for having more privacy.xx
|
||||
Comment[zh_CN]=您可以轻松地查看/删除存储在您的计算机上的 Flash cookie。这是一个更注重隐私的解决方案。
|
||||
|
||||
Icon=:flashcookiemanager/data/flash-cookie-manager.png
|
||||
Type=Service
|
||||
|
||||
X-Falkon-Author=Razi Alavizadeh
|
||||
X-Falkon-Email=s.r.alavizadeh@gmail.com
|
||||
X-Falkon-Version=0.3.0
|
||||
X-Falkon-Settings=true
|
|
@ -7,11 +7,6 @@ set( GnomeKeyringPasswords_SRCS
|
|||
|
||||
ecm_create_qm_loader( GnomeKeyringPasswords_SRCS falkon_gnomekeyringpasswords_qt )
|
||||
|
||||
set( GnomeKeyringPasswords_RSCS
|
||||
gnomekeyringpasswords.qrc
|
||||
)
|
||||
qt5_add_resources(RSCS ${GnomeKeyringPasswords_RSCS})
|
||||
|
||||
add_library(GnomeKeyringPasswords MODULE ${GnomeKeyringPasswords_SRCS} ${RSCS})
|
||||
install(TARGETS GnomeKeyringPasswords DESTINATION ${FALKON_INSTALL_PLUGINDIR})
|
||||
target_link_libraries(GnomeKeyringPasswords PkgConfig::GNOME_KEYRING FalkonPrivate)
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.0 KiB |
54
src/plugins/GnomeKeyringPasswords/gnomekeyringpasswords.json
Normal file
54
src/plugins/GnomeKeyringPasswords/gnomekeyringpasswords.json
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"Comment": "Provides support for storing passwords in gnome-keyring",
|
||||
"Comment[ca@valencia]": "Proporciona suport per emmagatzemar les contrasenyes a l'anell de claus de Gnome",
|
||||
"Comment[ca]": "Proporciona suport per emmagatzemar les contrasenyes a l'anell de claus de Gnome",
|
||||
"Comment[cs]": "Poskytuje podporu pro ukládání hesel pomocí gnome-keyring",
|
||||
"Comment[da]": "Giver understøttelse af lagring af adgangskoder i gnome-nøglring",
|
||||
"Comment[de]": "Unterstützung für die Speicherung von Passwörtern in gnome-keyring",
|
||||
"Comment[en_GB]": "Provides support for storing passwords in gnome-keyring",
|
||||
"Comment[es]": "Implementa el almacenamiento de contraseñas en el anillo de claves de Gnome",
|
||||
"Comment[fi]": "Tarjoaa tuen salasanojen tallentamiseksi Gnomen avainrenkaaseen",
|
||||
"Comment[fr]": "Prise en charge de l'enregistrement de mots de passe au sein de gnome-keyring",
|
||||
"Comment[gl]": "Permite almacenar contrasinais en gnome-keyring",
|
||||
"Comment[id]": "Menyediakan dukungan untuk menyimpan sandi dalam gnome-keyring",
|
||||
"Comment[it]": "Fornisce un supporto all'immagazzinamento delle password nel portachiavi di Gnome",
|
||||
"Comment[nl]": "Biedt ondersteuning voor opslaan van GNOME-sleutelbos wachtwoorden",
|
||||
"Comment[nn]": "Gjev støtte for lagring av passord i Gnome-nøkkelringen",
|
||||
"Comment[pl]": "Zapewnia obsługę przechowywania haseł w pęku kluczy gnome",
|
||||
"Comment[pt]": "Oferece o suporte para gravar as senhas no 'gnome-keyring'",
|
||||
"Comment[pt_BR]": "Fornece suporte para armazenar senhas no gnome-keyring",
|
||||
"Comment[sk]": "Poskytuje podporu pre ukladanie hesiel do Gnome kľúčenky",
|
||||
"Comment[sv]": "Tillhandahåller stöd för att lagra lösenord i Gnome-nyckelring",
|
||||
"Comment[uk]": "Забезпечує підтримку зберігання паролів у gnome-keyring",
|
||||
"Comment[x-test]": "xxProvides support for storing passwords in gnome-keyringxx",
|
||||
"Comment[zh_CN]": "提供在 gnome-keyring 中保存密码的支持",
|
||||
"Icon": "base64:iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAAOdEVYdFRpdGxlAEZpcmV3YWxsEoGurgAAABd0RVh0QXV0aG9yAExhcG8gQ2FsYW1hbmRyZWnfkRoqAAAHa0lEQVRYw7VXeWybZx0OpR1buy2rOKpS2NFNjCOUP4Y2EFCh/bFyrxts0iqGGOdAQoOCUNkGirZ6SRM3TdK16VYm2NS0ieMkTepctmPHTnx/vu3YTnzfdnzFsf3ZjuOH9/NcqZp6pKaN9Cifvu9939/z/o7n93PTgQMHmq4Hq1V8t0aj6qAolUFDqdYJoiqVYkImk+2/0d7N4Lof1Wr1V4hBl2XRBKvdCLNND9OiDlqDGtJ5cVUoEnTcNgIURW0jxvXBcBCRWBhanRrzC3PE8BwU6gUYLFoIZmfA4409d1sIKNSKP+gMWqwk4pifl+ZnxfxfCgSC5pmZmS9OTfFEYuksNDolRka54dtCgNz0vN5MgSI3Fwhmjlz5bXLy3L3DI0Mpg1mD0bHh6vBw/95bTkAgnDFpjSqI5oTEzbzvXH4PtG5B8Lcvh0yvUUXP31Ib/t8XS94/Wsj/U/D+bvctI8CbvDSkJLGeFfHBHeW84vf7W4IBBy8YsJeDPlM1HnWgSCewUcmjTPtRTE1VNnwvZyvuX/3ilhAYGeMenhFMQaNXYog7mDVbjHQ+vwaappEv5JDNrsLr82IlakLU+wFyqxasl+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0mTmtJFRanH53cFIF33+t7RiIR59KZNAxGHXK5NfAFM+s9vSfG29radl7Pc8v8L7M88mfptbiUhOKfcFN/RiI8WfOG5dKDaQtvr9I8dv8/rk/g7JmRQNBfJYDT7QTT+UKhYLW7h20F8LEblZdt8hGWa+HHdDYqhs/4GpYULxGFjJCccBKPOGCd/GrRyGl+6KqbW1tb7+g783aeaUaUVkNun6tJbywWxam+3nXy/c7NqJx1/AHWsuT7dCYihFf/KhyERNj5LqrVDRhG9xSpS5/dftWNnZ3tPxznja0xBERiAdH7LLp7j69393bJ2ey2v97MxGO8uIdlFz9Fp8ms4NW9CqfmFZToGCjOzvw1Q9DV3XlhadlRDZORXKGSkQSM4kQvO9Pe3v61RgZP/fCnWTbhk3Q6xEfE8Q4c0hcq2sH75q5KgLh3KyGQIxMPNFpVLQGZruciedBzsivPYrF2NUJCy2k+quPuLunH95WU/Tusxg+adlyVQFtH21OcoYEs0/0mpi5h2eWoye2CTFru6mFnCMEtjY7gC+813SPr37qfeqdp+zXLsPN42/sUpa4yHXDkIhderwtT0xPr7R0s5aFDP93b1NR0F8E2glolkL+t9Xf3EDQT3FfHvQQ7CD5BsOWGvYA5kFnc2dWRYIzLyJQzSTywaDOD+W3I7jqWbmlpeZis+VT98O11A8zzJwl2E9xP8BDBgwSfI9hFsLO+btumCBw/0ZFzupagppS1vs9MvczzyVM96wcPHnz8IwS2129+mcDn68YfINhD8JlNE7iMY51v5bp7jleI4Gz09HZVyM3pY+w23Zus1nZyyN11d2+9gjgTgjvr3y6HoPmKENxxvRD8DzzDc11yXKSCAAAAAElFTkSuQmCC",
|
||||
"Name": "Gnome Keyring Passwords",
|
||||
"Name[ca@valencia]": "Contrasenyes a l'anell de claus de Gnome",
|
||||
"Name[ca]": "Contrasenyes a l'anell de claus de Gnome",
|
||||
"Name[cs]": "Hesla z klíčenky Gnome",
|
||||
"Name[da]": "Adgangskoder til Gnome-nøglering",
|
||||
"Name[de]": "Passwörter für Gnome Keyring",
|
||||
"Name[en_GB]": "Gnome Keyring Passwords",
|
||||
"Name[es]": "Anillo de contraseñas de Gnome",
|
||||
"Name[fi]": "Gnomen avainrenkaan salasankaat",
|
||||
"Name[fr]": "Trousseau de clés de GNOME",
|
||||
"Name[gl]": "Contrasinais do chaveiro de Gnome",
|
||||
"Name[id]": "Gnome Keyring Passwords",
|
||||
"Name[it]": "Portachiavi per le chiavi di Gnome",
|
||||
"Name[nl]": "GNOME-sleutelbos wachtwoorden",
|
||||
"Name[nn]": "Passord for Gnome-nøkkelring",
|
||||
"Name[pl]": "Hasła pęku kluczy Gnome",
|
||||
"Name[pt]": "Senhas no Porta-Chaves do Gnome",
|
||||
"Name[pt_BR]": "Senhas do chaveiro do GNOME",
|
||||
"Name[sk]": "Heslá Gnome kľúčenky",
|
||||
"Name[sv]": "Gnome-nyckelring lösenord",
|
||||
"Name[uk]": "Паролі сховища ключів Gnome",
|
||||
"Name[x-test]": "xxGnome Keyring Passwordsxx",
|
||||
"Name[zh_CN]": "Gnome 钥匙链密码",
|
||||
"Name[zh_TW]": "GNOME 鑰匙圈密碼",
|
||||
"X-Falkon-Author": "David Rosca",
|
||||
"X-Falkon-Email": "nowrep@gmail.com",
|
||||
"X-Falkon-Settings": "false",
|
||||
"X-Falkon-Version": "0.1.0"
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
<RCC>
|
||||
<qresource prefix="/gkp">
|
||||
<file>metadata.desktop</file>
|
||||
<file>data/icon.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
|
@ -23,7 +23,6 @@
|
|||
#include "mainapplication.h"
|
||||
#include "autofill.h"
|
||||
#include "passwordmanager.h"
|
||||
#include "desktopfile.h"
|
||||
|
||||
GnomeKeyringPlugin::GnomeKeyringPlugin()
|
||||
: QObject()
|
||||
|
@ -31,11 +30,6 @@ GnomeKeyringPlugin::GnomeKeyringPlugin()
|
|||
{
|
||||
}
|
||||
|
||||
DesktopFile GnomeKeyringPlugin::metaData() const
|
||||
{
|
||||
return DesktopFile(QSL(":gkp/metadata.desktop"));
|
||||
}
|
||||
|
||||
void GnomeKeyringPlugin::init(InitState state, const QString &settingsPath)
|
||||
{
|
||||
Q_UNUSED(state);
|
||||
|
|
|
@ -26,13 +26,11 @@ class GnomeKeyringPlugin : public QObject, public PluginInterface
|
|||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(PluginInterface)
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.GnomeKeyringPasswords")
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.GnomeKeyringPasswords" FILE "gnomekeyringpasswords.json")
|
||||
|
||||
public:
|
||||
explicit GnomeKeyringPlugin();
|
||||
|
||||
DesktopFile metaData() const override;
|
||||
|
||||
void init(InitState state, const QString &settingsPath);
|
||||
void unload();
|
||||
bool testPlugin();
|
||||
|
|
|
@ -1,56 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Gnome Keyring Passwords
|
||||
Name[ca]=Contrasenyes a l'anell de claus de Gnome
|
||||
Name[ca@valencia]=Contrasenyes a l'anell de claus de Gnome
|
||||
Name[cs]=Hesla z klíčenky Gnome
|
||||
Name[da]=Adgangskoder til Gnome-nøglering
|
||||
Name[de]=Passwörter für Gnome Keyring
|
||||
Name[en_GB]=Gnome Keyring Passwords
|
||||
Name[es]=Anillo de contraseñas de Gnome
|
||||
Name[fi]=Gnomen avainrenkaan salasankaat
|
||||
Name[fr]=Trousseau de clés de GNOME
|
||||
Name[gl]=Contrasinais do chaveiro de Gnome
|
||||
Name[id]=Gnome Keyring Passwords
|
||||
Name[it]=Portachiavi per le chiavi di Gnome
|
||||
Name[nl]=GNOME-sleutelbos wachtwoorden
|
||||
Name[nn]=Passord for Gnome-nøkkelring
|
||||
Name[pl]=Hasła pęku kluczy Gnome
|
||||
Name[pt]=Senhas no Porta-Chaves do Gnome
|
||||
Name[pt_BR]=Senhas do chaveiro do GNOME
|
||||
Name[sk]=Heslá Gnome kľúčenky
|
||||
Name[sv]=Gnome-nyckelring lösenord
|
||||
Name[uk]=Паролі сховища ключів Gnome
|
||||
Name[x-test]=xxGnome Keyring Passwordsxx
|
||||
Name[zh_CN]=Gnome 钥匙链密码
|
||||
Name[zh_TW]=GNOME 鑰匙圈密碼
|
||||
Comment=Provides support for storing passwords in gnome-keyring
|
||||
Comment[ca]=Proporciona suport per emmagatzemar les contrasenyes a l'anell de claus de Gnome
|
||||
Comment[ca@valencia]=Proporciona suport per emmagatzemar les contrasenyes a l'anell de claus de Gnome
|
||||
Comment[cs]=Poskytuje podporu pro ukládání hesel pomocí gnome-keyring
|
||||
Comment[da]=Giver understøttelse af lagring af adgangskoder i gnome-nøglring
|
||||
Comment[de]=Unterstützung für die Speicherung von Passwörtern in gnome-keyring
|
||||
Comment[en_GB]=Provides support for storing passwords in gnome-keyring
|
||||
Comment[es]=Implementa el almacenamiento de contraseñas en el anillo de claves de Gnome
|
||||
Comment[fi]=Tarjoaa tuen salasanojen tallentamiseksi Gnomen avainrenkaaseen
|
||||
Comment[fr]=Prise en charge de l'enregistrement de mots de passe au sein de gnome-keyring
|
||||
Comment[gl]=Permite almacenar contrasinais en gnome-keyring
|
||||
Comment[id]=Menyediakan dukungan untuk menyimpan sandi dalam gnome-keyring
|
||||
Comment[it]=Fornisce un supporto all'immagazzinamento delle password nel portachiavi di Gnome
|
||||
Comment[nl]=Biedt ondersteuning voor opslaan van GNOME-sleutelbos wachtwoorden
|
||||
Comment[nn]=Gjev støtte for lagring av passord i Gnome-nøkkelringen
|
||||
Comment[pl]=Zapewnia obsługę przechowywania haseł w pęku kluczy gnome
|
||||
Comment[pt]=Oferece o suporte para gravar as senhas no 'gnome-keyring'
|
||||
Comment[pt_BR]=Fornece suporte para armazenar senhas no gnome-keyring
|
||||
Comment[sk]=Poskytuje podporu pre ukladanie hesiel do Gnome kľúčenky
|
||||
Comment[sv]=Tillhandahåller stöd för att lagra lösenord i Gnome-nyckelring
|
||||
Comment[uk]=Забезпечує підтримку зберігання паролів у gnome-keyring
|
||||
Comment[x-test]=xxProvides support for storing passwords in gnome-keyringxx
|
||||
Comment[zh_CN]=提供在 gnome-keyring 中保存密码的支持
|
||||
|
||||
Icon=:gkp/data/icon.png
|
||||
Type=Service
|
||||
|
||||
X-Falkon-Author=David Rosca
|
||||
X-Falkon-Email=nowrep@gmail.com
|
||||
X-Falkon-Version=0.1.0
|
||||
X-Falkon-Settings=false
|
|
@ -24,7 +24,6 @@
|
|||
#include "tabwidget.h"
|
||||
#include "webtab.h"
|
||||
#include "../config.h"
|
||||
#include "desktopfile.h"
|
||||
|
||||
GM_Plugin::GM_Plugin()
|
||||
: QObject()
|
||||
|
@ -32,11 +31,6 @@ GM_Plugin::GM_Plugin()
|
|||
{
|
||||
}
|
||||
|
||||
DesktopFile GM_Plugin::metaData() const
|
||||
{
|
||||
return DesktopFile(QSL(":gm/metadata.desktop"));
|
||||
}
|
||||
|
||||
void GM_Plugin::init(InitState state, const QString &settingsPath)
|
||||
{
|
||||
m_manager = new GM_Manager(settingsPath, this);
|
||||
|
|
|
@ -27,11 +27,10 @@ class GM_Plugin : public QObject, public PluginInterface
|
|||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(PluginInterface)
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.GreaseMonkey")
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.GreaseMonkey" FILE "greasemonkey.json")
|
||||
|
||||
public:
|
||||
explicit GM_Plugin();
|
||||
DesktopFile metaData() const override;
|
||||
void init(InitState state, const QString &settingsPath) override;
|
||||
void unload() override;
|
||||
bool testPlugin() override;
|
||||
|
|
54
src/plugins/GreaseMonkey/greasemonkey.json
Normal file
54
src/plugins/GreaseMonkey/greasemonkey.json
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/gm">
|
||||
<file>metadata.desktop</file>
|
||||
<file>data/bootstrap.min.js</file>
|
||||
<file>data/values.min.js</file>
|
||||
<file>data/icon.svg</file>
|
||||
|
|
|
@ -1,56 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=GreaseMonkey
|
||||
Name[ca]=GreaseMonkey
|
||||
Name[ca@valencia]=GreaseMonkey
|
||||
Name[cs]=GreaseMonkey
|
||||
Name[da]=GreaseMonkey
|
||||
Name[de]=GreaseMonkey
|
||||
Name[en_GB]=GreaseMonkey
|
||||
Name[es]=GreaseMonkey
|
||||
Name[fi]=GreaseMonkey
|
||||
Name[fr]=GreaseMonkey
|
||||
Name[gl]=GreaseMonkey
|
||||
Name[id]=GreaseMonkey
|
||||
Name[it]=GreaseMonkey
|
||||
Name[nl]=GreaseMonkey
|
||||
Name[nn]=GreaseMonkey
|
||||
Name[pl]=GreaseMonkey
|
||||
Name[pt]=GreaseMonkey
|
||||
Name[pt_BR]=GreaseMonkey
|
||||
Name[sk]=GreaseMonkey
|
||||
Name[sv]=GreaseMonkey
|
||||
Name[uk]=GreaseMonkey
|
||||
Name[x-test]=xxGreaseMonkeyxx
|
||||
Name[zh_CN]=油猴
|
||||
Name[zh_TW]=GreaseMonkey
|
||||
Comment=Provides support for userscripts
|
||||
Comment[ca]=Proporciona suport per als scripts d'usuari
|
||||
Comment[ca@valencia]=Proporciona suport per als scripts d'usuari
|
||||
Comment[cs]=Poskytuje podporu pro uživatelské skripty
|
||||
Comment[da]=Giver understøttelse af brugerscripts
|
||||
Comment[de]=Unterstützung für Benutzerskripte
|
||||
Comment[en_GB]=Provides support for userscripts
|
||||
Comment[es]=Implementa guiones de usuario
|
||||
Comment[fi]=Tarjoaa käyttäjäskriptien tuen
|
||||
Comment[fr]=Prise en charge des scripts utilisateur.
|
||||
Comment[gl]=Permite scripts de usuario
|
||||
Comment[id]=Menyediakan dukungan untuk skrip pengguna
|
||||
Comment[it]=Fornisce un supporto agli script utente
|
||||
Comment[nl]=Biedt ondersteuning voor scripts van gebruikers
|
||||
Comment[nn]=Gjev støtte for brukarskript
|
||||
Comment[pl]=Zapewnia obsługę skryptów użytkownika
|
||||
Comment[pt]=Oferece o suporte para programas do utilizador
|
||||
Comment[pt_BR]=Fornece suporte para scripts do usuário
|
||||
Comment[sk]=Poskytuje podporu pre userscripts
|
||||
Comment[sv]=Tillhandahåller stöd för användarskript
|
||||
Comment[uk]=Забезпечує підтримку скриптів користувача
|
||||
Comment[x-test]=xxProvides support for userscriptsxx
|
||||
Comment[zh_CN]=为用户脚本提供支持
|
||||
|
||||
Icon=:gm/data/icon.svg
|
||||
Type=Service
|
||||
|
||||
X-Falkon-Author=David Rosca
|
||||
X-Falkon-Email=nowrep@gmail.com
|
||||
X-Falkon-Version=0.9.4
|
||||
X-Falkon-Settings=true
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/kdeframeworksintegration">
|
||||
<file>metadata.desktop</file>
|
||||
<file>data/icon.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include "mainapplication.h"
|
||||
#include "autofill.h"
|
||||
#include "passwordmanager.h"
|
||||
#include "desktopfile.h"
|
||||
#include "kioschemehandler.h"
|
||||
#include "webpage.h"
|
||||
#include "webview.h"
|
||||
|
@ -42,11 +41,6 @@ KDEFrameworksIntegrationPlugin::KDEFrameworksIntegrationPlugin()
|
|||
{
|
||||
}
|
||||
|
||||
DesktopFile KDEFrameworksIntegrationPlugin::metaData() const
|
||||
{
|
||||
return DesktopFile(QSL(":kdeframeworksintegration/metadata.desktop"));
|
||||
}
|
||||
|
||||
void KDEFrameworksIntegrationPlugin::init(InitState state, const QString &settingsPath)
|
||||
{
|
||||
Q_UNUSED(state);
|
||||
|
|
|
@ -28,12 +28,11 @@ class KDEFrameworksIntegrationPlugin : public QObject, public PluginInterface
|
|||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(PluginInterface)
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.KDEFrameworksIntegration")
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.KDEFrameworksIntegration" FILE "kdeframeworksintegration.json")
|
||||
|
||||
public:
|
||||
explicit KDEFrameworksIntegrationPlugin();
|
||||
|
||||
DesktopFile metaData() const override;
|
||||
void init(InitState state, const QString &settingsPath) override;
|
||||
void unload() override;
|
||||
bool testPlugin() override;
|
||||
|
|
|
@ -1,56 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=KDE Frameworks Integration
|
||||
Name[ca]=Integració amb els Frameworks del KDE
|
||||
Name[ca@valencia]=Integració amb els Frameworks del KDE
|
||||
Name[cs]=Integrace KDE Frameworks
|
||||
Name[da]=KDE Frameworks integration
|
||||
Name[de]=KDE-Frameworks-Integration
|
||||
Name[en_GB]=KDE Frameworks Integration
|
||||
Name[es]=Integración con la infraestructura de KDE
|
||||
Name[fi]=KDE Frameworks -integrointi
|
||||
Name[fr]=Intégration à KDE Frameworks
|
||||
Name[gl]=Integración coas infraestruturas de KDE
|
||||
Name[id]=KDE Frameworks Integration
|
||||
Name[it]=Integrazione con KDE Frameworks
|
||||
Name[nl]=KDE Frameworks integratie
|
||||
Name[nn]=Integrering med KDE Frameworks
|
||||
Name[pl]=Integracja ze Szkieletami KDE
|
||||
Name[pt]=Integração com as Plataformas do KDE
|
||||
Name[pt_BR]=Integração com o KDE Frameworks
|
||||
Name[sk]=KDE Frameworks Integrácia
|
||||
Name[sv]=Integration med KDE Ramverk
|
||||
Name[uk]=Інтерграція із KDE Frameworks
|
||||
Name[x-test]=xxKDE Frameworks Integrationxx
|
||||
Name[zh_CN]=KDE 框架集成
|
||||
Name[zh_TW]=KDE Frameworks 整合
|
||||
Comment=Provides support for KIO and storing passwords in KWallet
|
||||
Comment[ca]=Proporciona suport pel KIO i per emmagatzemar les contrasenyes al KWallet
|
||||
Comment[ca@valencia]=Proporciona suport pel KIO i per emmagatzemar les contrasenyes al KWallet
|
||||
Comment[cs]=Poskytuje podporu pro KIO a ukládání hesel v Kwallet
|
||||
Comment[da]=Giver understøttelse af KIO og lagring af adgangskoder i KWallet
|
||||
Comment[de]=Unterstützung für KIO und die Speicherung von Passwörtern in KWallet
|
||||
Comment[en_GB]=Provides support for KIO and storing passwords in KWallet
|
||||
Comment[es]=Implementa KIO y almacenamiento de contraseñas en KWallet
|
||||
Comment[fi]=Tarjoaa KIO-tuen sekä salasanojen tallentamisen KWalletiin
|
||||
Comment[fr]=Prise en charge de KIO et de l'enregistrement de mots de passe dans KWallet
|
||||
Comment[gl]=Fornece compatibilidade con KIO e permite almacenar contrasinais en KWallet
|
||||
Comment[id]=Menyediakan dukungan untuk KIO dan menyimpan sandi dalam KWallet
|
||||
Comment[it]=Fornisce un supporto per KIO e per l'immagazzinamento delle password in KWallet
|
||||
Comment[nl]=Biedt ondersteuning voor KIO en opslaan van wachtwoorden in KWallet
|
||||
Comment[nn]=Gjev støtte for KIO og lagring av passord i KWallet
|
||||
Comment[pl]=Zapewnia obsługę KIO i przechowywania haseł w KPortfelu
|
||||
Comment[pt]=Oferece o suporte para o KIO e para guardar as senhas no KWallet
|
||||
Comment[pt_BR]=Fornece suporte ao KIO e armazenamento de senhas no KWallet
|
||||
Comment[sk]=Poskytuje podporu pre KIO a ukladanie hesiel do KWalletu
|
||||
Comment[sv]=Tillhandahåller stöd KIO och för att lagra lösenord i plånboken
|
||||
Comment[uk]=Забезпечує підтримку засобів введення-виведення KIO і зберігання паролів у KWallet
|
||||
Comment[x-test]=xxProvides support for KIO and storing passwords in KWalletxx
|
||||
Comment[zh_CN]=提供在 KWallet 中保存密码以及 KIO 的支持
|
||||
|
||||
Icon=:kdeframeworksintegration/data/icon.svg
|
||||
Type=Service
|
||||
|
||||
X-Falkon-Author=David Rosca
|
||||
X-Falkon-Email=nowrep@gmail.com
|
||||
X-Falkon-Version=0.3.0
|
||||
X-Falkon-Settings=false
|
|
@ -1,56 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Mouse Gestures
|
||||
Name[ca]=Gestos del ratolí
|
||||
Name[ca@valencia]=Gestos del ratolí
|
||||
Name[cs]=Gesta myší
|
||||
Name[da]=Musebevægelser
|
||||
Name[de]=Mausgesten
|
||||
Name[en_GB]=Mouse Gestures
|
||||
Name[es]=Gestos de ratón
|
||||
Name[fi]=Hiirieleet
|
||||
Name[fr]=Mouvements de souris
|
||||
Name[gl]=Xestos do rato
|
||||
Name[id]=Gestur Mouse
|
||||
Name[it]=Gesti del mouse
|
||||
Name[nl]=Muisgebaren
|
||||
Name[nn]=Muserørsler
|
||||
Name[pl]=Gesty myszy
|
||||
Name[pt]=Gestos do Rato
|
||||
Name[pt_BR]=Gestos do mouse
|
||||
Name[sk]=Gestá myši
|
||||
Name[sv]=Musgester
|
||||
Name[uk]=Керування мишею
|
||||
Name[x-test]=xxMouse Gesturesxx
|
||||
Name[zh_CN]=鼠标手势
|
||||
Name[zh_TW]=滑鼠手勢
|
||||
Comment=Provides support for navigating in webpages by mouse gestures
|
||||
Comment[ca]=Proporciona suport per a navegar per les pàgines web amb els gestos del ratolí
|
||||
Comment[ca@valencia]=Proporciona suport per a navegar per les pàgines web amb els gestos del ratolí
|
||||
Comment[cs]=Poskytuje podporu pro procházení webových stránek pomocí gest myší
|
||||
Comment[da]=Giver understøttelse af navigering på websider med musebevægelser
|
||||
Comment[de]=Unterstützung für die Navigation auf Webseiten durch Mausgesten
|
||||
Comment[en_GB]=Provides support for navigating in webpages by mouse gestures
|
||||
Comment[es]=Implementa la navegación en páginas web mediante gestos de ratón
|
||||
Comment[fi]=Tarjoaa tuen verkkosivujen selaamiseksi hiirielein
|
||||
Comment[fr]=Prise en charge de la navigation Internet à l'aide de mouvements de la souris
|
||||
Comment[gl]=Permite navegar por páxinas web con acenos co rato
|
||||
Comment[id]=Menyediakan dukungan untuk menavigasi dalam halaman web dengan gestur mouse
|
||||
Comment[it]=Fornisce un supporto alla navigazione nelle pagine web per mezzo di gesti del mouse
|
||||
Comment[nl]=Biedt ondersteuning voor navigeren in webpagina's door muisgebaren
|
||||
Comment[nn]=Gjev støtte for muserørsler for nettsidenavigering
|
||||
Comment[pl]=Zapewnia obsługę poruszania się po stronach przy użyciu gestów myszy
|
||||
Comment[pt]=Oferece o suporte para navegar nas páginas Web com gestos do rato
|
||||
Comment[pt_BR]=Fornece suporte para navegação em sites usando gestos do mouse
|
||||
Comment[sk]=Poskytuje podporu pre navigovanie na webstránkach pomocou gest myši
|
||||
Comment[sv]=Tillhandahåller stöd för att navigera på webbsidor med musgester
|
||||
Comment[uk]=Забезпечує підтримку навігації сторінками за допомогою жестів вказівником миші
|
||||
Comment[x-test]=xxProvides support for navigating in webpages by mouse gesturesxx
|
||||
Comment[zh_CN]=提供使用鼠标笔势在网页中导航的支持
|
||||
|
||||
Icon=:mousegestures/data/icon.png
|
||||
Type=Service
|
||||
|
||||
X-Falkon-Author=David Rosca
|
||||
X-Falkon-Email=nowrep@gmail.com
|
||||
X-Falkon-Version=0.5.0
|
||||
X-Falkon-Settings=true
|
54
src/plugins/MouseGestures/mousegestures.json
Normal file
54
src/plugins/MouseGestures/mousegestures.json
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/mousegestures">
|
||||
<file>metadata.desktop</file>
|
||||
<file>data/icon.png</file>
|
||||
<file>data/down.gif</file>
|
||||
<file>data/down-left.gif</file>
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include "mainapplication.h"
|
||||
#include "browserwindow.h"
|
||||
#include "../config.h"
|
||||
#include "desktopfile.h"
|
||||
|
||||
MouseGesturesPlugin::MouseGesturesPlugin()
|
||||
: QObject()
|
||||
|
@ -29,11 +28,6 @@ MouseGesturesPlugin::MouseGesturesPlugin()
|
|||
{
|
||||
}
|
||||
|
||||
DesktopFile MouseGesturesPlugin::metaData() const
|
||||
{
|
||||
return DesktopFile(QSL(":mousegestures/metadata.desktop"));
|
||||
}
|
||||
|
||||
void MouseGesturesPlugin::init(InitState state, const QString &settingsPath)
|
||||
{
|
||||
Q_UNUSED(state)
|
||||
|
|
|
@ -25,12 +25,11 @@ class MouseGesturesPlugin : public QObject, public PluginInterface
|
|||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(PluginInterface)
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.MouseGestures")
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.MouseGestures" FILE "mousegestures.json")
|
||||
|
||||
public:
|
||||
MouseGesturesPlugin();
|
||||
|
||||
DesktopFile metaData() const override;
|
||||
void init(InitState state, const QString &settingsPath) override;
|
||||
void unload() override;
|
||||
bool testPlugin() override;
|
||||
|
|
54
src/plugins/PIM/PIM.json
Normal file
54
src/plugins/PIM/PIM.json
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"Comment": "Adds ability for Falkon to store some personal data",
|
||||
"Comment[ca@valencia]": "Afig la possibilitat que el Falkon emmagatzeme diverses dades personals",
|
||||
"Comment[ca]": "Afegeix la possibilitat que el Falkon emmagatzemi diverses dades personals",
|
||||
"Comment[cs]": "Přidává Falkonu schopnost ukládat nějaká osobní data",
|
||||
"Comment[da]": "Tilføjer mulighed for at Falkon kan lagre nogle personlige data",
|
||||
"Comment[de]": "Falkon kann einige persönliche Daten speichern",
|
||||
"Comment[en_GB]": "Adds ability for Falkon to store some personal data",
|
||||
"Comment[es]": "Añade a Falkon la facultad de guardar datos personales",
|
||||
"Comment[fi]": "Lisää Falkoniin kyvyn tallentaa henkilökohtaista tietoa",
|
||||
"Comment[fr]": "Ajout d'une capacité de stockage de certaines données personnelles par Falkon",
|
||||
"Comment[gl]": "Engade a posibilidade de que Falkon almacene algúns datos persoais",
|
||||
"Comment[id]": "Menambah kemampuan terhadap Falkon untuk menyimpan beberapa data pribadi",
|
||||
"Comment[it]": "Aggiunge a Falkon la capacità di immagazzinare alcuni dati personali",
|
||||
"Comment[nl]": "Biedt mogelijkheid voor Falkon om enige persoonlijke gegevens op te slaan",
|
||||
"Comment[nn]": "Gjer det mogleg for Falkon å lagra nokre persondata",
|
||||
"Comment[pl]": "Dodaje możliwość przechowywania pewnych danych osobowych",
|
||||
"Comment[pt]": "Adiciona ao Falkon a capacidade de guardar alguns dados pessoais",
|
||||
"Comment[pt_BR]": "Adiciona a habilidade ao Falkon para armazenar alguns dados pessoais",
|
||||
"Comment[sk]": "Pridáva do Falkonu podporu na ukladanie niektorých osobných údajov",
|
||||
"Comment[sv]": "Lägger till möjlighet för Falkon att lagra viss personlig information",
|
||||
"Comment[uk]": "Додає у Falkon можливість зберігати особисті дані",
|
||||
"Comment[x-test]": "xxAdds ability for Falkon to store some personal dataxx",
|
||||
"Comment[zh_CN]": "增加 Falkon 存储某些个人数据的能力",
|
||||
"Icon": "base64:iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAADdgAAA3YBfdWCzAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAg8SURBVHjaxVdbbBxnFf7+f/657ex613Y2viWxQ7J1Eq+jxnVKKURErfoGEkIqSAgkxCsSEkiISx+qvKCKqjzQB8QDD0jASyRELlJoWtSUNkBanJC2Tpo48SX22l2vN3ubmZ2dK2cmG6shRdm3nt3PZ/+Z+c/5zjlzzi+zKIrwWQrHZywCnyIX3jp/LZ3p29NxPLvjdlqO024S6pZt12zT3DItqyKEUldUpSHLoqFpakMVakNRREPK6I00TzeOHz9uogd5qATnzp1Txyd22TvzQxyI6ANSXU1y/3nf8+B6PsKIENy7z1gEFuv4I/GQc8m129bGq6+8dOG9d/7ywr+vWRuPzICW4Qc0TeNhFAIPOCcddTUALknQhRTvAEu8cvBEcYDWtKIv00zLzJibi0eGU/LXAPzmkQRYxKdVVU0ijcJw2znA8MmMMMa6V9n234RJdxWEATzXxcKNG2tq2GDDWWW+p3dACO1JiaKrNZv40+l/QCMy/RkdoztzGM1nkc2koOkqJIqeRxwR7xanq8IggOu7CMMwCWKtVDKzoj2s9kqAjD8Z0ObTb1zB1PQM1MwOWHYbZcvC8m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/YRi1sbGxKtltkbbffPNNH/9HeiPQOyGpiyBG1KPh/wLxyhJYPLb8qQAAAABJRU5ErkJggg==",
|
||||
"Name": "PIM",
|
||||
"Name[ca@valencia]": "PIM",
|
||||
"Name[ca]": "PIM",
|
||||
"Name[cs]": "PIM",
|
||||
"Name[da]": "PIM",
|
||||
"Name[de]": "PIM",
|
||||
"Name[en_GB]": "PIM",
|
||||
"Name[es]": "PIM",
|
||||
"Name[fi]": "Henkilökohtainen ajanhallinta",
|
||||
"Name[fr]": "PIM",
|
||||
"Name[gl]": "PIM",
|
||||
"Name[id]": "PIM",
|
||||
"Name[it]": "PIM",
|
||||
"Name[nl]": "PIM",
|
||||
"Name[nn]": "PIM",
|
||||
"Name[pl]": "ZIO",
|
||||
"Name[pt]": "PIM",
|
||||
"Name[pt_BR]": "PIM",
|
||||
"Name[sk]": "PIM",
|
||||
"Name[sv]": "Personlig information",
|
||||
"Name[uk]": "Керування інформацією",
|
||||
"Name[x-test]": "xxPIMxx",
|
||||
"Name[zh_CN]": "个人信息管理",
|
||||
"Name[zh_TW]": "PIM",
|
||||
"X-Falkon-Author": "Mladen Pejaković",
|
||||
"X-Falkon-Email": "pejakm@autistici.org",
|
||||
"X-Falkon-Settings": "true",
|
||||
"X-Falkon-Version": "0.2.0"
|
||||
}
|
|
@ -24,7 +24,6 @@
|
|||
#include "browserwindow.h"
|
||||
#include "webview.h"
|
||||
#include "../config.h"
|
||||
#include "desktopfile.h"
|
||||
|
||||
PIM_Plugin::PIM_Plugin()
|
||||
: QObject()
|
||||
|
@ -32,11 +31,6 @@ PIM_Plugin::PIM_Plugin()
|
|||
{
|
||||
}
|
||||
|
||||
DesktopFile PIM_Plugin::metaData() const
|
||||
{
|
||||
return DesktopFile(QSL(":PIM/metadata.desktop"));
|
||||
}
|
||||
|
||||
void PIM_Plugin::init(InitState state, const QString &settingsPath)
|
||||
{
|
||||
Q_UNUSED(state)
|
||||
|
|
|
@ -29,12 +29,11 @@ class PIM_Plugin : public QObject, public PluginInterface
|
|||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(PluginInterface)
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.PIM")
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.PIM" FILE "PIM.json")
|
||||
|
||||
public:
|
||||
PIM_Plugin();
|
||||
|
||||
DesktopFile metaData() const override;
|
||||
void init(InitState state, const QString &settingsPath) override;
|
||||
void unload() override;
|
||||
bool testPlugin() override;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/PIM">
|
||||
<file>metadata.desktop</file>
|
||||
<file>data/PIM.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -1,56 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=PIM
|
||||
Name[ca]=PIM
|
||||
Name[ca@valencia]=PIM
|
||||
Name[cs]=PIM
|
||||
Name[da]=PIM
|
||||
Name[de]=PIM
|
||||
Name[en_GB]=PIM
|
||||
Name[es]=PIM
|
||||
Name[fi]=Henkilökohtainen ajanhallinta
|
||||
Name[fr]=PIM
|
||||
Name[gl]=PIM
|
||||
Name[id]=PIM
|
||||
Name[it]=PIM
|
||||
Name[nl]=PIM
|
||||
Name[nn]=PIM
|
||||
Name[pl]=ZIO
|
||||
Name[pt]=PIM
|
||||
Name[pt_BR]=PIM
|
||||
Name[sk]=PIM
|
||||
Name[sv]=Personlig information
|
||||
Name[uk]=Керування інформацією
|
||||
Name[x-test]=xxPIMxx
|
||||
Name[zh_CN]=个人信息管理
|
||||
Name[zh_TW]=PIM
|
||||
Comment=Adds ability for Falkon to store some personal data
|
||||
Comment[ca]=Afegeix la possibilitat que el Falkon emmagatzemi diverses dades personals
|
||||
Comment[ca@valencia]=Afig la possibilitat que el Falkon emmagatzeme diverses dades personals
|
||||
Comment[cs]=Přidává Falkonu schopnost ukládat nějaká osobní data
|
||||
Comment[da]=Tilføjer mulighed for at Falkon kan lagre nogle personlige data
|
||||
Comment[de]=Falkon kann einige persönliche Daten speichern
|
||||
Comment[en_GB]=Adds ability for Falkon to store some personal data
|
||||
Comment[es]=Añade a Falkon la facultad de guardar datos personales
|
||||
Comment[fi]=Lisää Falkoniin kyvyn tallentaa henkilökohtaista tietoa
|
||||
Comment[fr]=Ajout d'une capacité de stockage de certaines données personnelles par Falkon
|
||||
Comment[gl]=Engade a posibilidade de que Falkon almacene algúns datos persoais
|
||||
Comment[id]=Menambah kemampuan terhadap Falkon untuk menyimpan beberapa data pribadi
|
||||
Comment[it]=Aggiunge a Falkon la capacità di immagazzinare alcuni dati personali
|
||||
Comment[nl]=Biedt mogelijkheid voor Falkon om enige persoonlijke gegevens op te slaan
|
||||
Comment[nn]=Gjer det mogleg for Falkon å lagra nokre persondata
|
||||
Comment[pl]=Dodaje możliwość przechowywania pewnych danych osobowych
|
||||
Comment[pt]=Adiciona ao Falkon a capacidade de guardar alguns dados pessoais
|
||||
Comment[pt_BR]=Adiciona a habilidade ao Falkon para armazenar alguns dados pessoais
|
||||
Comment[sk]=Pridáva do Falkonu podporu na ukladanie niektorých osobných údajov
|
||||
Comment[sv]=Lägger till möjlighet för Falkon att lagra viss personlig information
|
||||
Comment[uk]=Додає у Falkon можливість зберігати особисті дані
|
||||
Comment[x-test]=xxAdds ability for Falkon to store some personal dataxx
|
||||
Comment[zh_CN]=增加 Falkon 存储某些个人数据的能力
|
||||
|
||||
Icon=:PIM/data/PIM.png
|
||||
Type=Service
|
||||
|
||||
X-Falkon-Author=Mladen Pejaković
|
||||
X-Falkon-Email=pejakm@autistici.org
|
||||
X-Falkon-Version=0.2.0
|
||||
X-Falkon-Settings=true
|
|
@ -1,56 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=StatusBar Icons
|
||||
Name[ca]=Icones de la barra d'estat
|
||||
Name[ca@valencia]=Icones de la barra d'estat
|
||||
Name[cs]=Ikony stavové lišty
|
||||
Name[da]=Statuslinjeikoner
|
||||
Name[de]=Statusleisten-Symbole
|
||||
Name[en_GB]=StatusBar Icons
|
||||
Name[es]=Iconos de la barra de tareas
|
||||
Name[fi]=Tilarivin kuvakkeet
|
||||
Name[fr]=Icônes de la barre d'état
|
||||
Name[gl]=Iconas da barra de estado
|
||||
Name[id]=StatusBar Icons
|
||||
Name[it]=Icone della barra di stato
|
||||
Name[nl]=Pictogrammen op de statusbalk
|
||||
Name[nn]=Statuslinje-ikon
|
||||
Name[pl]=Ikony paska stanu
|
||||
Name[pt]=Ícones da Barra de Estado
|
||||
Name[pt_BR]=Ícones da barra de status
|
||||
Name[sk]=StatusBar Ikony
|
||||
Name[sv]=Ikoner i statusraden
|
||||
Name[uk]=Піктограми смужки стану
|
||||
Name[x-test]=xxStatusBar Iconsxx
|
||||
Name[zh_CN]=状态栏图标
|
||||
Name[zh_TW]=StatusBar 圖示
|
||||
Comment=Adds additional icons and zoom widget to statusbar
|
||||
Comment[ca]=Afegeix icones addicionals i un estri de zoom a la barra d'estat
|
||||
Comment[ca@valencia]=Afig icones addicionals i un estri de zoom a la barra d'estat
|
||||
Comment[cs]=Přidává dodatečné ikony a přibližovací widget do stavové lišty
|
||||
Comment[da]=Tilføjer yderligere ikoner og zoomwidget til statuslinje
|
||||
Comment[de]=Zusätzliche Symbole und Bedienelemente zum Vergrößern für die Statusleiste
|
||||
Comment[en_GB]=Adds additional icons and zoom widget to statusbar
|
||||
Comment[es]=Añade iconos adicionales y control de zum a la barra de estado
|
||||
Comment[fi]=Lisää tilariville kuvakkeita ja lähennyssovelman
|
||||
Comment[fr]=Ajout d'icônes supplémentaires et d'un composant graphique de zoom à la barre d'état
|
||||
Comment[gl]=Engade iconas adicionais e un trebello de ampliación á barra de estado
|
||||
Comment[id]=Menambah tambahan ikon dan zoom widget untuk bilah status
|
||||
Comment[it]=Aggiunge alla barra di stato alcune icone aggiuntive ed uno strumento di ingrandimento
|
||||
Comment[nl]=Voegt extra pictogrammen en zoomwidget toe aan de statusbalk
|
||||
Comment[nn]=Leggjer til fleire ikon og sideforstørring via statuslinja
|
||||
Comment[pl]=Dodaje różne ikony i widżet powiększania do pasku stanu
|
||||
Comment[pt]=Adiciona ícones extra e um item de ampliação à barra de estado
|
||||
Comment[pt_BR]=Adiciona ícones adicionais e widget de zoom na barra de status
|
||||
Comment[sk]=Pridáva ďalšie ikony a priblíženie do stavovej lišty
|
||||
Comment[sv]=Lägger till ytterligare ikoner och en zoomkomponent i statusraden
|
||||
Comment[uk]=Додає піктограми і віджет масштабування на смужку стану
|
||||
Comment[x-test]=xxAdds additional icons and zoom widget to statusbarxx
|
||||
Comment[zh_CN]=向状态栏添加其他图标和缩放小部件
|
||||
|
||||
Icon=:sbi/data/icon.png
|
||||
Type=Service
|
||||
|
||||
X-Falkon-Author=David Rosca
|
||||
X-Falkon-Email=nowrep@gmail.com
|
||||
X-Falkon-Version=0.2.0
|
||||
X-Falkon-Settings=true
|
54
src/plugins/StatusBarIcons/statusbaricons.json
Normal file
54
src/plugins/StatusBarIcons/statusbaricons.json
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"Comment": "Adds additional icons and zoom widget to statusbar",
|
||||
"Comment[ca@valencia]": "Afig icones addicionals i un estri de zoom a la barra d'estat",
|
||||
"Comment[ca]": "Afegeix icones addicionals i un estri de zoom a la barra d'estat",
|
||||
"Comment[cs]": "Přidává dodatečné ikony a přibližovací widget do stavové lišty",
|
||||
"Comment[da]": "Tilføjer yderligere ikoner og zoomwidget til statuslinje",
|
||||
"Comment[de]": "Zusätzliche Symbole und Bedienelemente zum Vergrößern für die Statusleiste",
|
||||
"Comment[en_GB]": "Adds additional icons and zoom widget to statusbar",
|
||||
"Comment[es]": "Añade iconos adicionales y control de zum a la barra de estado",
|
||||
"Comment[fi]": "Lisää tilariville kuvakkeita ja lähennyssovelman",
|
||||
"Comment[fr]": "Ajout d'icônes supplémentaires et d'un composant graphique de zoom à la barre d'état",
|
||||
"Comment[gl]": "Engade iconas adicionais e un trebello de ampliación á barra de estado",
|
||||
"Comment[id]": "Menambah tambahan ikon dan zoom widget untuk bilah status",
|
||||
"Comment[it]": "Aggiunge alla barra di stato alcune icone aggiuntive ed uno strumento di ingrandimento",
|
||||
"Comment[nl]": "Voegt extra pictogrammen en zoomwidget toe aan de statusbalk",
|
||||
"Comment[nn]": "Leggjer til fleire ikon og sideforstørring via statuslinja",
|
||||
"Comment[pl]": "Dodaje różne ikony i widżet powiększania do pasku stanu",
|
||||
"Comment[pt]": "Adiciona ícones extra e um item de ampliação à barra de estado",
|
||||
"Comment[pt_BR]": "Adiciona ícones adicionais e widget de zoom na barra de status",
|
||||
"Comment[sk]": "Pridáva ďalšie ikony a priblíženie do stavovej lišty",
|
||||
"Comment[sv]": "Lägger till ytterligare ikoner och en zoomkomponent i statusraden",
|
||||
"Comment[uk]": "Додає піктограми і віджет масштабування на смужку стану",
|
||||
"Comment[x-test]": "xxAdds additional icons and zoom widget to statusbarxx",
|
||||
"Comment[zh_CN]": "向状态栏添加其他图标和缩放小部件",
|
||||
"Icon": "base64:iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAIzUlEQVR4XrVXaWxT2RX+3vO+PS+ps5KQhGmAoQlFQCCZ0SBEmSqDUP+0ohK06h9gRh1phJAqVBWk9kcl/rTqj1FpkWiFugmYFDS0hVKWEmgoYQ2JszqJbbI4tmPHW2L72a/nvNqIkFFaunzS1fNbfM93zvnuOfcKWBnakZGR9wxG49vZTCYpy3I0l8vNLS4uRufn5+d8Pl/01q1bsWvXri3MzMzIAArFoSwfDL4uxUoEBJr4nS1bttwoKIoIQj6fh6Io0Go00Gi1EASBB71WFgqFwnwhn5+nb2I0onQfyxcK0TyRJuJzRDzKxFOpVMTj8fgOHz48DUDWruS90WRqUwCRDWezWQTDKaQXZVSUmWA1G2CxWEAQiYCFDFrom2piBC2RI4OQbDaIRFYpFCCIIoRiCDZt2pTdvn37Bxs3bjy7EgGNKAhuchnRuShuPQlD53LDYrfj/oMZbKgA6qsssNM9R0NHw+l0QiRDjIWFBczOzsJmtS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HRklfAbqGaH4+pCToPveZJ6N169Zx7649c+bM72ij2j4+Po5z586BdMHmqKfXYt++faDOWRKgMjU1lRgaGprq7e0dpmNaLwlsiN6NA5gmUlH6nWbHSPkFWmX4l0czCr904sSJH+zateujopcsHPaQ8wgK3yIVrRmazNvV1dVHpZzDOUbvWZkRMpikkaXwFwYGBhTab2AlaPEKuD1fuHDhKh2dvmG1Wl00gUx5DPF5jkLa//Tp0z4yMEojQEZDAOJ0n+FqSvVEoQMr/is0NzcLlP9y2tXsP3r06I937tx5jO6/RpFppWsdXe1ETt/a2iry3v//gs2bN4tkyMpEaDjpt5HPDy0tLarS/5f4B8A6IEO5tLBOAAAAAElFTkSuQmCC",
|
||||
"Name": "StatusBar Icons",
|
||||
"Name[ca@valencia]": "Icones de la barra d'estat",
|
||||
"Name[ca]": "Icones de la barra d'estat",
|
||||
"Name[cs]": "Ikony stavové lišty",
|
||||
"Name[da]": "Statuslinjeikoner",
|
||||
"Name[de]": "Statusleisten-Symbole",
|
||||
"Name[en_GB]": "StatusBar Icons",
|
||||
"Name[es]": "Iconos de la barra de tareas",
|
||||
"Name[fi]": "Tilarivin kuvakkeet",
|
||||
"Name[fr]": "Icônes de la barre d'état",
|
||||
"Name[gl]": "Iconas da barra de estado",
|
||||
"Name[id]": "StatusBar Icons",
|
||||
"Name[it]": "Icone della barra di stato",
|
||||
"Name[nl]": "Pictogrammen op de statusbalk",
|
||||
"Name[nn]": "Statuslinje-ikon",
|
||||
"Name[pl]": "Ikony paska stanu",
|
||||
"Name[pt]": "Ícones da Barra de Estado",
|
||||
"Name[pt_BR]": "Ícones da barra de status",
|
||||
"Name[sk]": "StatusBar Ikony",
|
||||
"Name[sv]": "Ikoner i statusraden",
|
||||
"Name[uk]": "Піктограми смужки стану",
|
||||
"Name[x-test]": "xxStatusBar Iconsxx",
|
||||
"Name[zh_CN]": "状态栏图标",
|
||||
"Name[zh_TW]": "StatusBar 圖示",
|
||||
"X-Falkon-Author": "David Rosca",
|
||||
"X-Falkon-Email": "nowrep@gmail.com",
|
||||
"X-Falkon-Settings": "true",
|
||||
"X-Falkon-Version": "0.2.0"
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/sbi">
|
||||
<file>metadata.desktop</file>
|
||||
<file>data/icon.png</file>
|
||||
<file>data/images.png</file>
|
||||
<file>data/javascript.png</file>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include "browserwindow.h"
|
||||
#include "../config.h"
|
||||
#include "mainapplication.h"
|
||||
#include "desktopfile.h"
|
||||
|
||||
StatusBarIconsPlugin::StatusBarIconsPlugin()
|
||||
: QObject()
|
||||
|
@ -30,11 +29,6 @@ StatusBarIconsPlugin::StatusBarIconsPlugin()
|
|||
{
|
||||
}
|
||||
|
||||
DesktopFile StatusBarIconsPlugin::metaData() const
|
||||
{
|
||||
return DesktopFile(QSL(":sbi/metadata.desktop"));
|
||||
}
|
||||
|
||||
void StatusBarIconsPlugin::init(InitState state, const QString &settingsPath)
|
||||
{
|
||||
m_manager = new SBI_IconsManager(settingsPath);
|
||||
|
|
|
@ -26,12 +26,11 @@ class StatusBarIconsPlugin : public QObject, public PluginInterface
|
|||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(PluginInterface)
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.StatusBarIcons")
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.StatusBarIcons" FILE "statusbaricons.json")
|
||||
|
||||
public:
|
||||
explicit StatusBarIconsPlugin();
|
||||
|
||||
DesktopFile metaData() const override;
|
||||
void init(InitState state, const QString &settingsPath) override;
|
||||
void unload() override;
|
||||
bool testPlugin() override;
|
||||
|
|
|
@ -1,56 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Tab Manager
|
||||
Name[ca]=Gestor de pestanyes
|
||||
Name[ca@valencia]=Gestor de pestanyes
|
||||
Name[cs]=Správce karet
|
||||
Name[da]=Fanebladshåndtering
|
||||
Name[de]=Unterfensterverwaltung
|
||||
Name[en_GB]=Tab Manager
|
||||
Name[es]=Gestor de pestañas
|
||||
Name[fi]=Välilehtien hallinta
|
||||
Name[fr]=Gestionnaire d'onglets
|
||||
Name[gl]=Xestor de lapelas
|
||||
Name[id]=Tab Manager
|
||||
Name[it]=Gestore delle schede
|
||||
Name[nl]=Tabbladbeheerder
|
||||
Name[nn]=Fanehandsamar
|
||||
Name[pl]=Zarządzanie kartami
|
||||
Name[pt]=Gestor de Páginas
|
||||
Name[pt_BR]=Gerenciador de guias
|
||||
Name[sk]=Správca kariet
|
||||
Name[sv]=Flikhanterare
|
||||
Name[uk]=Керування вкладками
|
||||
Name[x-test]=xxTab Managerxx
|
||||
Name[zh_CN]=标签页管理器
|
||||
Name[zh_TW]=分頁管理器
|
||||
Comment=Adds ability to managing tabs and windows
|
||||
Comment[ca]=Afegeix la possibilitat de gestionar les pestanyes i finestres
|
||||
Comment[ca@valencia]=Afig la possibilitat de gestionar les pestanyes i finestres
|
||||
Comment[cs]=Přidává schopnost správy karet a oken
|
||||
Comment[da]=Tilføjer mulighed for at håndtere faneblade og vinduer
|
||||
Comment[de]=Verwaltung von Unterfenstern und Fenstern
|
||||
Comment[en_GB]=Adds ability to managing tabs and windows
|
||||
Comment[es]=Añade la posibilidad de gestionar pestañas y ventanas
|
||||
Comment[fi]=Lisää kyvyn hallita välilehtiä ja ikkunoita
|
||||
Comment[fr]=Ajout d'une capacité de gestion des onglets et des fenêtres
|
||||
Comment[gl]=Engade a posibilidade de xestionar lapelas e xanelas
|
||||
Comment[id]=Menambah kemampuan untuk mengelola tab dan window
|
||||
Comment[it]=Aggiunge la capacità di gestione delle schede e delle finestre
|
||||
Comment[nl]=Voegt mogelijkheid toe om tabbladen en vensters te beheren
|
||||
Comment[nn]=Gjer det mogleg å handtera faner og vindauge
|
||||
Comment[pl]=Dodaje możliwość zarządzania kartami i oknami
|
||||
Comment[pt]=Adiciona a capacidade para gerir páginas e janelas
|
||||
Comment[pt_BR]=Adiciona a habilidade de gerenciar guias e janelas
|
||||
Comment[sk]=Pridáva schopnosť spravovať karty a okná
|
||||
Comment[sv]=Lägger till möjlighet att hantera flikar och fönster
|
||||
Comment[uk]=Додає можливість керування вкладками і вікнами
|
||||
Comment[x-test]=xxAdds ability to managing tabs and windowsxx
|
||||
Comment[zh_CN]=添加管理标签页和窗口的功能
|
||||
|
||||
Icon=:tabmanager/data/tabmanager.png
|
||||
Type=Service
|
||||
|
||||
X-Falkon-Author=Razi Alavizadeh
|
||||
X-Falkon-Email=s.r.alavizadeh@gmail.com
|
||||
X-Falkon-Version=0.8.0
|
||||
X-Falkon-Settings=true
|
54
src/plugins/TabManager/tabmanager.json
Normal file
54
src/plugins/TabManager/tabmanager.json
Normal file
File diff suppressed because one or more lines are too long
|
@ -26,7 +26,6 @@
|
|||
#include "tabbar.h"
|
||||
#include "tabmanagersettings.h"
|
||||
#include "../config.h"
|
||||
#include "desktopfile.h"
|
||||
|
||||
#include <QInputDialog>
|
||||
#include <QSettings>
|
||||
|
@ -46,11 +45,6 @@ TabManagerPlugin::TabManagerPlugin()
|
|||
{
|
||||
}
|
||||
|
||||
DesktopFile TabManagerPlugin::metaData() const
|
||||
{
|
||||
return DesktopFile(QSL(":tabmanager/metadata.desktop"));
|
||||
}
|
||||
|
||||
void TabManagerPlugin::init(InitState state, const QString &settingsPath)
|
||||
{
|
||||
Q_UNUSED(state)
|
||||
|
|
|
@ -34,12 +34,11 @@ class TabManagerPlugin : public QObject, public PluginInterface
|
|||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(PluginInterface)
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.TabManagerPlugin")
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.TabManagerPlugin" FILE "tabmanager.json")
|
||||
|
||||
public:
|
||||
explicit TabManagerPlugin();
|
||||
|
||||
DesktopFile metaData() const override;
|
||||
void init(InitState state, const QString &settingsPath) override;
|
||||
void unload() override;
|
||||
bool testPlugin() override;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/tabmanager">
|
||||
<file>metadata.desktop</file>
|
||||
<file>data/tabmanager.png</file>
|
||||
<file>data/tab-close.png</file>
|
||||
<file>data/tab-bookmark.png</file>
|
||||
|
|
|
@ -3,12 +3,6 @@ set( TestPlugin_SRCS
|
|||
testplugin_sidebar.cpp
|
||||
)
|
||||
|
||||
|
||||
set( TestPlugin_RSCS
|
||||
testplugin.qrc
|
||||
)
|
||||
qt5_add_resources(RSCS ${TestPlugin_RSCS})
|
||||
|
||||
ecm_create_qm_loader( TestPlugin_SRCS falkon_testplugin_qt )
|
||||
|
||||
add_library(TestPlugin MODULE ${TestPlugin_SRCS} ${RSCS})
|
||||
|
|
|
@ -1,57 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Example Plugin
|
||||
Name[ca]=Connector d'exemple
|
||||
Name[ca@valencia]=Connector d'exemple
|
||||
Name[cs]=Ukázkový modul
|
||||
Name[da]=Eksempel plugin
|
||||
Name[de]=Beispielmodul
|
||||
Name[en_GB]=Example Plugin
|
||||
Name[es]=Complemento de ejemplo
|
||||
Name[fi]=Esimerkkiliitännäinen
|
||||
Name[fr]=Exemple de module externe
|
||||
Name[gl]=Complemento de exemplo
|
||||
Name[id]=Example Plugin
|
||||
Name[it]=Estensione di esempio
|
||||
Name[nl]=Voorbeeld plug-in
|
||||
Name[nn]=Eksempel-tillegg
|
||||
Name[pl]=Przykładowa wtyczka
|
||||
Name[pt]='Plugin' de Exemplo
|
||||
Name[pt_BR]=Plugin de exemplo
|
||||
Name[sk]=Ukážkový doplnok
|
||||
Name[sv]=Exempelinsticksprogram
|
||||
Name[uk]=Приклад додатка
|
||||
Name[x-test]=xxExample Pluginxx
|
||||
Name[zh_CN]=示例插件
|
||||
Name[zh_TW]=外掛程式範例
|
||||
Comment=Very simple minimal plugin example
|
||||
Comment[ca]=Exemple molt senzill d'un connector mínim
|
||||
Comment[ca@valencia]=Exemple molt senzill d'un connector mínim
|
||||
Comment[cs]=Jednoduchá ukázka modulu
|
||||
Comment[da]=Meget simpelt minimalt plugin eksempel
|
||||
Comment[de]=Einfaches minimales Beispielmodul
|
||||
Comment[en_GB]=Very simple minimal plugin example
|
||||
Comment[es]=Complemento de ejemplo mínimo, muy sencillo
|
||||
Comment[fi]=Hyvin yksinkertainen esimerkki minimaalisesta liitännäisestä
|
||||
Comment[fr]=Exemple de module externe minimaliste très simple
|
||||
Comment[gl]=Exemplo de complemento mínimo moi simple
|
||||
Comment[id]=Contoh plugin minimal yang sangat sederhana
|
||||
Comment[it]=Estensione di esempio molto semplice e minimale
|
||||
Comment[nl]=Zeer eenvoudige minimaal voorbeeld voor plug-in
|
||||
Comment[nn]=Veldig enkelt og lite eksempel-tillegg
|
||||
Comment[pl]=Bardzo prosty i minimalny przykład wtyczki
|
||||
Comment[pt]='Plugin' de exemplo muito simples e minimalista
|
||||
Comment[pt_BR]=Um exemplo de plugin mínimo e simples
|
||||
Comment[sk]=Veľmi jednoduchý príkladový doplnok
|
||||
Comment[sv]=Mycket enkelt minimalt exempel på ett insticksprogram
|
||||
Comment[uk]=Дуже простий мінімальний приклад додатка
|
||||
Comment[x-test]=xxVery simple minimal plugin examplexx
|
||||
Comment[zh_CN]=非常简单的最小化插件示范
|
||||
Comment[zh_TW]=非常簡單的最小外掛程式範例
|
||||
|
||||
Icon=configure
|
||||
Type=Service
|
||||
|
||||
X-Falkon-Author=David Rosca
|
||||
X-Falkon-Email=nowrep@gmail.com
|
||||
X-Falkon-Version=0.1.7
|
||||
X-Falkon-Settings=true
|
|
@ -24,7 +24,6 @@
|
|||
#include "sidebar.h"
|
||||
#include "webhittestresult.h"
|
||||
#include "../config.h"
|
||||
#include "desktopfile.h"
|
||||
|
||||
#include <QMenu>
|
||||
#include <QPushButton>
|
||||
|
@ -33,13 +32,6 @@ TestPlugin::TestPlugin()
|
|||
: QObject()
|
||||
, m_view(0)
|
||||
{
|
||||
// Don't do anything expensive in constructor!
|
||||
// It will be called even if user doesn't have the plugin allowed
|
||||
}
|
||||
|
||||
DesktopFile TestPlugin::metaData() const
|
||||
{
|
||||
return DesktopFile(QSL(":testplugin/metadata.desktop"));
|
||||
}
|
||||
|
||||
void TestPlugin::init(InitState state, const QString &settingsPath)
|
||||
|
|
|
@ -32,12 +32,11 @@ class TestPlugin : public QObject, public PluginInterface
|
|||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(PluginInterface)
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.TestPlugin")
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.TestPlugin" FILE "testplugin.json")
|
||||
|
||||
public:
|
||||
explicit TestPlugin();
|
||||
|
||||
DesktopFile metaData() const override;
|
||||
void init(InitState state, const QString &settingsPath) override;
|
||||
void unload() override;
|
||||
bool testPlugin() override;
|
||||
|
|
55
src/plugins/TestPlugin/testplugin.json
Normal file
55
src/plugins/TestPlugin/testplugin.json
Normal file
|
@ -0,0 +1,55 @@
|
|||
{
|
||||
"Comment": "Very simple minimal plugin example",
|
||||
"Comment[ca@valencia]": "Exemple molt senzill d'un connector mínim",
|
||||
"Comment[ca]": "Exemple molt senzill d'un connector mínim",
|
||||
"Comment[cs]": "Jednoduchá ukázka modulu",
|
||||
"Comment[da]": "Meget simpelt minimalt plugin eksempel",
|
||||
"Comment[de]": "Einfaches minimales Beispielmodul",
|
||||
"Comment[en_GB]": "Very simple minimal plugin example",
|
||||
"Comment[es]": "Complemento de ejemplo mínimo, muy sencillo",
|
||||
"Comment[fi]": "Hyvin yksinkertainen esimerkki minimaalisesta liitännäisestä",
|
||||
"Comment[fr]": "Exemple de module externe minimaliste très simple",
|
||||
"Comment[gl]": "Exemplo de complemento mínimo moi simple",
|
||||
"Comment[id]": "Contoh plugin minimal yang sangat sederhana",
|
||||
"Comment[it]": "Estensione di esempio molto semplice e minimale",
|
||||
"Comment[nl]": "Zeer eenvoudige minimaal voorbeeld voor plug-in",
|
||||
"Comment[nn]": "Veldig enkelt og lite eksempel-tillegg",
|
||||
"Comment[pl]": "Bardzo prosty i minimalny przykład wtyczki",
|
||||
"Comment[pt]": "'Plugin' de exemplo muito simples e minimalista",
|
||||
"Comment[pt_BR]": "Um exemplo de plugin mínimo e simples",
|
||||
"Comment[sk]": "Veľmi jednoduchý príkladový doplnok",
|
||||
"Comment[sv]": "Mycket enkelt minimalt exempel på ett insticksprogram",
|
||||
"Comment[uk]": "Дуже простий мінімальний приклад додатка",
|
||||
"Comment[x-test]": "xxVery simple minimal plugin examplexx",
|
||||
"Comment[zh_CN]": "非常简单的最小化插件示范",
|
||||
"Comment[zh_TW]": "非常簡單的最小外掛程式範例",
|
||||
"Icon": "configure",
|
||||
"Name": "Example Plugin",
|
||||
"Name[ca@valencia]": "Connector d'exemple",
|
||||
"Name[ca]": "Connector d'exemple",
|
||||
"Name[cs]": "Ukázkový modul",
|
||||
"Name[da]": "Eksempel plugin",
|
||||
"Name[de]": "Beispielmodul",
|
||||
"Name[en_GB]": "Example Plugin",
|
||||
"Name[es]": "Complemento de ejemplo",
|
||||
"Name[fi]": "Esimerkkiliitännäinen",
|
||||
"Name[fr]": "Exemple de module externe",
|
||||
"Name[gl]": "Complemento de exemplo",
|
||||
"Name[id]": "Example Plugin",
|
||||
"Name[it]": "Estensione di esempio",
|
||||
"Name[nl]": "Voorbeeld plug-in",
|
||||
"Name[nn]": "Eksempel-tillegg",
|
||||
"Name[pl]": "Przykładowa wtyczka",
|
||||
"Name[pt]": "'Plugin' de Exemplo",
|
||||
"Name[pt_BR]": "Plugin de exemplo",
|
||||
"Name[sk]": "Ukážkový doplnok",
|
||||
"Name[sv]": "Exempelinsticksprogram",
|
||||
"Name[uk]": "Приклад додатка",
|
||||
"Name[x-test]": "xxExample Pluginxx",
|
||||
"Name[zh_CN]": "示例插件",
|
||||
"Name[zh_TW]": "外掛程式範例",
|
||||
"X-Falkon-Author": "David Rosca",
|
||||
"X-Falkon-Email": "nowrep@gmail.com",
|
||||
"X-Falkon-Settings": "true",
|
||||
"X-Falkon-Version": "0.1.7"
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
<RCC>
|
||||
<qresource prefix="/testplugin">
|
||||
<file>metadata.desktop</file>
|
||||
</qresource>
|
||||
</RCC>
|
|
@ -1,56 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Vertical Tabs
|
||||
Name[ca]=Pestanyes verticals
|
||||
Name[ca@valencia]=Pestanyes verticals
|
||||
Name[cs]=Svislé karty
|
||||
Name[da]=Lodrette faneblade
|
||||
Name[de]=Senkrechte Unterfenster
|
||||
Name[en_GB]=Vertical Tabs
|
||||
Name[es]=Pestañas verticales
|
||||
Name[fi]=Pystyvälilehdet
|
||||
Name[fr]=Onglets verticaux
|
||||
Name[gl]=Lapelas verticais
|
||||
Name[id]=Vertical Tabs
|
||||
Name[it]=Schede verticali
|
||||
Name[nl]=Verticale tabbladen
|
||||
Name[nn]=Loddrette faner
|
||||
Name[pl]=Pionowe karty
|
||||
Name[pt]=Páginas Verticais
|
||||
Name[pt_BR]=Guias verticais
|
||||
Name[sk]=Vertikálne karty
|
||||
Name[sv]=Vertikala flikar
|
||||
Name[uk]=Вертикальні вкладки
|
||||
Name[x-test]=xxVertical Tabsxx
|
||||
Name[zh_CN]=垂直标签页
|
||||
Name[zh_TW]=垂直分頁
|
||||
Comment=Adds ability to show tabs in sidebar
|
||||
Comment[ca]=Afegeix la possibilitat de mostrar les pestanyes a la barra lateral
|
||||
Comment[ca@valencia]=Afig la possibilitat de mostrar les pestanyes a la barra lateral
|
||||
Comment[cs]=Přidává schopnost zobrazit karty v postranní liště
|
||||
Comment[da]=Tilføjer mulighed for at vise faneblade i sidepanel
|
||||
Comment[de]=Anzeige von Unterfenstern in der Seitenleiste
|
||||
Comment[en_GB]=Adds ability to show tabs in sidebar
|
||||
Comment[es]=Añade la posibilidad de mostrar pestañas en la barra lateral
|
||||
Comment[fi]=Lisää kyvyn näyttää välilehdet sivupalkissa
|
||||
Comment[fr]=Prise en charge de l'affichage des onglets dans le panneau latéral
|
||||
Comment[gl]=Engade a posibilidade de mostrar lapelas na barra lateral
|
||||
Comment[id]=Menambah kemampuan untuk menampilkan tab dalam bilah sisi
|
||||
Comment[it]=Aggiunge la capacità di mostrare le schede nella barra laterale
|
||||
Comment[nl]=Voegt mogelijkheid toe om tabbladen in de zijbalk te tonen
|
||||
Comment[nn]=Gjer det mogleg å visa faner i sidestolpen
|
||||
Comment[pl]=Dodaje możliwość pokazywania kart na pasku bocznym
|
||||
Comment[pt]=Adiciona a capacidade de mostrar as páginas na barra lateral
|
||||
Comment[pt_BR]=Adiciona a habilidade de mostrar guias na barra lateral
|
||||
Comment[sk]=Pridáva schopnosť zobraziť karty v bočnom paneli
|
||||
Comment[sv]=Lägger till möjlighet att visa flikar i sidorader
|
||||
Comment[uk]=Додає можливість показу вкладок на бічній панелі
|
||||
Comment[x-test]=xxAdds ability to show tabs in sidebarxx
|
||||
Comment[zh_CN]=添加在边栏中显示标签页的功能
|
||||
|
||||
Icon=:verticaltabs/data/icon.svg
|
||||
Type=Service
|
||||
|
||||
X-Falkon-Author=David Rosca
|
||||
X-Falkon-Email=nowrep@gmail.com
|
||||
X-Falkon-Version=0.1.0
|
||||
X-Falkon-Settings=true
|
54
src/plugins/VerticalTabs/verticaltabs.json
Normal file
54
src/plugins/VerticalTabs/verticaltabs.json
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"Comment": "Adds ability to show tabs in sidebar",
|
||||
"Comment[ca@valencia]": "Afig la possibilitat de mostrar les pestanyes a la barra lateral",
|
||||
"Comment[ca]": "Afegeix la possibilitat de mostrar les pestanyes a la barra lateral",
|
||||
"Comment[cs]": "Přidává schopnost zobrazit karty v postranní liště",
|
||||
"Comment[da]": "Tilføjer mulighed for at vise faneblade i sidepanel",
|
||||
"Comment[de]": "Anzeige von Unterfenstern in der Seitenleiste",
|
||||
"Comment[en_GB]": "Adds ability to show tabs in sidebar",
|
||||
"Comment[es]": "Añade la posibilidad de mostrar pestañas en la barra lateral",
|
||||
"Comment[fi]": "Lisää kyvyn näyttää välilehdet sivupalkissa",
|
||||
"Comment[fr]": "Prise en charge de l'affichage des onglets dans le panneau latéral",
|
||||
"Comment[gl]": "Engade a posibilidade de mostrar lapelas na barra lateral",
|
||||
"Comment[id]": "Menambah kemampuan untuk menampilkan tab dalam bilah sisi",
|
||||
"Comment[it]": "Aggiunge la capacità di mostrare le schede nella barra laterale",
|
||||
"Comment[nl]": "Voegt mogelijkheid toe om tabbladen in de zijbalk te tonen",
|
||||
"Comment[nn]": "Gjer det mogleg å visa faner i sidestolpen",
|
||||
"Comment[pl]": "Dodaje możliwość pokazywania kart na pasku bocznym",
|
||||
"Comment[pt]": "Adiciona a capacidade de mostrar as páginas na barra lateral",
|
||||
"Comment[pt_BR]": "Adiciona a habilidade de mostrar guias na barra lateral",
|
||||
"Comment[sk]": "Pridáva schopnosť zobraziť karty v bočnom paneli",
|
||||
"Comment[sv]": "Lägger till möjlighet att visa flikar i sidorader",
|
||||
"Comment[uk]": "Додає можливість показу вкладок на бічній панелі",
|
||||
"Comment[x-test]": "xxAdds ability to show tabs in sidebarxx",
|
||||
"Comment[zh_CN]": "添加在边栏中显示标签页的功能",
|
||||
"Icon": "base64:PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMiAyMiI+CiAgPGRlZnMgaWQ9ImRlZnMzMDUxIj4KICAgIDxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyIgaWQ9ImN1cnJlbnQtY29sb3Itc2NoZW1lIj4KICAgICAgLkNvbG9yU2NoZW1lLVRleHQgewogICAgICAgIGNvbG9yOiM0ZDRkNGQ7CiAgICAgIH0KICAgICAgPC9zdHlsZT4KICA8L2RlZnM+CiA8cGF0aCAKICAgIHN0eWxlPSJmaWxsOmN1cnJlbnRDb2xvcjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZSIgCiAgICBk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E2IDE4IEwgOSAxOCB6ICIKCWNsYXNzPSJDb2xvclNjaGVtZS1UZXh0IgogICAgLz4gIAo8L3N2Zz4K",
|
||||
"Name": "Vertical Tabs",
|
||||
"Name[ca@valencia]": "Pestanyes verticals",
|
||||
"Name[ca]": "Pestanyes verticals",
|
||||
"Name[cs]": "Svislé karty",
|
||||
"Name[da]": "Lodrette faneblade",
|
||||
"Name[de]": "Senkrechte Unterfenster",
|
||||
"Name[en_GB]": "Vertical Tabs",
|
||||
"Name[es]": "Pestañas verticales",
|
||||
"Name[fi]": "Pystyvälilehdet",
|
||||
"Name[fr]": "Onglets verticaux",
|
||||
"Name[gl]": "Lapelas verticais",
|
||||
"Name[id]": "Vertical Tabs",
|
||||
"Name[it]": "Schede verticali",
|
||||
"Name[nl]": "Verticale tabbladen",
|
||||
"Name[nn]": "Loddrette faner",
|
||||
"Name[pl]": "Pionowe karty",
|
||||
"Name[pt]": "Páginas Verticais",
|
||||
"Name[pt_BR]": "Guias verticais",
|
||||
"Name[sk]": "Vertikálne karty",
|
||||
"Name[sv]": "Vertikala flikar",
|
||||
"Name[uk]": "Вертикальні вкладки",
|
||||
"Name[x-test]": "xxVertical Tabsxx",
|
||||
"Name[zh_CN]": "垂直标签页",
|
||||
"Name[zh_TW]": "垂直分頁",
|
||||
"X-Falkon-Author": "David Rosca",
|
||||
"X-Falkon-Email": "nowrep@gmail.com",
|
||||
"X-Falkon-Settings": "true",
|
||||
"X-Falkon-Version": "0.1.0"
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
<RCC>
|
||||
<qresource prefix="/verticaltabs">
|
||||
<file>metadata.desktop</file>
|
||||
<file>data/icon.svg</file>
|
||||
<file>data/group.svg</file>
|
||||
<file>data/index.html</file>
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include "sidebar.h"
|
||||
#include "networkmanager.h"
|
||||
#include "../config.h"
|
||||
#include "desktopfile.h"
|
||||
|
||||
#include <QSettings>
|
||||
|
||||
|
@ -37,11 +36,6 @@ VerticalTabsPlugin::VerticalTabsPlugin()
|
|||
{
|
||||
}
|
||||
|
||||
DesktopFile VerticalTabsPlugin::metaData() const
|
||||
{
|
||||
return DesktopFile(QSL(":verticaltabs/metadata.desktop"));
|
||||
}
|
||||
|
||||
void VerticalTabsPlugin::init(InitState state, const QString &settingsPath)
|
||||
{
|
||||
m_settingsPath = settingsPath + QL1S("/extensions.ini");
|
||||
|
|
|
@ -28,12 +28,11 @@ class VerticalTabsPlugin : public QObject, public PluginInterface
|
|||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(PluginInterface)
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.VerticalTabs")
|
||||
Q_PLUGIN_METADATA(IID "Falkon.Browser.plugin.VerticalTabs" FILE "verticaltabs.json")
|
||||
|
||||
public:
|
||||
explicit VerticalTabsPlugin();
|
||||
|
||||
DesktopFile metaData() const override;
|
||||
void init(InitState state, const QString &settingsPath) override;
|
||||
void unload() override;
|
||||
bool testPlugin() override;
|
||||
|
|
|
@ -17,8 +17,11 @@ function(install_qml_script name)
|
|||
)
|
||||
endfunction()
|
||||
|
||||
# install_python_script(hellopython)
|
||||
install_python_script(runaction)
|
||||
install_python_script(middleclickloader)
|
||||
|
||||
# install_qml_script(helloqml)
|
||||
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
install_python_script(hellopython)
|
||||
install_qml_script(helloqml)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user