Commit 0f69f954 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Update the plugin version for krita plugins

From 3 to 4

svn path=/trunk/koffice/; revision=1184149
parent 8c5dacde
......@@ -103,5 +103,5 @@ Comment[wa]=Ahive ene blanke imådje CMJN di 20000 x 800 picsels.
Comment[x-test]=xxCreates a white CMYK image of 2000 x 800 pixels.xx
Comment[zh_CN]=创建 2000 x 800 像素的白色 CMYK 图像。
Comment[zh_TW]=建立一個白色,2000 x 800 像素的 CMYK 圖片。
X-Krita-Version=2
X-Krita-Version=4
......@@ -24,4 +24,4 @@ Comment[pt_BR]=modelo para quadrinhos no estilo Europeu BD
Comment[sv]=seriemall med europeisk BD-stil
Comment[uk]=шаблон для європейських коміксів у стилі BD
Comment[x-test]=xxtemplate for European BD-style comicsxx
X-Krita-Version=2
X-Krita-Version=4
......@@ -24,4 +24,4 @@ Comment[pt_BR]=modelo para quadrinhos no estilo americano
Comment[sv]=seriemall med amerikansk stil
Comment[uk]=шаблон для коміксів у американському стилі
Comment[x-test]=xxtemplate for US-style comicsxx
X-Krita-Version=2
X-Krita-Version=4
......@@ -25,4 +25,4 @@ Comment[pt_BR]=modelo de quadrinhos no estilo japonês de Manga
Comment[sv]=seriemall med japansk Manga-stil
Comment[uk]=шаблон японських коміксів у стилі манґа
Comment[x-test]=xxtemplate for Japanese Manga-style comicsxx
X-Krita-Version=2
X-Krita-Version=4
......@@ -34,4 +34,4 @@ Comment[sv]=300 punkter/tum, A4 våffelmönstrad seriesida med bläck- och färg
Comment[uk]=300 т/д, сторінка коміксу у форматі A4 з комірками та шарами контурів та кольорів
Comment[x-test]=xx300 dpi, A4 waffle-iron grid comic page with ink and color layersxx
Comment[zh_TW]=300 dpi,A4 大小的烘餅鐵模狀的格線,有墨水與顏色圖層
X-Krita-Version=2
X-Krita-Version=4
......@@ -102,4 +102,4 @@ Comment[wa]=Ahive ene blanke imådje di 640 x 480 picsels avou ene blanke coleur
Comment[x-test]=xxCreates an image of 640 x 480 pixels with a white background.xx
Comment[zh_CN]=创建白色背景的 640 x 480 像素的图像。
Comment[zh_TW]=建立一個 640 x 480 像素,白色背景的圖片。
X-Krita-Version=2
X-Krita-Version=4
......@@ -104,4 +104,4 @@ Comment[wa]=Ahive ene transparinte imådje di 1024 x 768 picsels.
Comment[x-test]=xxCreates a transparent image of 1024 x 768 pixels.xx
Comment[zh_CN]=创建 1024 x 768 像素的透明图像。
Comment[zh_TW]=建立一個 1024 x 768 像素的透明圖片。
X-Krita-Version=2
X-Krita-Version=4
......@@ -105,4 +105,4 @@ Comment[wa]=Ahive ene transparinte imådje di 1280 x 1024 picsels.
Comment[x-test]=xxCreates a transparent image of 1280 x 1024 pixels.xx
Comment[zh_CN]=创建 1280x 1024 像素的透明图像。
Comment[zh_TW]=建立一個 1280 x 1024 像素的透明圖片。
X-Krita-Version=2
X-Krita-Version=4
......@@ -105,4 +105,4 @@ Comment[wa]=Ahive ene transparinte imådje di 1600 x 1200 picsels.
Comment[x-test]=xxCreates a transparent image of 1600 x 1200 pixels.xx
Comment[zh_CN]=创建 1600 x 1200 像素的透明图像。
Comment[zh_TW]=建立一個 1600 x 1200 像素的透明圖片。
X-Krita-Version=2
X-Krita-Version=4
......@@ -105,4 +105,4 @@ Comment[wa]=Ahive ene transparinte imådje di 640 x 480 picsels.
Comment[x-test]=xxCreates a transparent image of 640 x 480 pixels.xx
Comment[zh_CN]=创建 640 x 480 像素的透明图像。
Comment[zh_TW]=建立一個 640 x 480 像素的透明圖片。
X-Krita-Version=2
X-Krita-Version=4
......@@ -107,4 +107,4 @@ Comment[wa]=Ahive ene blanke imådje RVB di 1024 x 768 picsels.
Comment[x-test]=xxCreates a white RGB image of 1024 x 768 pixels.xx
Comment[zh_CN]=创建 1024 x 768 像素的 RGB 白色背景图像。
Comment[zh_TW]=建立一個 1024 x 768 像素的白色 RGB 圖片。
X-Krita-Version=2
X-Krita-Version=4
......@@ -105,4 +105,4 @@ Comment[wa]=Ahive ene blanke imådje RVB di 1280 x 1024 picsels.
Comment[x-test]=xxCreates a white RGB image of 1280 x 1024 pixels.xx
Comment[zh_CN]=创建 1080 x 1024 像素的 RGB 白色背景图像。
Comment[zh_TW]=建立一個 1280 x 1024 像素的白色 RGB 圖片。
X-Krita-Version=2
X-Krita-Version=4
......@@ -105,4 +105,4 @@ Comment[wa]=Ahive ene blanke imådje RVB di 1600 x 1200 picsels.
Comment[x-test]=xxCreates a white RGB image of 1600 x 1200 pixels.xx
Comment[zh_CN]=创建 1600 x 1200 像素的 RGB 白色背景图像。
Comment[zh_TW]=建立一個 1600 x 1200 像素的白色 RGB 圖片。
X-Krita-Version=2
X-Krita-Version=4
......@@ -107,4 +107,4 @@ Comment[wa]=hive ene blanke imådje RVB di 640 x 480 picsels.
Comment[x-test]=xxCreates a white RGB image of 640 x 480 pixels.xx
Comment[zh_CN]=创建 640 x 480 像素的 RGB 白色背景图像。
Comment[zh_TW]=建立一個 640 x 480 像素的白色 RGB 圖片。
X-Krita-Version=2
X-Krita-Version=4
......@@ -59,7 +59,7 @@ KisPaintOpRegistry* KisPaintOpRegistry::instance()
{
K_GLOBAL_STATIC(KisPaintOpRegistry, s_instance);
if (!s_instance.exists()) {
KoPluginLoader::instance()->load("Krita/Paintop", "(Type == 'Service') and ([X-Krita-Version] == 3)");
KoPluginLoader::instance()->load("Krita/Paintop", "(Type == 'Service') and ([X-Krita-Version] == 4)");
}
return s_instance;
......
......@@ -60,7 +60,7 @@ KisFilterRegistry* KisFilterRegistry::instance()
KisFilterRegistry *reg = qApp->findChild<KisFilterRegistry *>("");
if (!reg) {
reg = new KisFilterRegistry(qApp);
KoPluginLoader::instance()->load("Krita/Filter", "Type == 'Service' and ([X-Krita-Version] == 3)");
KoPluginLoader::instance()->load("Krita/Filter", "Type == 'Service' and ([X-Krita-Version] == 4)");
}
return reg;
}
......
......@@ -58,7 +58,7 @@ KisGeneratorRegistry* KisGeneratorRegistry::instance()
KisGeneratorRegistry *reg = qApp->findChild<KisGeneratorRegistry *>("");
if (!reg) {
reg = new KisGeneratorRegistry(qApp);
KoPluginLoader::instance()->load("Krita/Generator", "Type == 'Service' and ([X-Krita-Version] == 3)");
KoPluginLoader::instance()->load("Krita/Generator", "Type == 'Service' and ([X-Krita-Version] == 4)");
}
return reg;
}
......
......@@ -156,4 +156,4 @@ X-KDE-NativeMimeType=application/x-krita
X-KDE-StartupNotify=true
X-DBUS-StartupType=Multi
X-DBUS-ServiceName=org.koffice.krita
X-Krita-Version=2
X-Krita-Version=4
......@@ -98,4 +98,4 @@ GenericName[x-test]=xxImage Objectxx
GenericName[zh_CN]=图像对象
GenericName[zh_TW]=圖片物件
Icon=krita
X-Krita-Version=2
X-Krita-Version=4
......@@ -29,4 +29,4 @@ Name[zh_TW]=尺規小助手工具
X-KDE-ServiceTypes=Krita/Tool
Type=Service
X-KDE-Library=kritarulerassistanttool
X-Krita-Version=3
X-Krita-Version=4
......@@ -26,4 +26,4 @@ Name[zh_TW]=背景圖片樣式選擇器
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritabackgrounds
X-Krita-Version=3
X-Krita-Version=4
......@@ -62,4 +62,4 @@ Comment[zh_TW]=bigbrother
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritabigbrother
X-Krita-Version=3
X-Krita-Version=4
......@@ -64,4 +64,4 @@ Comment[zh_TW]=Bracketing2HDR
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritabracketing2hdr
X-Krita-Version=3
X-Krita-Version=4
......@@ -44,4 +44,4 @@ Name[zh_TW]=色彩範圍
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritacolorrange
X-Krita-Version=3
X-Krita-Version=4
......@@ -44,4 +44,4 @@ Name[zh_TW]=色彩空間轉換
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritacolorspaceconversion
X-Krita-Version=3
X-Krita-Version=4
......@@ -31,4 +31,4 @@ Name[zh_TW]=編寫佈局外掛程式
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritalayercompose
X-Krita-Version=3
X-Krita-Version=4
......@@ -18,4 +18,4 @@ Name[zh_TW]=ColorSelectorNG
X-KDE-ServiceTypes=Krita/Dock
Type=Service
X-KDE-Library=kritacolorselectorng
X-Krita-Version=3
X-Krita-Version=4
......@@ -25,4 +25,4 @@ Name[zh_TW]=預設嵌入器
X-KDE-ServiceTypes=Krita/Dock
Type=Service
X-KDE-Library=kritadefaultdockers
X-Krita-Version=3
X-Krita-Version=4
......@@ -46,4 +46,4 @@ Comment[zh_TW]=數位混合器
X-KDE-ServiceTypes=Krita/Dock
Type=Service
X-KDE-Library=kritadigitalmixer
X-Krita-Version=3
X-Krita-Version=4
......@@ -58,4 +58,4 @@ Comment[zh_TW]=小型顏色選擇器
X-KDE-ServiceTypes=Krita/Dock
Type=Service
X-KDE-Library=kritasmallcolorselector
X-Krita-Version=3
X-Krita-Version=4
......@@ -58,4 +58,4 @@ Comment[zh_TW]=指定顏色選擇器
X-KDE-ServiceTypes=Krita/Dock
Type=Service
X-KDE-Library=kritaspecificcolorselector
X-Krita-Version=3
X-Krita-Version=4
......@@ -58,4 +58,4 @@ Comment[zh_TW]=三角型顏色選擇器
X-KDE-ServiceTypes=Krita/Dock
Type=Service
X-KDE-Library=kritatrianglecolorselector
X-Krita-Version=3
X-Krita-Version=4
......@@ -43,4 +43,4 @@ Name[zh_TW]=Dropshadow
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritadropshadow
X-Krita-Version=3
X-Krita-Version=4
......@@ -50,4 +50,4 @@ Comment[zh_TW]=延伸管理員
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritaextensionsmanager
X-Krita-Version=3
X-Krita-Version=4
......@@ -48,4 +48,4 @@ Name[zh_TW]=直方圖外掛程式
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritahistogram
X-Krita-Version=3
X-Krita-Version=4
......@@ -44,4 +44,4 @@ Name[zh_TW]=圖片大小與縮放外掛程式
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritaimagesize
X-Krita-Version=3
X-Krita-Version=4
......@@ -68,4 +68,4 @@ Comment[zh_TW]=中繼資料編輯器
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritametadataeditor
X-Krita-Version=3
X-Krita-Version=4
......@@ -44,4 +44,4 @@ Name[zh_TW]=變更選取
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritamodifyselection
X-Krita-Version=3
X-Krita-Version=4
......@@ -31,4 +31,4 @@ Name[zh_TW]=圖畫混合器
X-KDE-ServiceTypes=Krita/Dock
Type=Service
X-KDE-Library=kritapainterlymixer
X-Krita-Version=3
X-Krita-Version=4
......@@ -47,4 +47,4 @@ Name[zh_TW]=旋轉圖片外掛程式
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritarotateimage
X-Krita-Version=3
X-Krita-Version=4
......@@ -93,4 +93,4 @@ Comment[zh_TW]=允許執行命令稿
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritascripting
X-Krita-Version=3
X-Krita-Version=4
......@@ -46,4 +46,4 @@ Name[zh_TW]=分離色頻外掛程式
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritaseparatechannels
X-Krita-Version=3
X-Krita-Version=4
......@@ -40,4 +40,4 @@ Name[zh_TW]=修剪圖片外掛程式
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritashearimage
X-Krita-Version=3
X-Krita-Version=4
......@@ -44,4 +44,4 @@ Comment[zh_TW]=過濾器使用之 Shiva 核心語言支援
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritashivafilters
X-Krita-Version=3
X-Krita-Version=4
......@@ -44,4 +44,4 @@ Comment[zh_TW]=產生器使用之 Shiva 核心語言支援
X-KDE-ServiceTypes=Krita/Generator
Type=Service
X-KDE-Library=kritashivagenerators
X-Krita-Version=3
X-Krita-Version=4
......@@ -70,4 +70,4 @@ Comment[zh_TW]=Together
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritatogether
X-Krita-Version=3
X-Krita-Version=4
......@@ -60,4 +60,4 @@ Comment[zh_TW]=tonemapping
X-KDE-ServiceTypes=Krita/ViewPlugin
Type=Service
X-KDE-Library=kritatonemapping
X-Krita-Version=3
X-Krita-Version=4
......@@ -42,4 +42,4 @@ Name[zh_TW]=皺褶過濾器(延伸)
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritablurfilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -84,4 +84,4 @@ Comment[zh_TW]=Bumpmap 的過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritabumpmap
X-Krita-Version=3
X-Krita-Version=4
......@@ -47,4 +47,4 @@ Name[zh_TW]=色彩過濾器(延伸)
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritaextensioncolorsfilters
X-Krita-Version=3
X-Krita-Version=4
......@@ -101,4 +101,4 @@ Comment[zh_TW]=色彩過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritacolorsfilters
X-Krita-Version=3
X-Krita-Version=4
......@@ -86,4 +86,4 @@ Comment[zh_TW]=皺褶過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritaconvolutionfilters
X-Krita-Version=3
X-Krita-Version=4
......@@ -94,4 +94,4 @@ Comment[zh_TW]=立體過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritacubismfilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -42,4 +42,4 @@ Comment[zh_TW]=曝光過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritadodgeburn
X-Krita-Version=3
X-Krita-Version=4
......@@ -82,4 +82,4 @@ Comment[zh_TW]=浮雕過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritaembossfilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -91,4 +91,4 @@ Comment[zh_TW]=倒轉圖片的色彩
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritaexample
X-Krita-Version=3
X-Krita-Version=4
......@@ -81,4 +81,4 @@ Name[zh_TW]=色彩轉換過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritafastcolortransferfilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -91,4 +91,4 @@ Comment[zh_TW]=增強圖片的品質
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritaimageenhancement
X-Krita-Version=3
X-Krita-Version=4
......@@ -78,4 +78,4 @@ Comment[zh_TW]=等級
ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritalevelfilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -91,4 +91,4 @@ Comment[zh_TW]=在圖片中增加雜訊
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritanoisefilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -91,4 +91,4 @@ Comment[zh_TW]=油畫過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritaoilpaintfilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -28,4 +28,4 @@ Comment[x-test]=xxPhong Bumpmap filterxx
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritaphongbumpmap
X-Krita-Version=3
X-Krita-Version=4
......@@ -95,4 +95,4 @@ Comment[zh_TW]=像素化過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritapixelizefilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -94,4 +94,4 @@ Comment[zh_TW]=雨滴過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritaraindropsfilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -77,4 +77,4 @@ Name[zh_TW]=隨機挑選過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritarandompickfilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -23,4 +23,4 @@ Name[zh_TW]=圓角過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritaroundcornersfilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -43,4 +43,4 @@ Name[zh_TW]=小塊拼貼過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritasmalltilesfilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -43,4 +43,4 @@ Name[zh_TW]=Sobel 過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritasobelfilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -45,4 +45,4 @@ Name[zh_TW]=增強過濾器(延伸)
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritaunsharpfilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -83,4 +83,4 @@ Name[zh_TW]=Wave 過濾器
X-KDE-ServiceTypes=Krita/Filter
Type=Service
X-KDE-Library=kritawavefilter
X-Krita-Version=3
X-Krita-Version=4
......@@ -60,4 +60,4 @@ Comment[zh_TW]=產生一實心顏色
X-KDE-ServiceTypes=Krita/Generator
Type=Service
X-KDE-Library=kritacolorgenerator
X-Krita-Version=3
X-Krita-Version=4
......@@ -29,4 +29,4 @@ Name[zh_TW]=粉筆刷
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritachalkpaintop
X-Krita-Version=3
X-Krita-Version=4
......@@ -33,4 +33,4 @@ Name[zh_TW]=複色筆刷
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritacomplexbrush
X-Krita-Version=3
X-Krita-Version=4
......@@ -28,4 +28,4 @@ Name[zh_TW]=曲線筆刷
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritacurvepaintop
X-Krita-Version=3
X-Krita-Version=4
......@@ -100,4 +100,4 @@ Comment[zh_TW]=預設繪圖操作
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritadefaultpaintops
X-Krita-Version=3
X-Krita-Version=4
......@@ -31,4 +31,4 @@ Name[zh_TW]=變形筆刷
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritadeformpaintop
X-Krita-Version=3
X-Krita-Version=4
......@@ -27,4 +27,4 @@ Name[zh_TW]=動態
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritadynapaintop
X-Krita-Version=3
X-Krita-Version=4
......@@ -23,4 +23,4 @@ Name[zh_TW]=實驗
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritaexperimentpaintop
X-Krita-Version=3
X-Krita-Version=4
......@@ -62,4 +62,4 @@ Comment[zh_TW]=濾鏡工具
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritafilterop
X-Krita-Version=3
X-Krita-Version=4
......@@ -41,4 +41,4 @@ Name[zh_TW]=格線
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritagridpaintop
X-Krita-Version=3
X-Krita-Version=4
......@@ -23,4 +23,4 @@ Name[zh_TW]=毛筆刷
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritahairypaintop
X-Krita-Version=3
X-Krita-Version=4
......@@ -17,4 +17,4 @@ Name[zh_TW]=影線筆刷
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritahatchingpaintop
X-Krita-Version=3
X-Krita-Version=4
......@@ -59,7 +59,7 @@ KisBrushRegistry* KisBrushRegistry::instance()
s_instance->add(new KisGbrBrushFactory());
s_instance->add(new KisAbrBrushFactory());
s_instance->add(new KisTextBrushFactory());
KoPluginLoader::instance()->load("Krita/Brush", "Type == 'Service' and ([X-Krita-Version] == 3)");
KoPluginLoader::instance()->load("Krita/Brush", "Type == 'Service' and ([X-Krita-Version] == 4)");
}
return s_instance;
}
......
......@@ -25,4 +25,4 @@ Name[zh_TW]=MyPaint 筆刷
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritamypaintpaintop
X-Krita-Version=3
X-Krita-Version=4
......@@ -23,4 +23,4 @@ Name[zh_TW]=粒子筆刷
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritaparticlepaintop
X-Krita-Version=3
X-Krita-Version=4
......@@ -16,4 +16,4 @@ Name[x-test]=xxSketch brushxx
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritasketchpaintop
X-Krita-Version=3
X-Krita-Version=4
......@@ -30,4 +30,4 @@ Name[zh_TW]=噴霧
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritaspraypaintop
X-Krita-Version=3
X-Krita-Version=4
......@@ -12,4 +12,4 @@ Name[x-test]=xxWatery Mixbrushxx
X-KDE-ServiceTypes=Krita/Paintop
Type=Service
X-KDE-Library=kritawaterymixpaintop
X-Krita-Version=3
X-Krita-Version=4
......@@ -56,4 +56,4 @@ Name[zh_TW]=預設工具
X-KDE-ServiceTypes=Krita/Tool
Type=Service
X-KDE-Library=kritadefaulttools
X-Krita-Version=3
X-Krita-Version=4