[-]
[+]
|
Changed |
knewstuff-5.9.0.tar.xz/CMakeLists.txt
|
@@ -13,7 +13,7 @@
find_package(Qt5 ${REQUIRED_QT_VERSION} NO_MODULE REQUIRED COMPONENTS Widgets Xml)
# Not part of kdelibs
-set(KF5_VERSION "5.10.0") # handled by release scripts
+set(KF5_VERSION "5.9.0") # handled by release scripts
set(KF5_DEP_VERSION "5.9.0") # handled by release scripts
find_package(KF5Archive ${KF5_DEP_VERSION} REQUIRED)
find_package(KF5Completion ${KF5_DEP_VERSION} REQUIRED)
@@ -23,7 +23,6 @@
find_package(KF5IconThemes ${KF5_DEP_VERSION} REQUIRED)
find_package(KF5KIO ${KF5_DEP_VERSION} REQUIRED)
find_package(KF5ItemViews ${KF5_DEP_VERSION} REQUIRED)
-find_package(KF5Service ${KF5_DEP_VERSION} REQUIRED)
find_package(KF5TextWidgets ${KF5_DEP_VERSION} REQUIRED)
find_package(KF5WidgetsAddons ${KF5_DEP_VERSION} REQUIRED)
find_package(KF5XmlGui ${KF5_DEP_VERSION} REQUIRED)
|
[-]
[+]
|
Changed |
knewstuff-5.9.0.tar.xz/KF5NewStuffConfig.cmake.in
^
|
@@ -4,6 +4,5 @@
find_dependency(KF5XmlGui "@KF5_DEP_VERSION@")
find_dependency(KF5Attica "@KF5_DEP_VERSION@")
-find_dependency(KF5Service "@KF5_DEP_VERSION@")
include("${CMAKE_CURRENT_LIST_DIR}/KF5NewStuffTargets.cmake")
|
[-]
[+]
|
Changed |
knewstuff-5.9.0.tar.xz/data/CMakeLists.txt
^
|
@@ -2,6 +2,3 @@
thumb_frame.png
DESTINATION ${KDE_INSTALL_DATADIR_KF5}/knewstuff/pics)
-install(DIRECTORY
- kmoretools-desktopfiles/
- DESTINATION ${KDE_INSTALL_DATADIR_KF5}/kmoretools/presets-kmoretools)
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles
^
|
-(directory)
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/_INFO
^
|
@@ -1,7 +0,0 @@
-Files with "kmt-edition" in their names are created by the
-KMoreTools authors because nothing suitable was provided upstream.
-
-The goal should be bring the stuff upstream.
-
-All other files are copies of the upstream desktop file and 32x32 icon.
-The filename of the icon is specified in the .desktop file.
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/disk.desktop
^
|
@@ -1,65 +0,0 @@
-[Desktop Entry]
-X-SuSE-DocTeamID=ycc_disk
-Type=Application
-Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-System;
-
-X-KDE-HasReadOnlyMode=true
-X-SuSE-YaST-Call=disk
-
-X-SuSE-YaST-Group=System
-X-SuSE-YaST-Argument=
-X-SuSE-YaST-RootOnly=true
-X-SuSE-YaST-AutoInst=
-X-SuSE-YaST-Geometry=
-X-SuSE-YaST-SortKey=
-X-SuSE-YaST-AutoInstResource=
-
-Icon=yast-disk
-Exec=xdg-su -c "/sbin/yast2 disk"
-
-Name=Partitioner
-Name[ca]=Particionador
-Name[en_GB]=Partitioner
-Name[es]=Particionador
-Name[fi]=Osiointityökalu
-Name[gl]=Xestor de particións
-Name[it]=Partizionatore
-Name[ko]=파티션 도구
-Name[nl]=Programma voor partitionering
-Name[pl]=Partycjoner
-Name[pt]=Gestor de Partições
-Name[pt_BR]=Particionador
-Name[sk]=Správca partícií
-Name[sl]=Razdeljevalnik
-Name[sr]=Партиционер
-Name[sr@ijekavian]=Партиционер
-Name[sr@ijekavianlatin]=Particioner
-Name[sr@latin]=Particioner
-Name[sv]=Partitioner
-Name[uk]=Partitioner
-Name[x-test]=xxPartitionerxx
-Name[zh_CN]=分区管理
-GenericName=Partition hard disks (including RAID, LVM, and encrypted file systems)
-GenericName[ca]=Particiona discs durs (incloent RAID, LVM, i sistemes de fitxers encriptats)
-GenericName[en_GB]=Partition hard disks (including RAID, LVM, and encrypted file systems)
-GenericName[es]=Hacer particiones en discos duros (incluidos RAID, LVM y sistemas de archivos cifrados)
-GenericName[fi]=Osioi kiintolevyjä (mukaan lukien RAID, LVM ja salatut tiedostojärjestelmät)
-GenericName[gl]=Xestiona particións de discos duros (compatíbel con RAID, LVM, e sistemas de ficheiros cifrados).
-GenericName[it]=Partizionamento dischi fissi (inclusi RAID, LVM e filesystem cifrati)
-GenericName[ko]=하드 디스크 파티션 관리(RAID, LVM, 암호화된 파일 시스템 포함)
-GenericName[nl]=Harde schijven partitioneren (inclusief RAID, LVM en versleuteld bestandssystemen)
-GenericName[pl]=Partycjonowanie dysków twardych (uwzględniając w tym RAID, LVM oraz szyfrowane systemy plików)
-GenericName[pt]=Cria partições nos discos rígidos (incluindo sistemas de ficheiros RAID, LVM e encriptados)
-GenericName[pt_BR]=Partições de discos rígidos (incluindo sistemas de arquivos criptografados, RAID e LVM)
-GenericName[sk]=Spravovať partície na pevnom disku (vrátane RAID, LVM a šiforvaných súborových systémoch)
-GenericName[sl]=Razdelite trde diske (vključno z RAID, LVM in šifriranimi datotečnimi sistemi)
-GenericName[sr]=Партиционишите хард‑дискове (укљ. РАИД, ЛВМ, шифроване фајл системе)
-GenericName[sr@ijekavian]=Партиционишите хард‑дискове (укљ. РАИД, ЛВМ, шифроване фајл системе)
-GenericName[sr@ijekavianlatin]=Particionišite hard‑diskove (uklj. RAID, LVM, šifrovane fajl sisteme)
-GenericName[sr@latin]=Particionišite hard‑diskove (uklj. RAID, LVM, šifrovane fajl sisteme)
-GenericName[sv]=Partitionera hårddiskar (inklusive RAID, LVM och krypterade filsystem)
-GenericName[uk]=Програма для поділу дисків на розділи (зокрема створення RAID, LVM та шифрованих файлових систем)
-GenericName[x-test]=xxPartition hard disks (including RAID, LVM, and encrypted file systems)xx
-GenericName[zh_CN]=对硬盘进行分区 (包括 RAID,LVM 和加密文件系统)
-StartupNotify=true
-
|
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/filelight.png
^
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/git-cola-folder-handler.desktop
^
|
@@ -1,33 +0,0 @@
-[Desktop Entry]
-Name=Git Cola
-Name[ca]=Git Cola
-Name[en_GB]=Git Cola
-Name[es]=Git Cola
-Name[fi]=Git Cola
-Name[gl]=Git Cola
-Name[it]=Git Cola
-Name[ko]=Git Cola
-Name[nl]=Git Cola
-Name[pl]=Git Cola
-Name[pt]=Git Cola
-Name[pt_BR]=Git Cola
-Name[sk]=Git Cola
-Name[sl]=Git Cola
-Name[sr]=Гит‑кола
-Name[sr@ijekavian]=Гит‑кола
-Name[sr@ijekavianlatin]=git cola
-Name[sr@latin]=git cola
-Name[sv]=Git Cola
-Name[uk]=Git Cola
-Name[x-test]=xxGit Colaxx
-Name[zh_CN]=Git Cola
-TryExec=git-cola
-Exec=git-cola --repo %f
-Icon=git-cola
-NoDisplay=true
-Terminal=false
-StartupNotify=true
-Type=Application
-Categories=Development;RevisionControl;
-MimeType=inode/directory;
-
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/git-cola-view-history.kmt-edition.desktop
^
|
@@ -1,36 +0,0 @@
-# added for KMoreTools
-
-[Desktop Entry]
-Name=Git Cola (View History)
-Name[ca]=Git Cola (vista d'historial)
-Name[en_GB]=Git Cola (View History)
-Name[es]=Git Cola (ver historial)
-Name[fi]=Git Cola (Näytä historia)
-Name[gl]=Git Cola (Ver o historial)
-Name[it]=Git Cola (Visualizza cronologia)
-Name[ko]=Git Cola(기록 보기)
-Name[nl]=Git Cola (geschiedenis weergeven)
-Name[pl]=Git Cola (Oglądanie historii)
-Name[pt]=Git Cola (Ver o Histórico)
-Name[pt_BR]=Git Cola (Exibir histórico)
-Name[sk]=Git Cola (zobraziť históriu)
-Name[sl]=Git Cola (ogled zgodovine)
-Name[sr]=Гит‑кола (приказ историјата)
-Name[sr@ijekavian]=Гит‑кола (приказ историјата)
-Name[sr@ijekavianlatin]=Git cola (prikaz istorijata)
-Name[sr@latin]=Git cola (prikaz istorijata)
-Name[sv]=Git Cola (visa historik)
-Name[uk]=Git Cola (Перегляд журналу)
-Name[x-test]=xxGit Cola (View History)xx
-Name[zh_CN]=Git Cola (查看历史)
-TryExec=git-cola
-
-Exec=git-cola dag %f
-
-Icon=git-cola
-NoDisplay=true
-Terminal=false
-StartupNotify=true
-Type=Application
-Categories=Development;RevisionControl;
-MimeType=inode/directory;
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/git-cola.desktop
^
|
@@ -1,54 +0,0 @@
-[Desktop Entry]
-Name=Git Cola
-Name[ca]=Git Cola
-Name[en_GB]=Git Cola
-Name[es]=Git Cola
-Name[fi]=Git Cola
-Name[gl]=Git Cola
-Name[it]=Git Cola
-Name[ko]=Git Cola
-Name[nl]=Git Cola
-Name[pl]=Git Cola
-Name[pt]=Git Cola
-Name[pt_BR]=Git Cola
-Name[sk]=Git Cola
-Name[sl]=Git Cola
-Name[sr]=Гит‑кола
-Name[sr@ijekavian]=Гит‑кола
-Name[sr@ijekavianlatin]=git cola
-Name[sr@latin]=git cola
-Name[sv]=Git Cola
-Name[uk]=Git Cola
-Name[x-test]=xxGit Colaxx
-Name[zh_CN]=Git Cola
-Comment=The highly caffeinated Git GUI
-Comment[ca]=La IGU amb alta dosi de cafeïna del Git
-Comment[en_GB]=The highly caffeinated Git GUI
-Comment[es]=La interfaz de Git altamente cafeinada
-Comment[fi]=Erittäin kofeiinipitoinen graafinen Git-käyttöliittymä
-Comment[gl]=Unha interface gráfica de Git cun alto contido en cafeína.
-Comment[it]=L'interfaccia Git con tanta caffeina
-Comment[ko]=카페인 농도가 높은 Git GUI
-Comment[nl]=De hoog verrijkte Git-GUI
-Comment[pl]=Wysoko kofeinowy interfejs Git
-Comment[pt]=A interface gráfica do Git com muita cafeína
-Comment[pt_BR]=A interface gráfica do Git com muita cafeína
-Comment[sk]=Vysoko kofeínové Git GUI
-Comment[sl]=Uporabniški vmesnik za Git z visoko vsebnostjo kofeina
-Comment[sr]=Висококафеинско сучеље за Гит
-Comment[sr@ijekavian]=Висококафеинско сучеље за Гит
-Comment[sr@ijekavianlatin]=Visokokafeinsko sučelje za Git
-Comment[sr@latin]=Visokokafeinsko sučelje za Git
-Comment[sv]=Det koffeinberikade grafiska användargränssnittet för Git
-Comment[uk]=Дуже потужний графічний інтерфейс до Git
-Comment[x-test]=xxThe highly caffeinated Git GUIxx
-Comment[zh_CN]=高度含咖啡因的 Git 图形界面
-TryExec=git-cola
-Exec=git-cola --prompt
-Icon=git-cola
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Development;RevisionControl;
-X-KDE-SubstituteUID=false
-
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/git-cola.svg
^
|
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
-
-<svg
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:cc="http://creativecommons.org/ns#"
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:svg="http://www.w3.org/2000/svg"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- version="1.1"
- id="Layer_1"
- x="0px"
- y="0px"
- width="612px"
- height="578.313px"
- viewBox="0 0 612 578.313"
- xml:space="preserve"
- inkscape:version="0.48.2 r9819"
- sodipodi:docname="git-cola.svg"><metadata
- id="metadata3132"><rdf:RDF><cc:Work
- rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
- id="defs3130" /><sodipodi:namedview
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1"
- objecttolerance="10"
- gridtolerance="10"
- guidetolerance="10"
- inkscape:pageopacity="0"
- inkscape:pageshadow="2"
- inkscape:window-width="1123"
- inkscape:window-height="736"
- id="namedview3128"
- showgrid="false"
- inkscape:zoom="0.71933366"
- inkscape:cx="487.15771"
- inkscape:cy="236.62973"
- inkscape:window-x="0"
- inkscape:window-y="0"
- inkscape:window-maximized="0"
- inkscape:current-layer="Layer_1" />
-<g
- id="g3114">
- <path
- stroke-miterlimit="10"
- d="M570.999,265.218L330.862,25.083 c-13.843-13.834-36.287-13.834-50.112,0l-49.87,49.845l63.265,63.286c14.68-4.968,31.545-1.654,43.27,10.055 c11.791,11.812,15.086,28.809,9.959,43.574l60.999,60.949c14.722-5.067,31.755-1.799,43.542,10.02 c16.487,16.448,16.487,43.104,0,59.601c-16.493,16.457-43.125,16.457-59.622,0c-12.378-12.401-15.458-30.6-9.16-45.868 l-56.875-56.847v149.622c4.046,2.002,7.831,4.649,11.157,7.984c16.426,16.446,16.426,43.104,0,59.608 c-16.482,16.488-43.159,16.488-59.601,0c-16.484-16.505-16.484-43.162,0-59.608c4.064-4.076,8.758-7.152,13.794-9.217V217.094 c-5.036-2.064-9.72-5.116-13.794-9.197c-12.487-12.458-15.479-30.779-9.08-46.095l-62.353-62.343L41.723,264.113 c-13.847,13.834-13.847,36.261,0,50.083l240.146,240.176c13.809,13.781,36.246,13.781,50.109,0l239.021-239.07 C584.784,301.475,584.784,279.039,570.999,265.218z"
- id="path3116"
- stroke-width="4"
- stroke="#444444"
- fill="#F05133" />
-</g>
-
-<g
- transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,0,0)"
- style="font-size:177px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:#423f37;stroke-width:4;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;font-family:Yanone Kaffeesatz;-inkscape-font-specification:Yanone Kaffeesatz Bold"
- id="text3134"><path
- d="m 290.35504,77.843121 c -5e-5,1.29808 -0.11805,2.891078 -0.354,4.779 -0.23605,1.770074 -0.70805,3.717072 -1.416,5.841 -1.41605,-0.589929 -3.18604,-1.120929 -5.31,-1.593 -2.00604,-0.471928 -3.95304,-0.707927 -5.841,-0.708 -1.65204,7.3e-5 -3.24503,0.354072 -4.779,1.062 -1.41603,0.590071 -2.71403,1.94707 -3.894,4.071 -1.18003,2.006065 -2.12403,5.015062 -2.832,9.026999 -0.70802,4.01206 -1.06202,9.38105 -1.062,16.107 -2e-5,5.07404 0.17698,9.32203 0.531,12.744 0.35397,3.42203 0.94397,6.19502 1.77,8.319 0.94397,2.12402 2.18297,3.65802 3.717,4.602 1.53397,0.82602 3.48097,1.23902 5.841,1.239 1.88796,2e-5 3.89396,-0.23598 6.018,-0.708 2.12396,-0.47198 3.89395,-1.06198 5.31,-1.77 0.58995,2.24202 1.00295,4.18901 1.239,5.841 0.23595,1.53401 0.35395,3.06801 0.354,4.602 -5e-5,2.95001 -1.82905,5.31 -5.487,7.08 -3.54004,1.652 -8.14204,2.478 -13.806,2.478 -4.60203,0 -8.55502,-0.59 -11.859,-1.77 -3.30401,-1.18 -6.01801,-3.363 -8.142,-6.549 -2.12401,-3.18599 -3.71701,-7.61099 -4.779,-13.275 -0.944,-5.78197 -1.416,-13.27497 -1.416,-22.479 0,-10.61995 0.944,-19.056938 2.832,-25.310999 1.88799,-6.371926 4.30699,-11.209922 7.257,-14.514 3.06798,-3.421915 6.48998,-5.604913 10.266,-6.549 3.77597,-1.061911 7.49297,-1.59291 11.151,-1.593 4.36596,9e-5 7.90596,0.826089 10.62,2.478 2.71395,1.534086 4.07095,3.717084 4.071,6.549"
- style="line-height:125%;stroke:#423f37;font-family:Yanone Kaffeesatz;-inkscape-font-specification:Yanone Kaffeesatz Bold"
- id="path3924" /><path
- d="m 292.18588,114.65912 c 0,-16.047939 2.537,-27.670927 7.611,-34.868999 5.07399,-7.315914 12.33098,-10.97391 21.771,-10.974 4.71997,9e-5 8.79096,0.708089 12.213,2.124 3.53996,1.298086 6.43095,3.658084 8.673,7.08 2.24195,3.422077 3.89395,8.024073 4.956,13.806 1.17994,5.782061 1.76994,13.157049 1.77,22.124999 -6e-5,8.49604 -0.64906,15.75303 -1.947,21.771 -1.18005,5.90002 -3.00905,10.73801 -5.487,14.514 -2.36005,3.65801 -5.36904,6.372 -9.027,8.142 -3.65804,1.652 -7.84703,2.478 -12.567,2.478 -4.83802,0 -9.02702,-0.59 -12.567,-1.77 -3.42201,-1.062 -6.31301,-3.186 -8.673,-6.372 -2.242,-3.30399 -3.953,-7.96499 -5.133,-13.983 -1.062,-6.13597 -1.593,-14.15996 -1.593,-24.072 m 21.771,-0.177 c -2e-5,6.96204 0.11798,12.44903 0.354,16.461 0.35398,3.89402 0.76698,6.84402 1.239,8.85 0.58998,2.00602 1.29798,3.30402 2.124,3.894 0.94397,0.47202 1.94697,0.70802 3.009,0.708 0.82597,2e-5 1.65197,-0.23598 2.478,-0.708 0.82597,-0.58998 1.53397,-1.88798 2.124,-3.894 0.58997,-2.12398 1.06197,-5.13297 1.416,-9.027 0.47197,-4.01197 0.70797,-9.43996 0.708,-16.284 -3e-5,-6.37195 -0.11803,-11.44594 -0.354,-15.221999 -0.11803,-3.775937 -0.47203,-6.666934 -1.062,-8.673 -0.47203,-2.00593 -1.12103,-3.303929 -1.947,-3.894 -0.82603,-0.589927 -1.88803,-0.884927 -3.186,-0.885 -0.94403,7.3e-5 -1.88803,0.354073 -2.832,1.062 -0.82602,0.590071 -1.53402,1.88807 -2.124,3.894 -0.59002,2.006066 -1.06202,4.897063 -1.416,8.673 -0.35402,3.776059 -0.53102,8.791049 -0.531,15.044999"
- style="line-height:125%;stroke:#423f37;font-family:Yanone Kaffeesatz;-inkscape-font-specification:Yanone Kaffeesatz Bold"
- id="path3926" /><path
- d="m 377.42245,155.54612 c -3e-5,0.944 -0.11803,1.652 -0.354,2.124 -0.23603,0.472 -1.00303,0.826 -2.301,1.062 -1.18003,0.118 -3.12702,0.236 -5.841,0.354 -2.59602,0 -6.37201,0 -11.328,0 l 0,-121.421999 c -1e-5,-2.123877 0.23599,-3.775875 0.708,-4.956 0.58999,-1.179873 1.59299,-2.005872 3.009,-2.478 1.53399,-0.589871 3.59898,-0.943871 6.195,-1.062 2.59598,-0.11787 5.89997,-0.17687 9.912,-0.177 l 0,126.554999"
- style="line-height:125%;stroke:#423f37;font-family:Yanone Kaffeesatz;-inkscape-font-specification:Yanone Kaffeesatz Bold"
- id="path3928" /><path
- d="m 387.11043,80.144121 c 0,-1.06192 0.177,-2.182919 0.531,-3.363 0.472,-1.297917 1.121,-2.241916 1.947,-2.832 1.29799,-0.943914 4.24799,-2.005913 8.85,-3.186 4.60198,-1.297911 10.44297,-1.94691 17.523,-1.947 8.14196,9e-5 13.86495,1.593088 17.169,4.779 3.42195,3.186082 5.13295,8.791076 5.133,16.815 l 0,8.319 c -5e-5,5.074059 -5e-5,10.266049 0,15.575999 -5e-5,5.31004 -0.0591,10.44303 -0.177,15.399 -5e-5,4.95603 -0.0591,9.61702 -0.177,13.983 -0.11805,4.36601 -0.29505,8.20101 -0.531,11.505 -3.06805,1.77 -6.78505,3.127 -11.151,4.071 -4.24804,1.062 -9.02703,1.593 -14.337,1.593 -3.30402,0 -6.49002,-0.295 -9.558,-0.885 -2.95002,-0.59 -5.60501,-1.829 -7.965,-3.717 -2.24201,-1.88799 -4.07101,-4.66099 -5.487,-8.319 -1.416,-3.65798 -2.124,-8.55498 -2.124,-14.691 0,-6.01797 0.531,-10.91496 1.593,-14.691 1.17999,-3.89395 2.71399,-6.90295 4.602,-9.027 1.88799,-2.12395 4.07099,-3.53995 6.549,-4.248 2.47798,-0.82594 5.01498,-1.23894 7.611,-1.239 1.29798,6e-5 3.06797,0.17706 5.31,0.531 2.35997,0.35405 4.36597,1.06205 6.018,2.124 l 0,-12.212999 c -3e-5,-2.359933 -0.59003,-4.011932 -1.77,-4.956 -1.06203,-1.06193 -2.95003,-1.592929 -5.664,-1.593 -3.30402,7.1e-5 -6.96202,0.35407 -10.974,1.062 -3.89401,0.708069 -7.31601,1.593068 -10.266,2.655 -1.062,-2.005931 -1.77,-4.070929 -2.124,-6.195 -0.354,-2.123925 -0.531,-3.893923 -0.531,-5.31 m 31.329,39.824999 c -0.59003,-0.58996 -1.35703,-0.94396 -2.301,-1.062 -0.82603,-0.23596 -1.59303,-0.35396 -2.301,-0.354 -2.00603,4e-5 -3.54003,0.94404 -4.602,2.832 -1.06202,1.88804 -1.59302,5.66403 -1.593,11.328 -2e-5,4.24802 0.35398,7.31602 1.062,9.204 0.82597,1.77002 2.35997,2.65502 4.602,2.655 0.82597,2e-5 1.65197,-0.11798 2.478,-0.354 0.94397,-0.35398 1.71097,-0.82598 2.301,-1.416 0.11797,-0.94398 0.17697,-2.30098 0.177,-4.071 0.11797,-1.88798 0.17697,-3.89398 0.177,-6.018 -3e-5,-2.12397 -3e-5,-4.30697 0,-6.549 -3e-5,-2.24196 -3e-5,-4.30696 0,-6.195"
- style="line-height:125%;stroke:#423f37;font-family:Yanone Kaffeesatz;-inkscape-font-specification:Yanone Kaffeesatz Bold"
- id="path3930" /></g></svg>
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/gitg.desktop
^
|
@@ -1,81 +0,0 @@
-[Desktop Entry]
-X-SuSE-translate=true
-GenericName=Git repository viewer
-GenericName[ca]=Visualitzador del repositori Git
-GenericName[en_GB]=Git repository viewer
-GenericName[es]=Visor del repositorio Git
-GenericName[fi]=Git-varastokatselin
-GenericName[gl]=Visor de repositorios Git
-GenericName[it]=Visualizzatore depositi Git
-GenericName[ko]=Git 저장소 뷰어
-GenericName[nl]=Viewer van git-repository
-GenericName[pl]=Przeglądarka repozytorium Git
-GenericName[pt]=Visualizador de repositórios do Git
-GenericName[pt_BR]=Visualizador de repositórios Git
-GenericName[sk]=Prehliadač repozitárov Git
-GenericName[sl]=Pregledovalnik skladišč Git
-GenericName[sr]=Приказивач гит ризница
-GenericName[sr@ijekavian]=Приказивач гит ризница
-GenericName[sr@ijekavianlatin]=Prikazivač git riznica
-GenericName[sr@latin]=Prikazivač git riznica
-GenericName[sv]=Git-arkivvisning
-GenericName[uk]=Перегляд репозиторіїв Git
-GenericName[x-test]=xxGit repository viewerxx
-GenericName[zh_CN]=Git 仓库查看器
-Name=gitg
-Name[ca]=gitg
-Name[en_GB]=gitg
-Name[es]=gitg
-Name[fi]=gitg
-Name[gl]=gitg
-Name[it]=gitg
-Name[ko]=gitg
-Name[nl]=gitg
-Name[pl]=gitg
-Name[pt]=gitg
-Name[pt_BR]=gitg
-Name[sk]=gitg
-Name[sl]=gitg
-Name[sr]=ГитГ
-Name[sr@ijekavian]=ГитГ
-Name[sr@ijekavianlatin]=gitg
-Name[sr@latin]=gitg
-Name[sv]=gitg
-Name[uk]=gitg
-Name[x-test]=xxgitgxx
-Name[zh_CN]=
-Comment=Git repository browser
-Comment[ca]=Navegador pel repositori Git
-Comment[en_GB]=Git repository browser
-Comment[es]=Explorador del repositorio Git
-Comment[fi]=Git-varastokatselin
-Comment[gl]=Navegador de repositorios Git
-Comment[it]=Navigatore depositi Git
-Comment[ko]=Git 저장소 탐색기
-Comment[nl]=Browser van git-repository
-Comment[pl]=Przeglądarka repozytorium Git
-Comment[pt]=Navegador de repositórios do Git
-Comment[pt_BR]=Navegador de repositórios Git
-Comment[sk]=Prehliadač repozitárov Git
-Comment[sl]=Brskalnik po skladiščih Git
-Comment[sr]=Прегледач гит ризница
-Comment[sr@ijekavian]=Прегледач гит ризница
-Comment[sr@ijekavianlatin]=Pregledač git riznica
-Comment[sr@latin]=Pregledač git riznica
-Comment[sv]=Git-arkivbläddrare
-Comment[uk]=Засіб для перегляду сховищ Git
-Comment[x-test]=xxGit repository browserxx
-Comment[zh_CN]=Git 仓库浏览器
-Exec=gitg --no-wd %U
-TryExec=gitg
-Terminal=false
-Type=Application
-Icon=gitg
-Categories=GNOME;GTK;Development;RevisionControl;
-MimeType=x-scheme-handler/gitg;
-#X-GNOME-DocPath=gitg/gitg.xml
-X-GNOME-Bugzilla-Bugzilla=GNOME
-X-GNOME-Bugzilla-Product=gitg
-X-GNOME-Bugzilla-Component=core
-X-GNOME-Bugzilla-Version=3.14.0
-
|
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/gitg.png
^
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/gitk.kmt-edition.desktop
^
|
@@ -1,50 +0,0 @@
-# KMoreTools
-# gitk does not install desktop file of it's own
-
-[Desktop Entry]
-Name=gitk
-Name[ca]=gitk
-Name[en_GB]=gitk
-Name[es]=gitk
-Name[fi]=gitk
-Name[gl]=gitk
-Name[it]=gitk
-Name[ko]=gitk
-Name[nl]=gitk
-Name[pl]=gitk
-Name[pt]=gitk
-Name[pt_BR]=gitk
-Name[sk]=gitk
-Name[sl]=gitk
-Name[sr]=ГитК
-Name[sr@ijekavian]=ГитК
-Name[sr@ijekavianlatin]=gitk
-Name[sr@latin]=gitk
-Name[sv]=gitk
-Name[uk]=gitk
-Name[x-test]=xxgitkxx
-Name[zh_CN]=
-GenericName=gitk
-GenericName[ca]=gitk
-GenericName[en_GB]=gitk
-GenericName[es]=gitk
-GenericName[fi]=gitk
-GenericName[gl]=gitk
-GenericName[it]=gitk
-GenericName[ko]=gitk
-GenericName[nl]=gitk
-GenericName[pl]=gitk
-GenericName[pt]=gitk
-GenericName[pt_BR]=gitk
-GenericName[sk]=gitk
-GenericName[sl]=gitk
-GenericName[sr]=ГитК
-GenericName[sr@ijekavian]=ГитК
-GenericName[sr@ijekavianlatin]=Gitk
-GenericName[sr@latin]=Gitk
-GenericName[sv]=gitk
-GenericName[uk]=gitk
-GenericName[x-test]=xxgitkxx
-GenericName[zh_CN]=
-TryExec=gitk
-Exec=cd %f && gitk
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/gparted.desktop
^
|
@@ -1,128 +0,0 @@
-[Desktop Entry]
-X-SuSE-translate=true
-DocPath=gparted
-Name=GParted
-Name[ca]=GParted
-Name[en_GB]=GParted
-Name[es]=GParted
-Name[fi]=GParted
-Name[gl]=GParted
-Name[it]=GParted
-Name[ko]=GParted
-Name[nl]=GParted
-Name[pl]=GParted
-Name[pt]=GParted
-Name[pt_BR]=GParted
-Name[sk]=GParted
-Name[sl]=GParted
-Name[sr]=Г‑партед
-Name[sr@ijekavian]=Г‑партед
-Name[sr@ijekavianlatin]=GParted
-Name[sr@latin]=GParted
-Name[sv]=Gparted
-Name[uk]=GParted
-Name[x-test]=xxGPartedxx
-Name[zh_CN]=
-GenericName=Partition Editor
-GenericName[ca]=Editor de particions
-GenericName[en_GB]=Partition Editor
-GenericName[es]=Editor de particiones
-GenericName[fi]=Osionhallinta
-GenericName[gl]=Editor de particións
-GenericName[it]=Editor delle partizioni
-GenericName[ko]=파티션 편집기
-GenericName[nl]=Partitiebewerker
-GenericName[pl]=Edytor partycji
-GenericName[pt]=Editor de Partições
-GenericName[pt_BR]=Editor de partições
-GenericName[sk]=Editor partícií
-GenericName[sl]=Urejevalnik razdelkov
-GenericName[sr]=Уређивач партиција
-GenericName[sr@ijekavian]=Уређивач партиција
-GenericName[sr@ijekavianlatin]=Uređivač particija
-GenericName[sr@latin]=Uređivač particija
-GenericName[sv]=Partitionseditor
-GenericName[uk]=Редактор розділів на дисках
-GenericName[x-test]=xxPartition Editorxx
-GenericName[zh_CN]=分区编辑器
-X-GNOME-FullName=GParted Partition Editor
-X-GNOME-FullName[ar]=محرّر الأقسام مُقسِّمج
-X-GNOME-FullName[bg]=Редактор на дялове на дискове за GNOME
-X-GNOME-FullName[ca]=Editor de particions GParted
-X-GNOME-FullName[ca@valencia]=Editor de particions GParted
-X-GNOME-FullName[cs]=Editor oddílů GParted
-X-GNOME-FullName[da]=GParted - partitioneringsprogram
-X-GNOME-FullName[de]=GParted Partitionierungswerkzeug
-X-GNOME-FullName[el]=Επεξεργαστής κατατμήσεων GParted
-X-GNOME-FullName[en_CA]=GParted Partition Editor
-X-GNOME-FullName[en_GB]=GParted Partition Editor
-X-GNOME-FullName[es]=Editor de particiones GParted
-X-GNOME-FullName[et]=GParted partitsioonihaldur
-X-GNOME-FullName[eu]=GParted partizio-editorea
-X-GNOME-FullName[fa]=ویرایشگر پارتیشن GParted
-X-GNOME-FullName[fi]=GParted - levyosioiden muokkain
-X-GNOME-FullName[fr]=Éditeur de partitions GParted
-X-GNOME-FullName[gd]=Deasaiche pàirteachaidh GParted
-X-GNOME-FullName[gl]=Editor de particións GParted
-X-GNOME-FullName[gu]=GParted પાર્ટીશન સંપાદક
-X-GNOME-FullName[he]=עורך המחיצות GParted
-X-GNOME-FullName[hu]=GParted partíciószerkesztő
-X-GNOME-FullName[id]=GParted Penyunting Partisi
-X-GNOME-FullName[is]=GNOME disksneiðastjórinn
-X-GNOME-FullName[it]=Editor di partizioni GParted
-X-GNOME-FullName[ja]=GParted パーティション編集ツール
-X-GNOME-FullName[kk]=GParted бөлімдерді басқарушысы
-X-GNOME-FullName[ko]=GParted 파티션 편집기
-X-GNOME-FullName[lt]=Skirsnių redaktorius „GParted“
-X-GNOME-FullName[lv]=GParted nodalījumu redaktors
-X-GNOME-FullName[ml]=ജീപാര്ട്ടട് പാര്ട്ടീഷന് സംശോധകന്
-X-GNOME-FullName[nb]=GNOME partisjonsredigering
-X-GNOME-FullName[nl]=GParted partitiebewerker
-X-GNOME-FullName[nn]=GParted partisjonshandsaming
-X-GNOME-FullName[pa]=ਜੀਪਾਰਟਡ ਪਾਰਟੀਸ਼ਨ ਐਡੀਟਰ
-X-GNOME-FullName[pl]=Edytor partycji GParted
-X-GNOME-FullName[pt]=Editor de Partições GParted
-X-GNOME-FullName[pt_BR]=Editor de partições GParted
-X-GNOME-FullName[ro]=GParted - Editor de partiții
-X-GNOME-FullName[ru]=Редактор разделов GParted
-X-GNOME-FullName[sk]=GParted - editor diskových oddielov
-X-GNOME-FullName[sl]=GParted urejevalnik razdelkov
-X-GNOME-FullName[sr]=Уређивач партиција ГПартед
-X-GNOME-FullName[sr@latin]=Uređivač particija GParted
-X-GNOME-FullName[sv]=Partitionsredigeraren GParted
-X-GNOME-FullName[te]=జిపార్టెడ్ విభజన కూర్పకము
-X-GNOME-FullName[th]=เครื่องมือแก้ไขพาร์ทิชัน GParted
-X-GNOME-FullName[tr]=GParted Disk Bölümü Düzenleyicisi
-X-GNOME-FullName[uk]=Редактор розділів GParted
-X-GNOME-FullName[zh_CN]=GParted 分区编辑器
-X-GNOME-FullName[zh_HK]=GParted 分割區編輯器
-X-GNOME-FullName[zh_TW]=GParted 分割區編輯器
-Comment=Create, reorganize, and delete partitions
-Comment[ca]=Crea, reorganitza i suprimeix particions
-Comment[en_GB]=Create, reorganise, and delete partitions
-Comment[es]=Crear, reorganizar y borrar particiones
-Comment[fi]=Luo, järjestä ja poista osioita
-Comment[gl]=Cree, reorganice e elimine particións
-Comment[it]=Creare, riorganizzare ed eliminare le partizioni
-Comment[ko]=파티션 생성, 재배치, 삭제
-Comment[nl]=Partities aanmaken, opnieuw organiseren en verwijderen
-Comment[pl]=Tworzenie, przestawianie oraz usuwanie partycji
-Comment[pt]=Cria, reorganiza e apaga partições
-Comment[pt_BR]=Cria, organiza e exclui partições
-Comment[sk]=Vytváranie, organizácia a mazanie partícií
-Comment[sl]=Ustvarite, preoblikujte in izbrišite razdelke
-Comment[sr]=Правите, мењајте и бришите партиције
-Comment[sr@ijekavian]=Правите, мењајте и бришите партиције
-Comment[sr@ijekavianlatin]=Pravite, menjajte i brišite particije
-Comment[sr@latin]=Pravite, menjajte i brišite particije
-Comment[sv]=Skapa, organisera om och ta bort partitioner
-Comment[uk]=Створення, реорганізація та вилучення розділів диска
-Comment[x-test]=xxCreate, reorganize, and delete partitionsxx
-Comment[zh_CN]=创建,组织和删除分区
-Exec=pkexec /usr/sbin/gparted %f
-Icon=gparted
-Terminal=false
-Type=Application
-Categories=GNOME;System;Filesystem;
-StartupNotify=true
-
|
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/gparted.png
^
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/kdf.desktop
^
|
@@ -1,53 +0,0 @@
-[Desktop Entry]
-Name=KDiskFree
-Name[ca]=KDiskFree
-Name[en_GB]=KDiskFree
-Name[es]=KDiskFree
-Name[fi]=KDiskFree
-Name[gl]=KDiskFree
-Name[it]=KDiskFree
-Name[ko]=KDiskFree
-Name[nl]=KDiskFree
-Name[pl]=KDiskFree
-Name[pt]=KDiskFree
-Name[pt_BR]=KDiskFree
-Name[sk]=KDiskFree
-Name[sl]=KDiskFree
-Name[sr]=К‑диск‑простор
-Name[sr@ijekavian]=К‑диск‑простор
-Name[sr@ijekavianlatin]=K‑disk‑prostor
-Name[sr@latin]=K‑disk‑prostor
-Name[sv]=Kdiskfree
-Name[uk]=KDiskFree
-Name[x-test]=xxKDiskFreexx
-Name[zh_CN]=KDiskFree
-Exec=kdf -caption %c
-Icon=kdf
-Type=Application
-GenericName=View Disk Usage
-GenericName[ca]=Veure l'ús de disc
-GenericName[en_GB]=View Disk Usage
-GenericName[es]=Ver el uso del disco
-GenericName[fi]=Näytä levynkäyttö
-GenericName[gl]=Visor do uso dos discos
-GenericName[it]=Visualizza l'utilizzo del disco
-GenericName[ko]=디스크 사용량 보기
-GenericName[nl]=Schijfgebruik bekijken
-GenericName[pl]=Informacja o wolnym miejscu na dyskach
-GenericName[pt]=Ver a Utilização do Disco
-GenericName[pt_BR]=Mostra a utilização do disco
-GenericName[sk]=Zobrazenie využitia disku
-GenericName[sl]=Oglejte si uporabo prostora na disku
-GenericName[sr]=Приказ попуњености дискова
-GenericName[sr@ijekavian]=Приказ попуњености дискова
-GenericName[sr@ijekavianlatin]=Prikaz popunjenosti diskova
-GenericName[sr@latin]=Prikaz popunjenosti diskova
-GenericName[sv]=Visa hårddiskanvändning
-GenericName[uk]=Перегляд використання диска
-GenericName[x-test]=xxView Disk Usagexx
-GenericName[zh_CN]=查看磁盘使用状况
-Terminal=false
-X-DocPath=kdf/index.html
-X-KDE-StartupNotify=true
-X-DBUS-StartupType=Multi
-Categories=Qt;KDE;System;
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/org.kde.filelight.desktop
^
|
@@ -1,76 +0,0 @@
-# KDE Config File
-[Desktop Entry]
-Name=Filelight
-Name[ca]=Filelight
-Name[en_GB]=Filelight
-Name[es]=Filelight
-Name[fi]=Filelight
-Name[gl]=Filelight
-Name[it]=Filelight
-Name[ko]=Filelight
-Name[nl]=Filelight
-Name[pl]=Filelight
-Name[pt]=Filelight
-Name[pt_BR]=Filelight
-Name[sk]=Filelight
-Name[sl]=Filelight
-Name[sr]=Фајлајт
-Name[sr@ijekavian]=Фајлајт
-Name[sr@ijekavianlatin]=Filelight
-Name[sr@latin]=Filelight
-Name[sv]=Filelight
-Name[uk]=Filelight
-Name[x-test]=xxFilelightxx
-Name[zh_CN]=Filelight
-GenericName=Disk Usage Statistics
-GenericName[ca]=Estadístiques d'ús de disc
-GenericName[en_GB]=Disk Usage Statistics
-GenericName[es]=Estadísticas de uso del disco
-GenericName[fi]=Levynkäyttötilastot
-GenericName[gl]=Estatísticas de uso do disco
-GenericName[it]=Statistiche di utilizzo del disco
-GenericName[ko]=디스크 사용 통계
-GenericName[nl]=Gebruiksstatistieken van schijven
-GenericName[pl]=Statystyki wykorzystania dysku
-GenericName[pt]=Estatísticas de Utilização do Disco
-GenericName[pt_BR]=Estatísticas de uso do disco
-GenericName[sk]=Štatistiky využitia disku
-GenericName[sl]=Statistika uporabe diska
-GenericName[sr]=Статистика попуњености дискова
-GenericName[sr@ijekavian]=Статистика попуњености дискова
-GenericName[sr@ijekavianlatin]=Statistika popunjenosti diskova
-GenericName[sr@latin]=Statistika popunjenosti diskova
-GenericName[sv]=Statistik över diskanvändning
-GenericName[uk]=Статистика використання диска
-GenericName[x-test]=xxDisk Usage Statisticsxx
-GenericName[zh_CN]=磁盘使用统计
-Type=Application
-Exec=filelight %f
-Icon=filelight
-Comment=View disk usage information
-Comment[ca]=Veure la informació d'ús de disc
-Comment[en_GB]=View disk usage information
-Comment[es]=Ver información sobre el uso del disco
-Comment[fi]=Näytä levynkäyttö
-Comment[gl]=Acceda a información de uso do disco.
-Comment[it]=Visualizza le informazioni sull'utilizzo del disco
-Comment[ko]=디스크 사용량 보기
-Comment[nl]=Informatie over schijfgebruik bekijken
-Comment[pl]=Zobacz informacje o wykorzystaniu dysku
-Comment[pt]=Ver a informação de utilização do disco
-Comment[pt_BR]=Exibe informações sobre a utilização do disco
-Comment[sk]=Zobrazenie informácií o využití disku
-Comment[sl]=Oglejte si statistiko uporabe diska
-Comment[sr]=Приказ података о попуњености дискова
-Comment[sr@ijekavian]=Приказ података о попуњености дискова
-Comment[sr@ijekavianlatin]=Prikaz podataka o popunjenosti diskova
-Comment[sr@latin]=Prikaz podataka o popunjenosti diskova
-Comment[sv]=Visa information om hårddiskanvändning
-Comment[uk]=Перегляд інформації щодо використання дисків
-Comment[x-test]=xxView disk usage informationxx
-Comment[zh_CN]=查看磁盘使用信息
-Terminal=false
-MimeType=inode/directory;
-X-DocPath=filelight/index.html
-Categories=Qt;KDE;Utility;
-X-DBUS-ServiceName=org.kde.filelight
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/partitionmanager.desktop
^
|
@@ -1,78 +0,0 @@
-#!/usr/bin/env xdg-open
-[Desktop Entry]
-Type=Application
-Name=KDE Partition Manager
-Name[ca]=Gestor de particions del KDE
-Name[en_GB]=KDE Partition Manager
-Name[es]=Gestor de particiones de KDE
-Name[fi]=KDE:n osionhallinta
-Name[gl]=Xestor de particións de KDE
-Name[it]=Gestore delle partizioni di KDE
-Name[ko]=KDE 파티션 관리자
-Name[nl]=KDE Partitiebeheerder
-Name[pl]=Zarządzanie partycjami
-Name[pt]=Gestor de Partições do KDE
-Name[pt_BR]=Gerenciador de Partições do KDE
-Name[sk]=KDE Správca partícií
-Name[sl]=Upravljalnik razdelkov za KDE
-Name[sr]=КДЕ‑ов менаџер партиција
-Name[sr@ijekavian]=КДЕ‑ов менаџер партиција
-Name[sr@ijekavianlatin]=KDE‑ov menadžer particija
-Name[sr@latin]=KDE‑ov menadžer particija
-Name[sv]=KDE:s partitionshanterare
-Name[uk]=Редактор розділів для KDE
-Name[x-test]=xxKDE Partition Managerxx
-Name[zh_CN]=KDE 分区管理器
-GenericName=Partition Editor
-GenericName[ca]=Editor de particions
-GenericName[en_GB]=Partition Editor
-GenericName[es]=Editor de particiones
-GenericName[fi]=Osionhallinta
-GenericName[gl]=Editor de particións
-GenericName[it]=Editor delle partizioni
-GenericName[ko]=파티션 편집기
-GenericName[nl]=Partitiebewerker
-GenericName[pl]=Edytor partycji
-GenericName[pt]=Editor de Partições
-GenericName[pt_BR]=Editor de partições
-GenericName[sk]=Editor partícií
-GenericName[sl]=Urejevalnik razdelkov
-GenericName[sr]=Уређивач партиција
-GenericName[sr@ijekavian]=Уређивач партиција
-GenericName[sr@ijekavianlatin]=Uređivač particija
-GenericName[sr@latin]=Uređivač particija
-GenericName[sv]=Partitionseditor
-GenericName[uk]=Редактор розділів на дисках
-GenericName[x-test]=xxPartition Editorxx
-GenericName[zh_CN]=分区编辑器
-Comment=Manage disks, partitions and file systems
-Comment[ca]=Gestiona discos, particions i sistemes de fitxers
-Comment[en_GB]=Manage disks, partitions and file systems
-Comment[es]=Gestionar discos, particiones y sistemas de archivos
-Comment[fi]=Hallitse levyjä, osioita ja tiedostojärjestelmiä
-Comment[gl]=Xestiona os discos, particións e o sistemas de ficheiros
-Comment[it]=Gestisci dischi, partizioni e filesystem
-Comment[ko]=디스크, 파티션, 파일 시스템 관리
-Comment[nl]=Beheer schijven, partities en bestandssystemen
-Comment[pl]=Zarządzaj dyskami, partycjami i systemami plików
-Comment[pt]=Faz a gestão de discos, partições e sistemas de ficheiros
-Comment[pt_BR]=Gerencia discos, partições e sistemas de arquivos
-Comment[sk]=Spravuje disky, partície a súborové systémy
-Comment[sl]=Upravljajte z diski, razdelki in datotečnimi sistemi
-Comment[sr]=Управљајте дисковима, партицијама и фајл системима
-Comment[sr@ijekavian]=Управљајте дисковима, партицијама и фајл системима
-Comment[sr@ijekavianlatin]=Upravljajte diskovima, particijama i fajl sistemima
-Comment[sr@latin]=Upravljajte diskovima, particijama i fajl sistemima
-Comment[sv]=Hantera hårddiskar, partitioner och filsystem
-Comment[uk]=Керуйте дисками, розділами та файловими системами
-Comment[x-test]=xxManage disks, partitions and file systemsxx
-Comment[zh_CN]=管理磁盘、分区和文件系统
-Exec=partitionmanager
-Icon=partitionmanager
-Categories=System;Filesystem;KDE;Qt;
-
-X-KDE-SubstituteUID=true
-X-KDE-StartupNotify=true
-
-
-
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/data/kmoretools-desktopfiles/qgit.kmt-edition.desktop
^
|
@@ -1,80 +0,0 @@
-# For KMoreTools: Fixes Exec line
-#
-# TODO upstream: The icon qgit.png is installed somewhere with qgit
-# but not specified (and not reachable
-# in .desktop file. This should be fixed upstream.
-
-[Desktop Entry]
-X-SuSE-translate=true
-Name=QGit
-Name[ca]=QGit
-Name[en_GB]=QGit
-Name[es]=QGit
-Name[fi]=QGit
-Name[gl]=QGit
-Name[it]=QGit
-Name[ko]=QGit
-Name[nl]=QGit
-Name[pl]=QGit
-Name[pt]=QGit
-Name[pt_BR]=QGit
-Name[sk]=QGit
-Name[sl]=QGit
-Name[sr]=Ку‑гит
-Name[sr@ijekavian]=Ку‑гит
-Name[sr@ijekavianlatin]=QGit
-Name[sr@latin]=QGit
-Name[sv]=QGit
-Name[uk]=QGit
-Name[x-test]=xxQGitxx
-Name[zh_CN]=
-GenericName=QGit
-GenericName[ca]=QGit
-GenericName[en_GB]=QGit
-GenericName[es]=QGit
-GenericName[fi]=QGit
-GenericName[gl]=QGit
-GenericName[it]=QGit
-GenericName[ko]=QGit
-GenericName[nl]=QGit
-GenericName[pl]=QGit
-GenericName[pt]=QGit
-GenericName[pt_BR]=QGit
-GenericName[sk]=QGit
-GenericName[sl]=QGit
-GenericName[sr]=Ку‑гит
-GenericName[sr@ijekavian]=Ку‑гит
-GenericName[sr@ijekavianlatin]=QGit
-GenericName[sr@latin]=QGit
-GenericName[sv]=QGit
-GenericName[uk]=QGit
-GenericName[x-test]=xxQGitxx
-GenericName[zh_CN]=
-Comment=git repository browser
-Comment[ca]=Navegador pel repositori Git
-Comment[en_GB]=git repository browser
-Comment[es]=Explorador del repositorio Git
-Comment[fi]=git-varastokatselin
-Comment[gl]=Navegador de repositorios Git
-Comment[it]=navigatore depositi git
-Comment[ko]=Git 저장소 탐색기
-Comment[nl]=browser van git-repository
-Comment[pl]=Przeglądarka repozytorium Git
-Comment[pt]=Navegador de repositórios do Git
-Comment[pt_BR]=Navegador de repositórios git
-Comment[sk]=prehliadač repozitára git
-Comment[sl]=Brskalnik po skladiščih Git
-Comment[sr]=Прегледач гит ризница
-Comment[sr@ijekavian]=Прегледач гит ризница
-Comment[sr@ijekavianlatin]=Pregledač git riznica
-Comment[sr@latin]=Pregledač git riznica
-Comment[sv]=Git-arkivbläddrare
-Comment[uk]=Засіб для перегляду сховищ Git
-Comment[x-test]=xxgit repository browserxx
-Comment[zh_CN]=Git 仓库浏览器
-TryExec=qgit
-Exec=cd %f && qgit
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Qt;Development;RevisionControl;
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/docs/pics
^
|
-(directory)
|
|
Deleted |
knewstuff-5.9.0.tar.xz/docs/pics/kmoretools-dolphin-spaceinfo-1.png
^
|
|
Deleted |
knewstuff-5.9.0.tar.xz/docs/pics/kmoretools-kate-project-1-all-installed.png
^
|
|
Deleted |
knewstuff-5.9.0.tar.xz/docs/pics/kmoretools-kate-project-2-two-not-installed.png
^
|
|
Deleted |
knewstuff-5.9.0.tar.xz/docs/pics/kmoretools-kate-project-3-config-dialog-all-installed.png
^
|
|
Deleted |
knewstuff-5.9.0.tar.xz/docs/pics/kmoretools-ksnapshot-sendto-1.png
^
|
|
Deleted |
knewstuff-5.9.0.tar.xz/docs/pics/kmoretools-tests-configure-dialog-notinstalledapps.png
^
|
[-]
[+]
|
Changed |
knewstuff-5.9.0.tar.xz/src/CMakeLists.txt
^
|
@@ -18,9 +18,6 @@
core/provider.cpp
core/security.cpp
core/xmlloader.cpp
- kmoretools/kmoretools.cpp
- kmoretools/kmoretoolsconfigdialog_p.cpp
- kmoretools/kmoretoolspresets.cpp
staticxml/staticxmlprovider.cpp
ui/entrydetailsdialog.cpp
ui/imageloader.cpp
@@ -40,7 +37,6 @@
ki18n_wrap_ui(KNewStuff_SRCS
downloadwidget.ui
uploaddialog.ui
- kmoretools/ui/kmoretoolsconfigwidget.ui
)
add_library(KF5NewStuff ${KNewStuff_SRCS} )
@@ -56,7 +52,6 @@
Qt5::Widgets
KF5::Attica # For interacting with ocs providers, public for uploaddialog slots
KF5::XmlGui # For KActionCollection in knewstuffaction.h
- KF5::Service # For KMoreTools
PRIVATE
KF5::KIOCore # For network fetching operations
KF5::KIOWidgets # For KUrlRequester
@@ -86,21 +81,6 @@
REQUIRED_HEADERS KNewStuff_HEADERS
PREFIX KNS3
)
-
-# For KMoreTools:
-ecm_generate_headers(KNewStuff_CamelCase_HEADERS_KMoreTools
- HEADER_NAMES
- KMoreTools
- KMoreToolsPresets
-
- RELATIVE kmoretools
- REQUIRED_HEADERS KNewStuff_HEADERS_KMoreTools
- PREFIX KNS3
-)
-install(FILES ${KNewStuff_CamelCase_HEADERS_KMoreTools} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/KNewStuff3/KNS3 COMPONENT Devel)
-install(FILES ${KNewStuff_HEADERS_KMoreTools} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/KNewStuff3/kns3 COMPONENT Devel
-)
-
install(FILES ${KNewStuff_CamelCase_HEADERS} DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5}/KNewStuff3/KNS3 COMPONENT Devel)
install(TARGETS KF5NewStuff EXPORT KF5NewStuffTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/src/kmoretools
^
|
-(directory)
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/src/kmoretools/kmoretools.cpp
^
|
@@ -1,789 +0,0 @@
-/*
- Copyright 2015 by Gregor Mi <codestruct@posteo.org>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "kmoretools.h"
-
-#include "kmoretools_p.h"
-#include "kmoretoolsconfigdialog_p.h"
-
-#include <QDebug>
-#include <QDir>
-#include <KService>
-#include <QStandardPaths>
-#include <QApplication>
-
-#include <klocalizedstring.h>
-#include <KConfig>
-#include <KConfigGroup>
-
-class KMoreToolsPrivate
-{
-public:
- QString uniqueId;
-
- // allocated via new, don't forget to delete
- QList<KMoreToolsService*> serviceList;
-
- QMap<QString, KMoreToolsMenuBuilder*> menuBuilderMap;
-
-public:
- KMoreToolsPrivate(const QString& uniqueId)
- : uniqueId(uniqueId)
- {
- }
-
- virtual ~KMoreToolsPrivate()
- {
- Q_FOREACH(auto b, menuBuilderMap.values()) {
- delete b;
- }
-
- Q_FOREACH(auto s, serviceList) {
- delete s;
- }
- }
-
- /**
- * @return uniqueId if kmtDesktopfileSubdir is empty
- * else kmtDesktopfileSubdir
- */
- QString kmtDesktopfileSubdirOrUniqueId(const QString& kmtDesktopfileSubdir) {
- if (kmtDesktopfileSubdir.isEmpty()) {
- return uniqueId;
- }
-
- return kmtDesktopfileSubdir;
- }
-
- /**
- * Finds a file in the '/usr/share'/kf5/kmoretools/'uniqueId'/ directory.
- * '/usr/share' = "~/.local/share", "/usr/local/share", "/usr/share" (see QStandardPaths::GenericDataLocation)
- * 'uniqueId' = @see uniqueId()
- *
- * @param can be a filename with or without relative path. But no absolute path.
- * @returns the first occurence if there are more than one found
- */
- QString findFileInKmtDesktopfilesDir(const QString& filename)
- {
- return findFileInKmtDesktopfilesDir(uniqueId, filename);
- }
-
- static QString findFileInKmtDesktopfilesDir(const QString& kmtDesktopfileSubdir, const QString& filename)
- {
- //qDebug() << "search locations:" << QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation); // /usr/share etc.
- const QString kmtDesktopfilesFilename = QLatin1String("kf5/kmoretools/") + kmtDesktopfileSubdir + "/" + filename;
- //qDebug() << " search for:" << kmtDesktopfilesFilename;
- const QString foundKmtFile = QStandardPaths::locate(QStandardPaths::GenericDataLocation, kmtDesktopfilesFilename);
- //qDebug() << "QStandardPaths::DataLocation findWhat -> foundPath" << foundPath;
-
- return foundKmtFile;
- }
-
-};
-
-KMoreTools::KMoreTools(const QString& uniqueId)
- : d(new KMoreToolsPrivate(uniqueId))
-{
-
-}
-
-KMoreTools::~KMoreTools()
-{
- delete d;
-}
-
-KMoreToolsService* KMoreTools::registerServiceByDesktopEntryName(
- const QString& desktopEntryName,
- const QString& kmtDesktopfileSubdir,
- KMoreTools::ServiceLocatingMode serviceLocatingMode)
-{
- // qDebug() << "* registerServiceByDesktopEntryName(desktopEntryName=" << desktopEntryName;
-
- const QString foundKmtDesktopfilePath = d->findFileInKmtDesktopfilesDir(
- d->kmtDesktopfileSubdirOrUniqueId(kmtDesktopfileSubdir),
- desktopEntryName + QLatin1String(".desktop"));
- const bool isKmtDesktopfileProvided = !foundKmtDesktopfilePath.isEmpty();
-
- KService::Ptr kmtDesktopfile;
-
- if (isKmtDesktopfileProvided) {
- kmtDesktopfile = KService::Ptr(new KService(foundKmtDesktopfilePath));
- // todo later: what exactly does "isValid" mean? Valid syntax? Or installed in system?
- // right now we cannot use it
- //Q_ASSERT_X(kmtDesktopfile->isValid(), "addServiceByDesktopFile", "the kmt-desktopfile is provided but not valid. This must be fixed.");
- //qDebug() << " INFO: kmt-desktopfile provided and valid.";
- if (kmtDesktopfile->exec().isEmpty()) {
- qDebug() << "desktopEntryName" << desktopEntryName;
- qCritical("KMoreTools::registerServiceByDesktopEntryName: the kmt-desktopfile is provided but no Exec line is specified. The desktop file is probably faulty. Please fix. Return nullptr.");
- return nullptr;
- }
- // qDebug() << " INFO: kmt-desktopfile provided.";
- } else {
- qDebug() << "desktopEntryName" << desktopEntryName;
- qWarning("desktopEntryName (apparently) not provided in the installed kmt-desktopfiles directory. If the service is also not installed on the system the user won't get nice translated app name and description.");
- }
-
- bool isInstalled = false;
- KService::Ptr installedService;
- if (serviceLocatingMode == KMoreTools::ServiceLocatingMode_Default) { // == default behaviour: search for installed services
- installedService = KService::serviceByDesktopName(desktopEntryName);
- isInstalled = installedService != nullptr;
- } else if (serviceLocatingMode == KMoreTools::ServiceLocatingMode_ByProvidedExecLine) { // only use provided kmt-desktopfile:
- if (!isKmtDesktopfileProvided) {
- qDebug() << "desktopEntryName" << desktopEntryName;
- qCritical("KMoreTools::registerServiceByDesktopEntryName: If detectServiceExistenceViaProvidedExecLine is true then a kmt-desktopfile must be provided. Please fix. Return nullptr.");
- return nullptr;
- }
-
- auto tryExecProp = kmtDesktopfile->property("TryExec", QVariant::String);
- isInstalled = (tryExecProp.isValid() && !QStandardPaths::findExecutable(tryExecProp.toString()).isEmpty())
- || !QStandardPaths::findExecutable(kmtDesktopfile->exec()).isEmpty();
- } else {
- Q_ASSERT(false); // case not handled
- }
-
-// if (isInstalled) {
-// qDebug() << "registerServiceByDesktopEntryName:" << desktopEntryName << ": installed.";
-// } else {
-// qDebug() << "registerServiceByDesktopEntryName:" << desktopEntryName << ": NOT installed.";
-// }
-
- auto registeredService = new KMoreToolsService(
- d->kmtDesktopfileSubdirOrUniqueId(kmtDesktopfileSubdir),
- desktopEntryName,
- isInstalled,
- installedService,
- kmtDesktopfile);
-
- // add or replace item in serviceList
- auto foundService = std::find_if(d->serviceList.begin(), d->serviceList.end(),
- [desktopEntryName](KMoreToolsService* service) {
- return service->desktopEntryName() == desktopEntryName;
- });
- if (foundService == d->serviceList.end()) {
- //qDebug() << "not found, add new service";
- d->serviceList.append(registeredService);
- } else {
- KMoreToolsService* foundServicePtr = *foundService;
- int i = d->serviceList.indexOf(foundServicePtr);
- //qDebug() << "found: replace it with new service, index=" << i;
- delete foundServicePtr;
- //qDebug() << " deleted";
- d->serviceList.replace(i, registeredService);
- //qDebug() << " replaced in list";
- }
-
- return registeredService;
-}
-
-KMoreToolsMenuBuilder* KMoreTools::menuBuilder(const QString& userConfigPostfix) const
-{
- if (d->menuBuilderMap.find(userConfigPostfix) == d->menuBuilderMap.end()) {
- d->menuBuilderMap.insert(userConfigPostfix,
- new KMoreToolsMenuBuilder(d->uniqueId, userConfigPostfix));
- }
- return d->menuBuilderMap[userConfigPostfix];
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/src/kmoretools/kmoretools.h
^
|
@@ -1,721 +0,0 @@
-/*
- Copyright 2015 by Gregor Mi <codestruct@posteo.org>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#ifndef KMORETOOLS_H
-#define KMORETOOLS_H
-
-#include <QString>
-#include <QUrl>
-#include <QMenu>
-
-#include <KService>
-
-#include "knewstuff_export.h"
-
-class KMoreToolsService;
-class KMoreToolsMenuBuilder;
-class KMoreToolsPrivate;
-
-/**
- * Helps to create user-configurable menus with tools which are potentially not yet installed.
- *
- * @note This is a new API (published within KNewStuff since April 2015). Its current
- * target are KDE applications which are part of the kdesrcbuild infrastructure.
- * Here, it is possible to find all usages and to adapt to API changes when needed.
- * So, if you use this in your own application, beware that there might be API
- * changes when more use cases are developed.
- *
- * This class is the entry point of the KMoreTools API.
- *
- *
- * Introduction
- * ------------
- * KMoreTools helps to to build user-configurable menus with tools which
- * might not installed yet.
- * The user will see a menu item (in the 'More' section) for a tool even if
- * it is not installed. Furthermore, it makes long menus with external tools
- * shorter by providing a main and more section.
- * It provides a 'Configure menu' dialog to make the menu user-configurable.
- *
- * It does this in the following ways:
- * - Provide an API to define external applications for a given context.
- * - If a defined application is not installed (yet) the application is (optionally)
- * still presented to the user with a hint that it is not installed and a link
- * to the homepage (later with integration to package managment).
- * This increases the discoverability of useful applications the user never
- * heard about yet.
- * - In case of many applications for a given context, it provides a GUI to the
- * user to hand-pick favorite tools.
- * This makes it easier for application developers to add alternative
- * application/tool suggestions without worrying about cluttered menus.
- * - Menu items can be (automatically) moved to the "More" submenu.
- * - Reduce translation effort by re-using .desktop files of the services added
- * to the menu.
- *
- *
- * Details
- * -------
- * The term "kmt-desktopfile" refers to a 1:1 copy of a .desktop file. The
- * kmt-desktopfile is provided by the application that uses KMoreTools
- * and must be installed to subdirectories of /usr/share/kf5/kmoretools/
- * - e.g. /usr/share/kf5/kmoretools/dolphin/statusbar-diskspace-menu/
- * - e.g. /usr/share/kf5/kmoretools/kate/addons/project/git-tools/
- * - generally, 'QStandardPaths::GenericDataLocation'/kf5/kmoretools/'uniqueId'
- *
- * See KMoreTools::KMoreTools for hints of how to install this correctly
- * using cmake.
- *
- * The kmt-desktopfiles are used to get ready-made translations for application
- * name and description even if the application is not installed. You can
- * also provide an icon which is used in the not-installed section when the
- * application is not installed yet.
- *
- * For details about the resulting menu structure, see KMoreToolsMenuBuilder.
- *
- * See also, https://community.kde.org/Scratchpad/KMoreToolsFramework
- *
- *
- * Rationale for the "Not installed" section
- * -----------------------------------------
- * - Increase discoverability and visibility of useful free software that have
- * inherently low budget for marketing.
- * - Make interconnection of different free software packages as effortless as
- * possible (in terms of creating and maintaining the menu).
- * - Provide expert (i.e. your) knowledge to useful free software alternatives
- * to solve a certain task.
- * - Give novice users hints about tools that are useful in a particular
- * context even if they are not installed.
- * - Improve self-documentation of applications.
- *
- *
- * Presets
- * -------
- * Before installing desktop files in your application you might take a look
- * at KMoreToolsPresets which might already contain the needed tools.
- *
- *
- * Screenshots
- * -----------
- * This section shows screenshots of usage examples.
- *
- * ### KSnapshot's Send To... menu
- *
- * Last updated: 2015-04-17, uncommited demo, source code:
- * src/kde/kdegraphics/ksnapshot/ksnapshotsendtoactions.cpp
- *
- * Note, that the last item in the 'More' menu in the following screenshot was
- * added by KSnapshot's code.
- *
- * \image html kmoretools-ksnapshot-sendto-1.png "Send To menu" width=100px
- *
- * ### Dolphins's Space info menu
- *
- * Last updated: 2015-04-17, uncommited demo, source code: src/kde/applications/dolphin/src/statusbar/spaceinfotoolsmenu.cpp
- *
- * \image html kmoretools-dolphin-spaceinfo-1.png "Space info menu" width=100px
- *
- * ### Kate's Project plugin git menu
- *
- * Last updated: 2015-03-25, uncommited demo, source code:
- * src/kde/applications/kate/addons/project/kateprojecttreeviewcontextmenu.cpp
- *
- * \image html kmoretools-kate-project-1-all-installed.png "All git tools installed" width=100px
- * \n
- * \image html kmoretools-kate-project-2-two-not-installed.png "Not all git tools installed" width=100px
- * \n
- * \image html kmoretools-kate-project-3-config-dialog-all-installed.png "'Configure menu' dialog" width=100px
- *
- * ### Kate's Project plugin git menu
- *
- * Last updated: 2015-04-17, source code: src/frameworks/knewstuff/tests/kmoretools/kmoretoolstest.cpp
- *
- * \image html kmoretools-tests-configure-dialog-notinstalledapps.png "Configure dialog when there are non-installed apps" width=100px
- *
- *
- * TODOs
- * -----
- * - question: KMoreTools::registerServiceByDesktopEntryName():
- * - is the term "desktopEntryName" correct here?
- * - warn if service is not of Type=Application (KService::isApplication()) or just leave it?
- * Add support for package managers to install software (e.g. muon discover)
- * - maybe: kmt-desktopfiles: add a config file that can configure the homepage URLs
- * and e.g. the package name if needed for package manager support
- */
-class KNEWSTUFF_EXPORT KMoreTools
-{
- friend class KMoreToolsService;
- friend class KMoreToolsServicePrivate;
-
-public:
- /**
- * Specify how should be determined if a service is installed or not
- */
- enum ServiceLocatingMode
- {
- /**
- * by existence of desktop file (discoverable by KService)
- */
- ServiceLocatingMode_Default,
-
- /**
- * by existence of executable defined in the TryExec or Exec line of
- * the provided kmt-desktopfile
- */
- ServiceLocatingMode_ByProvidedExecLine
- };
-
- /**
- * Specify where a menu item be placed by default
- */
- enum MenuSection
- {
- /**
- * The item is placed in the main section (default)
- */
- MenuSection_Main,
-
- /**
- * The item is placed in the "More" submenu.
- */
- MenuSection_More
- };
-
-// /* *
-// * todo/later: introduce when needed
-// */
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/src/kmoretools/kmoretools_p.h
^
|
@@ -1,381 +0,0 @@
-/*
- Copyright 2015 by Gregor Mi <codestruct@posteo.org>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#ifndef KMORETOOLS_P_H
-#define KMORETOOLS_P_H
-
-#include "kmoretools.h"
-
-#include <QJsonDocument>
-#include <QJsonArray>
-#include <QTextCodec>
-#include <QDebug>
-#include <QDesktopServices>
-
-#include <klocalizedstring.h>
-
-#define _ QLatin1String
-
-/**
- *
- */
-class MenuItemIdGen
-{
-public:
- QString getId(const QString& inputId)
- {
- int postFix = desktopEntryNameUsageMap[inputId];
- desktopEntryNameUsageMap[inputId] = postFix + 1;
- return QString(QLatin1String("%1%2")).arg(inputId).arg(postFix);
- }
-
- void reset()
- {
- desktopEntryNameUsageMap.clear();
- }
-
-private:
- QMap<QString, int> desktopEntryNameUsageMap;
-};
-
-/**
- *
- */
-class MenuItemDto
-{
-public:
- QString id;
-
- /**
- * @note that is might contain an ampersand (&) which may be used for menu items.
- * Remove it with removeMenuAmpersand()
- */
- QString text;
-
- QIcon icon;
-
- KMoreTools::MenuSection menuSection;
-
- bool isInstalled = true;
-
- /**
- * only used if isInstalled == false
- */
- QUrl homepageUrl;
-
-public:
- void jsonRead(const QJsonObject &json)
- {
- id = json[_("id")].toString();
- menuSection = json[_("menuSection")].toString() == _("main") ? KMoreTools::MenuSection_Main : KMoreTools::MenuSection_More;
- isInstalled = json[_("isInstalled")].toBool();
- }
-
- void jsonWrite(QJsonObject &json) const
- {
- json[_("id")] = id;
- json[_("menuSection")] = menuSection == KMoreTools::MenuSection_Main ? _("main") : _("more");
- json[_("isInstalled")] = isInstalled;
- }
-
- bool operator==(const MenuItemDto rhs) const
- {
- return this->id == rhs.id;
- }
-
- /**
- * todo: is there a QT method that can be used insted of this?
- */
- static QString removeMenuAmpersand(const QString& str)
- {
- QString newStr = str;
- newStr.replace(QRegExp(_("\\&([^&])")), _("\\1")); // &Hallo --> Hallo
- newStr.replace(_("&&"), _("&")); // &&Hallo --> &Hallo
- return newStr;
- }
-};
-
-/**
- *
- */
-class MenuStructureDto
-{
-public:
- QList<MenuItemDto> list;
-
-public: // should be private but we would like to unit test
-
- /**
- * NOT USED
- */
- QList<const MenuItemDto*> itemsBySection(KMoreTools::MenuSection menuSection) const
- {
- QList<const MenuItemDto*> r;
-
- Q_FOREACH (const auto& item, list) {
- if (item.menuSection == menuSection) {
- r.append(&item);
- }
- }
-
- return r;
- }
-
- /**
- * don't store the returned pointer, but you can deref it which calls copy ctor
- */
- const MenuItemDto* findInstalled(const QString& id) const {
- auto foundItem = std::find_if(list.begin(), list.end(),
- [id](const MenuItemDto& item) {
- return item.id == id && item.isInstalled;
- });
- if (foundItem != list.end()) {
- // deref iterator which is a const MenuItemDto& from which we get the pointer
- // (todo: is this a good idea?)
- return &(*foundItem);
- }
-
- return nullptr;
- }
-
-public:
- QString serialize() const
- {
- QJsonObject jObj;
- jsonWrite(jObj);
- QJsonDocument doc(jObj);
- auto jByteArray = doc.toJson(QJsonDocument::Compact);
- // http://stackoverflow.com/questions/14131127/qbytearray-to-qstring
- // QJsonDocument uses UTF-8 => we use 106=UTF-8
- //return QTextCodec::codecForMib(106)->toUnicode(jByteArray);
- return _(jByteArray); // accidently the ctor of QString takes an UTF-8 byte array
- }
-
- void deserialize(const QString& text)
- {
- QJsonParseError parseError;
- QJsonDocument doc(QJsonDocument::fromJson(text.toUtf8(), &parseError));
- jsonRead(doc.object());
- }
-
- void jsonRead(const QJsonObject &json)
- {
- list.clear();
- auto jArr = json[_("menuitemlist")].toArray();
- for (int i = 0; i < jArr.size(); ++i) {
- auto jObj = jArr[i].toObject();
- MenuItemDto item;
- item.jsonRead(jObj);
- list.append(item);
- }
- }
-
- void jsonWrite(QJsonObject &json) const
- {
- QJsonArray jArr;
- Q_FOREACH (const auto item, list) {
- QJsonObject jObj;
- item.jsonWrite(jObj);
- jArr.append(jObj);
- }
- json[_("menuitemlist")] = jArr;
- }
-
- /**
- * @returns true if there are any not-installed items
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/src/kmoretools/kmoretoolsconfigdialog_p.cpp
^
|
@@ -1,338 +0,0 @@
-/*
- Copyright 2015 by Gregor Mi <codestruct@posteo.org>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "kmoretoolsconfigdialog_p.h"
-
-#include "ui_kmoretoolsconfigwidget.h"
-
-#include <QDebug>
-#include <QStandardItemModel>
-#include <QMessageBox>
-
-#include <KLocalizedString>
-
-class KMoreToolsConfigDialogPrivate
-{
-public:
- /**
- * menu defined by code
- */
- MenuStructureDto defaultStructure;
-
- /**
- * resulting menu (default merged with configured) and then maybe edited via GUI
- */
- MenuStructureDto currentStructure;
-
- Ui::KMoreToolsConfigWidget* configUi;
-
- QAction* moveUpAction;
- QAction* moveDownAction;
- QAction* moveToMoreSectionAction;
- QAction* moveToMainSectionAction;
-
-public:
- QAction* createActionForButton(QAbstractButton* button, QObject* parent)
- {
- auto action = new QAction(button->icon(), button->text(), parent);
- return action;
- }
-
- QListWidgetItem* selectedItemMainSection()
- {
- auto items = configUi->listMainSection->selectedItems();
- if (items.count() == 0) {
- return nullptr;
- } else {
- return items[0];
- }
- }
-
- QListWidgetItem* selectedItemMoreSection()
- {
- auto items = configUi->listMoreSection->selectedItems();
- if (items.count() == 0) {
- return nullptr;
- } else {
- return items[0];
- }
- }
-
- /**
- * Only one section has a selection at a time.
- * @return the id of the item in one of the sections (main or more) or empty string
- */
- QString uiSelectedItemId()
- {
- auto mainItem = selectedItemMainSection();
- auto moreItem = selectedItemMoreSection();
- if (mainItem) {
- return mainItem->data(Qt::UserRole).toString();
- } else if (moreItem) {
- return moreItem->data(Qt::UserRole).toString();
- } else {
- return QString();
- }
- }
-
- void updateMoveButtonsState()
- {
- bool hasSelectedMain = selectedItemMainSection();
- if (hasSelectedMain) {
- auto listMain = configUi->listMainSection;
- moveUpAction->setEnabled(hasSelectedMain && listMain->currentRow() > 0);
- moveDownAction->setEnabled(hasSelectedMain && listMain->currentRow() < listMain->count() - 1);
- }
-
- bool hasSelectedMore = selectedItemMoreSection();
- if (hasSelectedMore) {
- auto listMore = configUi->listMoreSection;
- moveUpAction->setEnabled(hasSelectedMore && listMore->currentRow() > 0);
- moveDownAction->setEnabled(hasSelectedMore && listMore->currentRow() < listMore->count() - 1);
- }
-
- moveToMoreSectionAction->setEnabled(hasSelectedMain);
- moveToMainSectionAction->setEnabled(hasSelectedMore);
- }
-
- /**
- * refill lists and restore selection
- */
- void updateListViews(QString idToSelect = QString())
- {
- configUi->listMainSection->clear();
- configUi->listMoreSection->clear();
-
- // restore item selection
- QListWidgetItem* mainSelItem = nullptr;
- QListWidgetItem* moreSelItem = nullptr;
-
- foreach (auto item, currentStructure.list) {
- QIcon icon = item.icon;
- if (icon.isNull()) {
- QPixmap pix(16, 16); // TODO: should same size as other icons in the listview
- pix.fill(QColor(0, 0, 0, 0)); // transparent
- icon = QIcon(pix);
- }
-
- if (item.isInstalled) {
- auto listItem = new QListWidgetItem(icon, MenuItemDto::removeMenuAmpersand(item.text) /*+ " - " + item.id*/);
- listItem->setData(Qt::UserRole, item.id);
- if (item.menuSection == KMoreTools::MenuSection_Main) {
- //qDebug() << item.text << item.icon << item.icon.isNull() << item.icon.availableSizes();
- //itemModel->appendRow(new QStandardItem(icon, item.text /*+ " - " + item.id*/));
- configUi->listMainSection->addItem(listItem);
- if (item.id == idToSelect) {
- mainSelItem = listItem;
- }
- } else if (item.menuSection == KMoreTools::MenuSection_More) {
- configUi->listMoreSection->addItem(listItem);
- //configUi->listMoreSection->addItem("test"); // DND copies item instead of moving it
- if (item.id == idToSelect) {
- moreSelItem = listItem;
- }
- } else {
- Q_ASSERT(false);
- }
- }
- }
-
- //
- // restore selection
- // "current vs. selected?" see http://doc.qt.digia.com/4.6/model-view-selection.html
- //
- if (mainSelItem) {
- mainSelItem->setSelected(true);
- configUi->listMainSection->setCurrentItem(mainSelItem); // for focus and keyboard handling
- configUi->listMainSection->setFocus();
- }
-
- if (moreSelItem) {
- moreSelItem->setSelected(true);
- configUi->listMoreSection->setCurrentItem(moreSelItem); // for focus and keyboard handling
- configUi->listMoreSection->setFocus();
- }
-
- updateMoveButtonsState();
- }
-};
-
-/**
- * for merging strategy see KMoreToolsMenuBuilderPrivate::createMenuStructure(mergeWithUserConfig=true)
- */
-KMoreToolsConfigDialog::KMoreToolsConfigDialog(const MenuStructureDto& defaultStructure,
- const MenuStructureDto& currentStructure,
- const QString& title)
- : d(new KMoreToolsConfigDialogPrivate())
-{
- d->defaultStructure = defaultStructure;
- d->currentStructure = currentStructure;
-
- QWidget *configPage = new QWidget();
- if (title.isEmpty()) {
- addPage(configPage, i18n("Configure menu"));
- } else {
- addPage(configPage, i18n("Configure menu - %1", title));
- }
- d->configUi = new Ui::KMoreToolsConfigWidget();
- d->configUi->setupUi(configPage);
-
- //
- // show or don't show not-installed section depending if there are any
- //
- auto notInstalledServices = defaultStructure.notInstalledServices();
- d->configUi->frameNotInstalledTools->setVisible(!notInstalledServices.empty());
- if (!notInstalledServices.empty()) {
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/src/kmoretools/kmoretoolsconfigdialog_p.h
^
|
@@ -1,50 +0,0 @@
-/*
- Copyright 2015 by Gregor Mi <codestruct@posteo.org>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#ifndef KMORETOOLSCONFIGDIALOG_H
-#define KMORETOOLSCONFIGDIALOG_H
-
-#include <KPageDialog>
-
-#include "kmoretools_p.h"
-
-class KMoreToolsConfigDialogPrivate;
-
-class KMoreToolsConfigDialog : public KPageDialog
-{
-public:
- /**
- * @param defaultStructure: as defined in calling code; also includes the not-installed items
- * @param configuredStructure: as loaded from config file
- * @param title: optional title
- */
- KMoreToolsConfigDialog(const MenuStructureDto& defaultStructure,
- const MenuStructureDto& currentStructure,
- const QString& title = QString());
-
- ~KMoreToolsConfigDialog();
-
- /**
- * result after ctor or after user used the dialog
- */
- MenuStructureDto currentStructure();
-
-private:
- KMoreToolsConfigDialogPrivate* d;
-};
-
-#endif // KMORETOOLSCONFIGDIALOG_H
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/src/kmoretools/kmoretoolspresets.cpp
^
|
@@ -1,98 +0,0 @@
-/*
- Copyright 2015 by Gregor Mi <codestruct@posteo.org>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "kmoretoolspresets.h"
-
-#include <QDebug>
-
-#include <KNS3/KMoreTools>
-
-KMoreToolsService* registerImpl(KMoreTools* kmt, const QString& desktopEntryName, const QString& homepageUrl)
-{
- const QString subdir = "presets-kmoretools";
- auto serviceLocatingMode = desktopEntryName.endsWith(".kmt-edition") ?
- KMoreTools::ServiceLocatingMode_ByProvidedExecLine : KMoreTools::ServiceLocatingMode_Default;
- auto service = kmt->registerServiceByDesktopEntryName(desktopEntryName, subdir, serviceLocatingMode);
- service->setHomepageUrl(QUrl(homepageUrl));
- return service;
-}
-
-//
-// todo later: this code is quite repetetive and could be made easier to read
-// (or add an X-Property to desktop files because Homepage is not standard)
-//
-KMoreToolsService* KMoreToolsPresets::registerServiceByDesktopEntryName(KMoreTools* kmt, const QString& desktopEntryName)
-{
- KMoreToolsService* service = nullptr;
-
- if (desktopEntryName == QString("git-cola-folder-handler")) {
- return registerImpl(kmt, desktopEntryName, QLatin1String("https://git-cola.github.io"));
- } else if (desktopEntryName == QString("git-cola-view-history.kmt-edition")) {
- return registerImpl(kmt, desktopEntryName, QLatin1String("https://git-cola.github.io"));
- } else if (desktopEntryName == QString("gitk.kmt-edition")) {
- return registerImpl(kmt, desktopEntryName, QLatin1String("http://git-scm.com/docs/gitk"));
- } else if (desktopEntryName == QString("qgit.kmt-edition")) {
- return registerImpl(kmt, desktopEntryName, QLatin1String("http://libre.tibirna.org/projects/qgit"));
- } else if (desktopEntryName == QString("gitg")) {
- return registerImpl(kmt, desktopEntryName, QLatin1String("https://wiki.gnome.org/action/show/Apps/Gitg?action=show&redirect=Gitg"));
- } else if (desktopEntryName == QString("gparted")) {
- return registerImpl(kmt, desktopEntryName, QLatin1String("http://gparted.org"));
- } else if (desktopEntryName == QString("partitionmanager")) {
- return registerImpl(kmt, desktopEntryName, QLatin1String("www.partitionmanager.org"));
- } else if (desktopEntryName == QString("disk")) {
- return registerImpl(kmt, desktopEntryName, QLatin1String("https://en.opensuse.org/YaST_Disk_Controller"));
- } else if (desktopEntryName == QString("kdf")) {
- return registerImpl(kmt, desktopEntryName, QLatin1String("https://www.kde.org/applications/system/kdiskfree"));
- } else if (desktopEntryName == QString("org.kde.filelight")) {
- return registerImpl(kmt, desktopEntryName, QLatin1String("https://utils.kde.org/projects/filelight"));
- } else {
- qDebug() << "KMoreToolsPresets::registerServiceByDesktopEntryName: " << desktopEntryName << "was not found. Return nullptr.";
- }
-
- return service;
-}
-
-QList<KMoreToolsService*> KMoreToolsPresets::registerServicesByCategory(KMoreTools* kmt, const QStringList& categories)
-{
- QList<KMoreToolsService*> resultList;
-
- if (categories.contains("git-clients")) {
- resultList << registerServiceByDesktopEntryName(kmt, QLatin1String("git-cola-folder-handler"));
- resultList << registerServiceByDesktopEntryName(kmt, QLatin1String("git-cola-view-history.kmt-edition"));
- resultList << registerServiceByDesktopEntryName(kmt, QLatin1String("gitk.kmt-edition"));
- resultList << registerServiceByDesktopEntryName(kmt, QLatin1String("qgit.kmt-edition"));
- resultList << registerServiceByDesktopEntryName(kmt, QLatin1String("gitg"));
- }
-
- if (categories.contains("disk-usage")) {
- resultList << registerServiceByDesktopEntryName(kmt, QLatin1String("kdf"));
- resultList << registerServiceByDesktopEntryName(kmt, QLatin1String("org.kde.filelight"));
- }
-
- if (categories.contains("disk-partitions")) {
- resultList << registerServiceByDesktopEntryName(kmt, QLatin1String("gparted"));
- resultList << registerServiceByDesktopEntryName(kmt, QLatin1String("partitionmanager"));
- resultList << registerServiceByDesktopEntryName(kmt, QLatin1String("disk"));
- }
-
- if (resultList.isEmpty()) {
- qDebug() << "KMoreToolsPresets::registerServicesByCategory: " << categories << ". Nothing found in this categories. TODO: check for invalid category strings.";
- }
-
- return resultList;
-}
-
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/src/kmoretools/kmoretoolspresets.h
^
|
@@ -1,67 +0,0 @@
-/*
- Copyright 2015 by Gregor Mi <codestruct@posteo.org>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#ifndef KMORETOOLSPRESETS_H
-#define KMORETOOLSPRESETS_H
-
-#include <QString>
-#include <QUrl>
-#include <QMenu>
-
-#include "knewstuff_export.h"
-
-class KMoreTools;
-class KMoreToolsService;
-
-/**
- * TODO: doc
- */
-class KNEWSTUFF_EXPORT KMoreToolsPresets
-{
-public:
- /**
- * Registers a service who's kmt-desktopfile is provided by the
- * KMoreTools library itself. If the kmt-desktopfile is missing the
- * service is still created but with no translations and icon if the service
- * is not installed.
- *
- * Sets the homepage URL for your convenience. And add some corrections.
- *
- * todo: how to avoid the "Do you trust this program?" question when a
- * non-installed desktop file is used? Possible solution: install all
- * .kmt-edition files to proper desktop file location.
- *
- *
- * @returns the added KMoreToolsService
- */
- static KMoreToolsService* registerServiceByDesktopEntryName(KMoreTools* kmt, const QString& desktopEntryName);
-
- /**
- * Makes use of registerServiceByDesktopEntryName.
- *
- * Available categories:
- * "git-clients"
- * "disk-usage"
- * "disk-partitions"
- * todo later: "screenshot-aquire", "screenshot-edit"
- *
- * todo: handle overlapping categories
- */
- static QList<KMoreToolsService*> registerServicesByCategory(KMoreTools* kmt, const QStringList& categories);
-};
-
-#endif
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/src/kmoretools/ui
^
|
-(directory)
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/src/kmoretools/ui/kmoretoolsconfigwidget.ui
^
|
@@ -1,249 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>KMoreToolsConfigWidget</class>
- <widget class="QWidget" name="KMoreToolsConfigWidget">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>1001</width>
- <height>452</height>
- </rect>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QGroupBox" name="gbMainSection">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="title">
- <string>Main section</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QListWidget" name="listMainSection"/>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="widget" native="true">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>170</width>
- <height>325</height>
- </size>
- </property>
- <widget class="QToolButton" name="buttonMoveDown">
- <property name="geometry">
- <rect>
- <x>40</x>
- <y>190</y>
- <width>81</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text">
- <string>Move down</string>
- </property>
- <property name="icon">
- <iconset theme="arrow-down">
- <normaloff/>
- </iconset>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonTextUnderIcon</enum>
- </property>
- </widget>
- <widget class="QToolButton" name="buttonMoveUp">
- <property name="geometry">
- <rect>
- <x>40</x>
- <y>140</y>
- <width>81</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text">
- <string>Move up</string>
- </property>
- <property name="icon">
- <iconset theme="arrow-up">
- <normaloff/>
- </iconset>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonTextUnderIcon</enum>
- </property>
- </widget>
- <widget class="QToolButton" name="buttonMoveToMain">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>90</y>
- <width>147</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text">
- <string>Move to Main section</string>
- </property>
- <property name="icon">
- <iconset theme="arrow-left">
- <normaloff/>
- </iconset>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonTextUnderIcon</enum>
- </property>
- </widget>
- <widget class="QToolButton" name="buttonMoveToMore">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>40</y>
- <width>148</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text">
- <string>Move to More section</string>
- </property>
- <property name="icon">
- <iconset theme="arrow-right">
- <normaloff/>
- </iconset>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonTextUnderIcon</enum>
- </property>
- </widget>
- <widget class="QPushButton" name="buttonReset">
- <property name="geometry">
- <rect>
- <x>40</x>
- <y>280</y>
- <width>80</width>
- <height>21</height>
- </rect>
- </property>
- <property name="text">
- <string>Reset</string>
- </property>
- <property name="icon">
- <iconset theme="document-revert">
- <normaloff/>
- </iconset>
- </property>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="gbMoreSection">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="title">
- <string>More section</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QListWidget" name="listMoreSection"/>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QFrame" name="frameNotInstalledTools">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>100</width>
- <height>0</height>
- </size>
- </property>
|
[-]
[+]
|
Changed |
knewstuff-5.9.0.tar.xz/tests/CMakeLists.txt
^
|
@@ -1,7 +1,7 @@
include(ECMMarkAsTest)
-find_package(Qt5 5.2.0 CONFIG REQUIRED Test Widgets) # Widgets for KMoreTools
+find_package(Qt5 5.2.0 CONFIG REQUIRED Test)
macro(knewstuff_executable_tests)
foreach(_testname ${ARGN})
@@ -25,16 +25,3 @@
# knewstuff2_cache
#)
-# KMoreTools:
-add_executable(kmoretoolstest kmoretools/kmoretoolstest.cpp)
-add_test(kmoretoolstest kmoretoolstest)
-ecm_mark_as_test(kmoretoolstest)
-target_link_libraries(kmoretoolstest Qt5::Test Qt5::Widgets KF5::NewStuff KF5::I18n)
-install(FILES kmoretools/1/a.desktop.notranslate DESTINATION ${KDE_INSTALL_DATADIR_KF5}/kmoretools/unittest-kmoretools/1 RENAME a.desktop)
-install(FILES kmoretools/1/b.desktop.notranslate DESTINATION ${KDE_INSTALL_DATADIR_KF5}/kmoretools/unittest-kmoretools/1 RENAME b.desktop)
-install(FILES kmoretools/1/c.desktop.notranslate DESTINATION ${KDE_INSTALL_DATADIR_KF5}/kmoretools/unittest-kmoretools/1 RENAME c.desktop)
-install(FILES kmoretools/2/kate.desktop.notranslate DESTINATION ${KDE_INSTALL_DATADIR_KF5}/kmoretools/unittest-kmoretools/2 RENAME kate.desktop)
-install(FILES kmoretools/2/kate.png DESTINATION ${KDE_INSTALL_DATADIR_KF5}/kmoretools/unittest-kmoretools/2)
-install(FILES kmoretools/2/mynotinstalledapp.desktop.notranslate DESTINATION ${KDE_INSTALL_DATADIR_KF5}/kmoretools/unittest-kmoretools/2 RENAME mynotinstalledapp.desktop)
-install(FILES kmoretools/2/mynotinstalledapp.png DESTINATION ${KDE_INSTALL_DATADIR_KF5}/kmoretools/unittest-kmoretools/2)
-install(FILES kmoretools/2/mynotinstapp2.desktop.notranslate DESTINATION ${KDE_INSTALL_DATADIR_KF5}/kmoretools/unittest-kmoretools/2 RENAME mynotinstapp2.desktop)
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/tests/kmoretools
^
|
-(directory)
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/tests/kmoretools/1
^
|
-(directory)
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/tests/kmoretools/1/a.desktop.notranslate
^
|
@@ -1,3 +0,0 @@
-[Desktop Entry]
-Icon=hurz
-Type=Application
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/tests/kmoretools/1/b.desktop.notranslate
^
|
@@ -1,12 +0,0 @@
-[Desktop Entry MUH]
-Name=hury
-Name[nl]=haasten
-Name[pt]=hury
-Name[pt_BR]=hury
-Name[sl]=hury
-Name[sv]=hury
-Name[uk]=hury
-Name[x-test]=xxhuryxx
-Icon=hurz
-Type=Application
-Exec=hallo
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/tests/kmoretools/1/c.desktop.notranslate
^
|
@@ -1,4 +0,0 @@
-[Desktop Entry]
-Icon=hurz
-Type=Application
-Exec=hallo
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/tests/kmoretools/2
^
|
-(directory)
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/tests/kmoretools/2/kate.desktop.notranslate
^
|
@@ -1,31 +0,0 @@
-[Desktop Entry]
-GenericName=Advanced Text Editor
-GenericName[nl]=Geavanceerde teksteditor
-GenericName[pt]=Editor de Texto Avançado
-GenericName[pt_BR]=Editor de texto avançado
-GenericName[sl]=Napreden urejevalnik besedil
-GenericName[sv]=Avancerad texteditor
-GenericName[uk]=Потужний текстовий редактор
-GenericName[x-test]=xxAdvanced Text Editorxx
-Name=Kate
-Name[nl]=Kate
-Name[pt]=Kate
-Name[pt_BR]=Kate
-Name[sl]=Kate
-Name[sv]=Kate
-Name[uk]=Kate
-Name[x-test]=xxKatexx
-MimeType=text/plain;
-Exec=kate -b %U
-X-KDE-StartupNotify=true
-X-KDE-HasTempFileOption=true
-Icon=kate
-X-DocPath=kate/index.html
-Type=Application
-Terminal=false
-InitialPreference=9
-X-DBUS-StartupType=Multi
-X-DBUS-ServiceName=org.kde.kate
-Categories=Qt;KDE;Utility;TextEditor;
-
-
|
|
Deleted |
knewstuff-5.9.0.tar.xz/tests/kmoretools/2/kate.png
^
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/tests/kmoretools/2/mynotinstalledapp.desktop.notranslate
^
|
@@ -1,22 +0,0 @@
-[Desktop Entry]
-Name=My Not Installed App
-Name[nl]=Mijn niet geïnstalleerde app
-Name[pt]=A Minha Aplicação Não Instalada
-Name[pt_BR]=Meu aplicativo não instalado
-Name[sl]=Moj program, ki ni nameščen
-Name[sv]=Min inte installerade applikation
-Name[uk]=Невстановлена програма
-Name[x-test]=xxMy Not Installed Appxx
-Exec=mynotinstalledapp %c
-Icon=mynotinstalledapp
-Type=Application
-GenericName=The never installed app
-GenericName[nl]=De nooit geïnstalleerde app
-GenericName[pt]=A aplicação nunca instalada
-GenericName[pt_BR]=Aplicativo nunca instalado
-GenericName[sl]=Nikoli nameščen program
-GenericName[sv]=Min aldrig installerade applikation
-GenericName[uk]=Ніколи не встановлювана програма
-GenericName[x-test]=xxThe never installed appxx
-Terminal=false
-Categories=Qt;KDE;System;
|
|
Deleted |
knewstuff-5.9.0.tar.xz/tests/kmoretools/2/mynotinstalledapp.png
^
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/tests/kmoretools/2/mynotinstapp2.desktop.notranslate
^
|
@@ -1,22 +0,0 @@
-[Desktop Entry]
-Name=My Not Inst App 2
-Name[nl]=Mijn niet geïnstalleerde app 2
-Name[pt]=A Minha Aplicação Não Instalada 2
-Name[pt_BR]=Meu aplicativo não instalado 2
-Name[sl]=Moj program, ki ni nameščen 2
-Name[sv]=Min inte installerade applikation 2
-Name[uk]=Ще одна невстановлена програма
-Name[x-test]=xxMy Not Inst App 2xx
-Exec=mynotinstdapp2 %c
-Icon=mynotinstdapp2
-Type=Application
-GenericName=The second never installed app
-GenericName[nl]=De tweede nooit geïnstalleerde app
-GenericName[pt]=A segunda aplicação nunca instalada
-GenericName[pt_BR]=Segundo aplicativo nunca instalado
-GenericName[sl]=Drugi nikoli nameščen program
-GenericName[sv]=Den andra aldrig installerade applikationen
-GenericName[uk]=Друга ніколи не встановлювана програма
-GenericName[x-test]=xxThe second never installed appxx
-Terminal=false
-Categories=Qt;KDE;System;
|
[-]
[+]
|
Deleted |
knewstuff-5.9.0.tar.xz/tests/kmoretools/kmoretoolstest.cpp
^
|
@@ -1,516 +0,0 @@
-/*
- * Copyright 2014 2015 by Gregor Mi <codestruct@posteo.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) version 3, or any
- * later version accepted by the membership of KDE e.V. (or its
- * successor approved by the membership of KDE e.V.), which shall
- * act as a proxy defined in Section 6 of version 3 of the license.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see
- * <http://www.gnu.org/licenses/>.
- */
-
-#include <../src/kmoretools/kmoretools.h>
-#include <../src/kmoretools/kmoretools_p.h>
-
-#include <QTest>
-#include <QRegularExpression>
-#include <QDialog>
-#include <QLabel>
-#include <QHBoxLayout>
-#include <QPushButton>
-
-#define _ QLatin1String
-
-class KMoreToolsTest : public QObject
-{
- Q_OBJECT
-
-private Q_SLOTS: // todo: why does just "slots" not work here? (see http://qt-project.org/forums/viewthread/18432)
- void init();
- void cleanup();
-
- // corner, error cases and impl details:
- void testDesktopFileWithNoExec();
- void testDesktopFileWithInvalidHeader();
- void testDesktopFileWithNoName();
- void testDesktopFileNotProvided();
- void testDetectByExecLineButNoFileProvided();
- void testRegisterServiceTwice();
- void testMenuBuilderWithConfigPostfix();
-
- // use cases:
- void testInstalledAppStructure();
- void testInstalledAppSetInitialItemText();
- void testNotInstalledAppStructure();
- void testNotInstalledAppIcon();
- void testUniqueItemIdForOwnActions();
-
- void test_buildMenu_ShowConfigureMenuItem();
- void test_buildMenu_PruneDuplicateNotInstalledService();
-
-
- // kmoretools_p.h tests:
- void testMenuItemIdGen();
- void test_MenuItemDto_removeMenuAmpersand();
- void test_MenuStructureDto_sortListByCategory();
- void test_MenuStructureDto_serialize();
- void test_MenuStructureDto_deserialize();
-
- // GUI (manual / interactive):
- void testConfigDialogAllInstalled();
- void testConfigDialogSomeNotInstalled();
- void testConfigDialogNotInstalled1Service2Items();
- void test_buildMenu_WithQActions_interative1();
-
-public:
- static const bool enableInteractiveTests = true; // default == false for non-interactive testing
-};
-
-void KMoreToolsTest::init()
-{
-}
-
-void KMoreToolsTest::cleanup()
-{
-}
-
-/**
- * no Exec line => not a usable desktop file
- */
-void KMoreToolsTest::testDesktopFileWithNoExec()
-{
- KMoreTools kmt(QLatin1String(_("unittest-kmoretools/1")));
- QTest::ignoreMessage(QtWarningMsg, QRegularExpression(_("The desktop entry file .+ has Type= \"Application\" but no Exec line")));
- QTest::ignoreMessage(QtCriticalMsg, "KMoreTools::registerServiceByDesktopEntryName: the kmt-desktopfile is provided but no Exec line is specified. The desktop file is probably faulty. Please fix. Return nullptr.");
- auto aApp = kmt.registerServiceByDesktopEntryName(_("a"));
- QVERIFY(!aApp);
-}
-
-/**
- * invalid header? => Exec line not found
- */
-void KMoreToolsTest::testDesktopFileWithInvalidHeader()
-{
- KMoreTools kmt(_("unittest-kmoretools/1"));
- QTest::ignoreMessage(QtWarningMsg, QRegularExpression(_("The desktop entry file .+ has Type= \"Application\" but no Exec line")));
- auto bApp = kmt.registerServiceByDesktopEntryName(_("b"));
- QVERIFY(!bApp);
-}
-
-/**
- * no Name line => name() will be filled automatically, everything will be ok
- */
-void KMoreToolsTest::testDesktopFileWithNoName()
-{
- KMoreTools kmt(_("unittest-kmoretools/1"));
- auto cApp = kmt.registerServiceByDesktopEntryName(_("c"));
- QVERIFY(cApp);
- QCOMPARE(cApp->desktopEntryName(), QString(_("c")));
- QVERIFY(cApp->kmtProvidedService());
- QCOMPARE(cApp->kmtProvidedService()->exec(), QString(_("hallo")));
-}
-
-/**
- * desktop file not present => warning
- */
-void KMoreToolsTest::testDesktopFileNotProvided()
-{
- KMoreTools kmt(_("unittest-kmoretools/1"));
- QTest::ignoreMessage(QtWarningMsg, "desktopEntryName (apparently) not provided in the installed kmt-desktopfiles directory. If the service is also not installed on the system the user won't get nice translated app name and description.");
- auto eeeApp = kmt.registerServiceByDesktopEntryName(_("eee"));
- QVERIFY(eeeApp);
- QCOMPARE(eeeApp->desktopEntryName(), QString(_("eee")));
-}
-
-void KMoreToolsTest::testDetectByExecLineButNoFileProvided()
-{
- KMoreTools kmt(_("unittest-kmoretools/1"));
- QTest::ignoreMessage(QtCriticalMsg, "KMoreTools::registerServiceByDesktopEntryName: If detectServiceExistenceViaProvidedExecLine is true then a kmt-desktopfile must be provided. Please fix. Return nullptr.");
- auto eeeApp = kmt.registerServiceByDesktopEntryName(_("eee"), QString(), KMoreTools::ServiceLocatingMode_ByProvidedExecLine);
- QVERIFY(!eeeApp);
-}
-
-void KMoreToolsTest::testRegisterServiceTwice()
-{
- KMoreTools kmt(_("unittest-kmoretools/1"));
- /*auto eeeApp1 = */kmt.registerServiceByDesktopEntryName(_("eee"));
- /*auto eeeApp2 = */kmt.registerServiceByDesktopEntryName(_("eee"));
- // todo: verify that there is only the last item in the internal service list
-}
-
-void KMoreToolsTest::testMenuBuilderWithConfigPostfix()
-{
- KMoreTools kmt(_("unittest-kmoretools/1"));
- auto menuBuilder1 = kmt.menuBuilder();
- auto menuBuilder2 = kmt.menuBuilder();
- auto menuBuilder3 = kmt.menuBuilder(_("postfix"));
- auto menuBuilder4 = kmt.menuBuilder(_("postfix"));
-
- QVERIFY(menuBuilder1 == menuBuilder2);
- QVERIFY(menuBuilder3 != menuBuilder1);
- QVERIFY(menuBuilder3 == menuBuilder4);
-}
-
-/**
- * NOTE: we assume kate is installed
- */
-void KMoreToolsTest::testInstalledAppStructure()
-{
- KMoreTools kmt(_("unittest-kmoretools/2"));
- const auto kateApp = kmt.registerServiceByDesktopEntryName(_("kate"));
- const auto menuBuilder = kmt.menuBuilder();
- menuBuilder->addMenuItem(kateApp);
- QString s = menuBuilder->menuStructureAsString(false);
- qDebug() << s;
- QCOMPARE(s, QString(_("|main|:kate.|more|:|notinstalled|:")));
-}
-
-/**
- * NOTE: we assume kate is installed
- * and that the translated Name is "Kate"
- */
-void KMoreToolsTest::testInstalledAppSetInitialItemText()
-{
- KMoreTools kmt(_("unittest-kmoretools/2"));
- const auto kateApp = kmt.registerServiceByDesktopEntryName(_("kate"));
- const auto menuBuilder = kmt.menuBuilder();
- auto kateAppItem = menuBuilder->addMenuItem(kateApp);
- kateAppItem->setInitialItemText(kateApp->formatString(_("$Name in super-user mode")));
- auto action = kateAppItem->action();
- QVERIFY(action); // because kate is installed;
- QCOMPARE(action->text(), QString(_("Kate in super-user mode")));
-}
-
-void KMoreToolsTest::testNotInstalledAppStructure()
-{
- KMoreTools kmt(_("unittest-kmoretools/2"));
- const auto mynotInstalledApp = kmt.registerServiceByDesktopEntryName(_("mynotinstalledapp"));
- const auto menuBuilder = kmt.menuBuilder();
- menuBuilder->addMenuItem(mynotInstalledApp);
|