Permalink
Browse files

Remove the old life-preserver from the src-qt4/life-preserver dir, an…

…d replace it with src-qt4/life-preserver/lp-tray and src-qt4/life-preserver/lp-gui.
  • Loading branch information...
1 parent dca28eb commit 6a2483b7aefaf081404b0e9145e30187b07b6bdf Ken Moore committed Oct 21, 2013
Showing with 46,369 additions and 47,548 deletions.
  1. +0 −18 src-qt4/life-preserver/LPGUtils.h
  2. +0 −90 src-qt4/life-preserver/LPMain.cpp
  3. +0 −44 src-qt4/life-preserver/LPMain.h
  4. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_af.ts
  5. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_ar.ts
  6. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_az.ts
  7. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_bg.ts
  8. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_bn.ts
  9. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_bs.ts
  10. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_ca.ts
  11. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_cs.ts
  12. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_cy.ts
  13. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_da.ts
  14. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_de.ts
  15. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_el.ts
  16. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_en_GB.ts
  17. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_en_ZA.ts
  18. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_es.ts
  19. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_et.ts
  20. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_eu.ts
  21. +0 −714 src-qt4/life-preserver/i18n/LifePreserver_fa.ts
  22. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_fi.ts
  23. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_fr.ts
  24. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_fr_CA.ts
  25. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_fur.ts
  26. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_gl.ts
  27. +0 −713 src-qt4/life-preserver/i18n/LifePreserver_he.ts
  28. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_hi.ts
  29. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_hr.ts
  30. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_hu.ts
  31. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_id.ts
  32. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_is.ts
  33. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_it.ts
  34. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_ja.ts
  35. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_ka.ts
  36. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_ko.ts
  37. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_lt.ts
  38. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_lv.ts
  39. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_mk.ts
  40. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_mn.ts
  41. +0 −714 src-qt4/life-preserver/i18n/LifePreserver_ms.ts
  42. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_mt.ts
  43. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_nb.ts
  44. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_ne.ts
  45. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_nl.ts
  46. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_pa.ts
  47. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_pl.ts
  48. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_pt.ts
  49. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_pt_BR.ts
  50. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_ro.ts
  51. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_ru.ts
  52. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_sa.ts
  53. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_sk.ts
  54. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_sl.ts
  55. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_sr.ts
  56. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_sv.ts
  57. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_sw.ts
  58. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_ta.ts
  59. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_tg.ts
  60. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_th.ts
  61. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_tr.ts
  62. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_uk.ts
  63. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_uz.ts
  64. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_vi.ts
  65. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_zh_CN.ts
  66. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_zh_HK.ts
  67. +0 −706 src-qt4/life-preserver/i18n/LifePreserver_zh_TW.ts
  68. +0 −715 src-qt4/life-preserver/i18n/LifePreserver_zu.ts
  69. BIN src-qt4/life-preserver/images/tray-icon-active10.png
  70. BIN src-qt4/life-preserver/images/tray-icon-active11.png
  71. BIN src-qt4/life-preserver/images/tray-icon-active12.png
  72. BIN src-qt4/life-preserver/images/tray-icon-active13.png
  73. BIN src-qt4/life-preserver/images/tray-icon-active14.png
  74. BIN src-qt4/life-preserver/images/tray-icon-active15.png
  75. BIN src-qt4/life-preserver/images/tray-icon-active16.png
  76. BIN src-qt4/life-preserver/images/tray-icon-active2.png
  77. BIN src-qt4/life-preserver/images/tray-icon-active3.png
  78. BIN src-qt4/life-preserver/images/tray-icon-active4.png
  79. BIN src-qt4/life-preserver/images/tray-icon-active5.png
  80. BIN src-qt4/life-preserver/images/tray-icon-active6.png
  81. BIN src-qt4/life-preserver/images/tray-icon-active7.png
  82. BIN src-qt4/life-preserver/images/tray-icon-active8.png
  83. BIN src-qt4/life-preserver/images/tray-icon-active9.png
  84. +2 −117 src-qt4/life-preserver/life-preserver.pro
  85. +37 −53 src-qt4/life-preserver/{ → lp-gui}/LPBackend.cpp
  86. +6 −4 src-qt4/life-preserver/{ → lp-gui}/LPBackend.h
  87. 0 src-qt4/life-preserver/{ → lp-gui}/LPConfig.cpp
  88. 0 src-qt4/life-preserver/{ → lp-gui}/LPConfig.h
  89. 0 src-qt4/life-preserver/{ → lp-gui}/LPConfig.ui
  90. +4 −2 src-qt4/life-preserver/{ → lp-gui}/LPContainers.h
  91. +254 −0 src-qt4/life-preserver/lp-gui/LPGUtils.cpp
  92. +28 −0 src-qt4/life-preserver/lp-gui/LPGUtils.h
  93. +671 −0 src-qt4/life-preserver/lp-gui/LPMain.cpp
  94. +84 −0 src-qt4/life-preserver/lp-gui/LPMain.h
  95. +223 −147 src-qt4/life-preserver/{ → lp-gui}/LPMain.ui
  96. 0 src-qt4/life-preserver/{ → lp-gui}/LPWizard.cpp
  97. 0 src-qt4/life-preserver/{ → lp-gui}/LPWizard.h
  98. 0 src-qt4/life-preserver/{ → lp-gui}/LPWizard.ui
  99. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_af.ts
  100. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_ar.ts
  101. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_az.ts
  102. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_bg.ts
  103. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_bn.ts
  104. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_bs.ts
  105. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_ca.ts
  106. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_cs.ts
  107. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_cy.ts
  108. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_da.ts
  109. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_de.ts
  110. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_el.ts
  111. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_en_GB.ts
  112. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_en_US.ts
  113. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_en_ZA.ts
  114. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_es.ts
  115. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_et.ts
  116. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_eu.ts
  117. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_fa.ts
  118. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_fi.ts
  119. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_fr.ts
  120. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_fr_CA.ts
  121. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_fur.ts
  122. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_gl.ts
  123. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_he.ts
  124. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_hi.ts
  125. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_hr.ts
  126. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_hu.ts
  127. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_id.ts
  128. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_is.ts
  129. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_it.ts
  130. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_ja.ts
  131. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_ka.ts
  132. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_ko.ts
  133. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_lt.ts
  134. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_lv.ts
  135. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_mk.ts
  136. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_mn.ts
  137. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_ms.ts
  138. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_mt.ts
  139. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_nb.ts
  140. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_ne.ts
  141. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_nl.ts
  142. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_pa.ts
  143. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_pl.ts
  144. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_pt.ts
  145. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_pt_BR.ts
  146. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_ro.ts
  147. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_ru.ts
  148. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_sa.ts
  149. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_sk.ts
  150. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_sl.ts
  151. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_sr.ts
  152. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_sv.ts
  153. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_sw.ts
  154. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_ta.ts
  155. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_tg.ts
  156. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_th.ts
  157. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_tr.ts
  158. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_uk.ts
  159. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_uz.ts
  160. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_vi.ts
  161. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_zh_CN.ts
  162. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_zh_HK.ts
  163. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_zh_TW.ts
  164. +439 −0 src-qt4/life-preserver/lp-gui/i18n/LifePreserver_zu.ts
  165. 0 src-qt4/life-preserver/{ → lp-gui}/images/.directory
  166. BIN src-qt4/life-preserver/{ → lp-gui}/images/application-exit.png
  167. BIN src-qt4/life-preserver/{ → lp-gui}/images/backup-failed.png
  168. BIN src-qt4/life-preserver/{ → lp-gui}/images/backup-ok.png
  169. BIN src-qt4/life-preserver/lp-gui/images/box_add.png
  170. BIN src-qt4/life-preserver/lp-gui/images/box_extract.png
  171. BIN src-qt4/life-preserver/{ → lp-gui}/images/camera_add.png
  172. BIN src-qt4/life-preserver/{ → lp-gui}/images/configure.png
  173. BIN src-qt4/life-preserver/{ → lp-gui}/images/copy.png
  174. BIN src-qt4/life-preserver/{ → lp-gui}/images/drive-removable-media.png
  175. BIN src-qt4/life-preserver/{ → lp-gui}/images/folder.png
  176. BIN src-qt4/life-preserver/{ → lp-gui}/images/key.png
  177. BIN src-qt4/life-preserver/{ → lp-gui}/images/lifepreserver.png
  178. BIN src-qt4/life-preserver/{ → lp-gui}/images/list-add.png
  179. BIN src-qt4/life-preserver/{ → lp-gui}/images/list-remove.png
  180. BIN src-qt4/life-preserver/lp-gui/images/network-wired-red.png
  181. BIN src-qt4/life-preserver/{ → lp-gui}/images/network-wired.png
  182. BIN src-qt4/life-preserver/{ → lp-gui}/images/next.png
  183. BIN src-qt4/life-preserver/{ → lp-gui}/images/previous.png
  184. BIN src-qt4/life-preserver/lp-gui/images/refresh.png
  185. BIN src-qt4/life-preserver/{ → lp-gui}/images/system-run.png
  186. BIN src-qt4/life-preserver/{ → lp-gui}/images/tray-icon-error.png
  187. BIN src-qt4/life-preserver/{ → lp-gui}/images/tray-icon-failed.png
  188. BIN src-qt4/life-preserver/{ → lp-gui}/images/tray-icon-idle.png
  189. BIN src-qt4/life-preserver/{ → lp-gui}/images/tray-icon-working.png
  190. BIN src-qt4/life-preserver/{ → lp-gui}/images/upload.png
  191. BIN src-qt4/life-preserver/{ → lp-gui}/images/view.png
  192. +4 −17 src-qt4/life-preserver/{ → lp-gui}/lPreserve.qrc
  193. +105 −0 src-qt4/life-preserver/lp-gui/life-preserver.pro
  194. +2 −2 src-qt4/life-preserver/{ → lp-gui}/main.cpp
  195. 0 src-qt4/life-preserver/{ → lp-gui}/scripts/setup-ssh-keys.sh
  196. +12 −8 src-qt4/life-preserver/{ → lp-tray}/LPMessages.cpp
  197. +1 −2 src-qt4/life-preserver/{ → lp-tray}/LPMessages.h
  198. 0 src-qt4/life-preserver/{ → lp-tray}/LPMessages.ui
  199. +25 −22 src-qt4/life-preserver/{ → lp-tray}/LPTray.cpp
  200. +1 −2 src-qt4/life-preserver/{ → lp-tray}/LPTray.h
  201. +106 −36 src-qt4/life-preserver/{ → lp-tray}/LPWatcher.cpp
  202. +8 −3 src-qt4/life-preserver/{ → lp-tray}/LPWatcher.h
  203. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_af.ts
  204. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_ar.ts
  205. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_az.ts
  206. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_bg.ts
  207. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_bn.ts
  208. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_bs.ts
  209. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_ca.ts
  210. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_cs.ts
  211. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_cy.ts
  212. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_da.ts
  213. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_de.ts
  214. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_el.ts
  215. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_en_GB.ts
  216. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_en_US.ts
  217. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_en_ZA.ts
  218. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_es.ts
  219. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_et.ts
  220. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_eu.ts
  221. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_fa.ts
  222. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_fi.ts
  223. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_fr.ts
  224. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_fr_CA.ts
  225. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_fur.ts
  226. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_gl.ts
  227. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_he.ts
  228. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_hi.ts
  229. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_hr.ts
  230. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_hu.ts
  231. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_id.ts
  232. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_is.ts
  233. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_it.ts
  234. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_ja.ts
  235. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_ka.ts
  236. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_ko.ts
  237. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_lt.ts
  238. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_lv.ts
  239. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_mk.ts
  240. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_mn.ts
  241. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_ms.ts
  242. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_mt.ts
  243. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_nb.ts
  244. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_ne.ts
  245. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_nl.ts
  246. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_pa.ts
  247. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_pl.ts
  248. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_pt.ts
  249. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_pt_BR.ts
  250. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_ro.ts
  251. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_ru.ts
  252. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_sa.ts
  253. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_sk.ts
  254. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_sl.ts
  255. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_sr.ts
  256. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_sv.ts
  257. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_sw.ts
  258. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_ta.ts
  259. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_tg.ts
  260. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_th.ts
  261. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_tr.ts
  262. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_uk.ts
  263. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_uz.ts
  264. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_vi.ts
  265. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_zh_CN.ts
  266. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_zh_HK.ts
  267. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_zh_TW.ts
  268. +237 −0 src-qt4/life-preserver/lp-tray/i18n/LifePreserverTray_zu.ts
  269. +4 −0 src-qt4/life-preserver/lp-tray/images/.directory
  270. BIN src-qt4/life-preserver/lp-tray/images/application-exit.png
  271. BIN src-qt4/life-preserver/lp-tray/images/backup-failed.png
  272. BIN src-qt4/life-preserver/lp-tray/images/backup-ok.png
  273. BIN src-qt4/life-preserver/lp-tray/images/configure.png
  274. BIN src-qt4/life-preserver/lp-tray/images/lifepreserver.png
  275. BIN src-qt4/life-preserver/lp-tray/images/list-add.png
  276. BIN src-qt4/life-preserver/lp-tray/images/list-remove.png
  277. BIN src-qt4/life-preserver/lp-tray/images/refresh.png
  278. BIN src-qt4/life-preserver/lp-tray/images/tray-icon-error.png
  279. BIN src-qt4/life-preserver/lp-tray/images/tray-icon-failed.png
  280. BIN src-qt4/life-preserver/{images/tray-icon-active1.png → lp-tray/images/tray-icon-idle.png}
  281. BIN src-qt4/life-preserver/lp-tray/images/tray-icon-working.png
  282. +16 −0 src-qt4/life-preserver/lp-tray/lPreserve.qrc
  283. +8 −10 src-qt4/life-preserver/{ → lp-tray}/lifepreserver.desktop
  284. +105 −0 src-qt4/life-preserver/lp-tray/lp-tray.pro
  285. +47 −0 src-qt4/life-preserver/lp-tray/main.cpp
  286. +0 −501 src-qt4/life-preserver/mainUI.cpp
  287. +0 −75 src-qt4/life-preserver/mainUI.h
  288. +0 −257 src-qt4/life-preserver/mainUI.ui
@@ -1,18 +0,0 @@
-#ifndef _LP_GUTILS_H
-#define _LP_GUTILS_H
-
-#include <QMessageBox>
-#include <QDialog>
-#include <QStringList>
-#include <QString>
-
-#include "LPBackend.h"
-#include "LPContainers.h"
-
-class LPGUtils{
-public:
- static LPDataset loadPoolData(QString zpool); //Load backend data into container
-
-};
-
-#endif
@@ -1,90 +0,0 @@
-#include "LPMain.h"
-
-LPMain::LPMain(QWidget *parent) : QMainWindow(parent), ui(new Ui::LPMain){
- ui->setupUi(); //load the Qt-designer UI file
- //Create the basic/advanced view options
- viewBasic = new QRadioButton(tr("Basic"), ui->menuView);
- viewAdvanced = new QRadioButton(tr("Advanced"), ui->menuView);
- ui->menuView->addWidget(viewBasic);
- ui->menuView->addWidget(viewAdvanced);
- connect(viewBasic, SIGNAL(toggled()), this, SLOT(viewChanged()) );
- //Now set the default view type
- viewBasic->setChecked(true); //will automatically call the "viewChanged" function
-
- //Connect the UI to all the functions
-
-}
-
-LPMain::~LPMain(){
-
-}
-
-// ==============
-// PUBLIC SLOTS
-// ==============
-void LPMain::updateUI(){
- //Get the currently selected pool (if there is one)
- QString cPool;
- if(ui->combo_pools->currentIndex != -1){ cPool = ui->combo_pools_currentText(); }
- //Get the list of managed pools
- QStringList pools = LPBackend::listDatasets();
- //Now put that list into the UI
- ui->combo_pools->clear();
- for(int i=0; i<pools.length(); i++){
-
- }
- //Now set the currently selected pools
- if(pools.length() > 0){
- int index = pools.indexOf(cPool);
- if(index < 0){ ui->combo_pools->setCurrentIndex(0); }
- else{ ui->combo_pools->setCurrentIndex(index); }
- poolSelected=true;
- }else{
- //No managed pools
- ui->combo_pools->addItem("No Managed Pools!");
- ui->combo_pools->setCurrentIndex(0);
- poolSelected=false;
- }
- //Now update the interface appropriately
- updateInterface();
-}
-
-// ==============
-// PRIVATE
-// ==============
-
-
-// ==============
-// PRIVATE SLOTS
-// ==============
-void LPMain::viewChanged(){
- if(viewBasic->isChecked()){
- ui->menuDisks->setVisible(false);
- ui->menuSnapshots->setVisible(false);
- }else{
- ui->menuDisks->setVisible(true);
- ui->menuSnapshots->setVisible(true);
- }
-}
-
-void updateInterface(){
- viewChanged();
- ui->tabWidget->setEnabled(poolSelected);
- ui->menuView->setVisible(poolSelected);
- ui->tool_configure->setVisible(poolSelected);
- ui->tool_configBackups->setVisible(poolSelected);
- ui->actionUnmanage_Pool->setEnabled(poolSelected);
- ui->action_SaveKeyToUSB->setEnabled(poolSelected);
- if(poolSelected){
- POOLDATA = LPGUtils::loadPoolData(ui->combo_pools->currentText());
- //Now list the status information
-
- //Now list the data restore options
- QStringList
- }else{
- //No Pool selected
- ui->menuDisks->setVisible(false); //make sure this is always invisible if nothing selected
- ui->menuSnapshots->setVisible(false); //make sure this is always invisible if nothing selected
- }
-
-}
@@ -1,44 +0,0 @@
-#ifndef _LP_MAIN_H
-#define _LP_MAIN_H
-
-#include <QMainWindow>
-#include <QComboBox>
-#include <QToolButton>
-#include <QLabel>
-#include <QString>
-#include <QStringList>
-#include <QRadioButton>
-
-#include "LPBackend.h"
-#include "LPContainers.h"
-
-namespace Ui{
- class LPMain;
-};
-
-class LPMain : public QMainWindow{
- Q_OBJECT
-public:
- LPMain(QWidget *parent = 0);
- ~LPMain();
-
-public slots:
- void setupUI();
-
-private:
- Ui::LPMain *ui;
- QRadioButton *viewBasic, *viewAdvanced;
- bool poolSelected;
- LPDataset POOLDATA;
-
- void updateInterface(); //update interface based on selected pool
- LPDataset loadPoolData(QString pool);
-
-private slots:
- void viewChanged();
-
-protected:
-
-};
-
-#endif
Oops, something went wrong.

0 comments on commit 6a2483b

Please sign in to comment.