Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Restructured files and added files for deploying

  • Loading branch information...
commit d91f5fcb48a619f7d573ef3283749e35f4bf9d01 1 parent 630dabb
Nikola Kocic authored
Showing with 20 additions and 11 deletions.
  1. +1 −1  .gitignore
  2. 0  { → files}/icons/default/16x16/configure.png
  3. 0  { → files}/icons/default/16x16/document-open.png
  4. 0  { → files}/icons/default/16x16/go-next.png
  5. 0  { → files}/icons/default/16x16/go-previous.png
  6. 0  { → files}/icons/default/16x16/go-up.png
  7. 0  { → files}/icons/default/16x16/image-x-generic.png
  8. 0  { → files}/icons/default/16x16/object-rotate-left.png
  9. 0  { → files}/icons/default/16x16/object-rotate-right.png
  10. 0  { → files}/icons/default/16x16/thumbnail.png
  11. 0  { → files}/icons/default/16x16/view-fullscreen.png
  12. 0  { → files}/icons/default/16x16/view-refresh.png
  13. 0  { → files}/icons/default/16x16/view-split-left-right.png
  14. 0  { → files}/icons/default/16x16/zoom-fit-best.png
  15. 0  { → files}/icons/default/16x16/zoom-in.png
  16. 0  { → files}/icons/default/16x16/zoom-out.png
  17. 0  { → files}/icons/default/22x22/document-open.png
  18. 0  { → files}/icons/default/22x22/go-next.png
  19. 0  { → files}/icons/default/22x22/go-previous.png
  20. 0  { → files}/icons/default/22x22/go-up.png
  21. 0  { → files}/icons/default/22x22/object-rotate-left.png
  22. 0  { → files}/icons/default/22x22/object-rotate-right.png
  23. 0  { → files}/icons/default/22x22/view-fullscreen.png
  24. 0  { → files}/icons/default/22x22/view-refresh.png
  25. 0  { → files}/icons/default/22x22/zoom-in.png
  26. 0  { → files}/icons/default/22x22/zoom-out.png
  27. 0  { → files}/icons/default/index.theme
  28. 0  { → files}/icons/kiv.svg
  29. +9 −0 files/kiv_runscript.sh
  30. BIN  files/libunrar.so
  31. +2 −0  files/qt.conf
  32. BIN  files/unrar.dll
  33. +0 −5 kiv.qrc
  34. +2 −0  src/.gitignore
  35. 0  { → src}/archive_item.cpp
  36. 0  { → src}/archive_item.h
  37. 0  { → src}/archive_model.cpp
  38. 0  { → src}/archive_model.h
  39. 0  { → src}/enums.h
  40. 0  { → src}/fileinfo.cpp
  41. 0  { → src}/fileinfo.h
  42. 0  { → src}/helper.cpp
  43. 0  { → src}/helper.h
  44. 0  { → src}/kiv.ico
  45. +0 −3  { → src}/kiv.pro
  46. 0  { → src}/kiv.rc
  47. 0  { → src}/main.cpp
  48. +6 −2 { → src}/main_window.cpp
  49. 0  { → src}/main_window.h
  50. 0  { → src}/picture_loader.cpp
  51. 0  { → src}/picture_loader.h
  52. 0  { → src}/pictureitem.cpp
  53. 0  { → src}/pictureitem.h
  54. 0  { → src}/pictureitem_gl.cpp
  55. 0  { → src}/pictureitem_gl.h
  56. 0  { → src}/pictureitem_raster.cpp
  57. 0  { → src}/pictureitem_raster.h
  58. 0  { → src}/quazip/JlCompress.cpp
  59. 0  { → src}/quazip/JlCompress.h
  60. 0  { → src}/quazip/crypt.h
  61. 0  { → src}/quazip/ioapi.h
  62. 0  { → src}/quazip/qioapi.cpp
  63. 0  { → src}/quazip/quaadler32.cpp
  64. 0  { → src}/quazip/quaadler32.h
  65. 0  { → src}/quazip/quachecksum32.h
  66. 0  { → src}/quazip/quacrc32.cpp
  67. 0  { → src}/quazip/quacrc32.h
  68. 0  { → src}/quazip/quazip.cpp
  69. 0  { → src}/quazip/quazip.h
  70. 0  { → src}/quazip/quazip_global.h
  71. 0  { → src}/quazip/quazipfile.cpp
  72. 0  { → src}/quazip/quazipfile.h
  73. 0  { → src}/quazip/quazipfileinfo.h
  74. 0  { → src}/quazip/quazipnewinfo.cpp
  75. 0  { → src}/quazip/quazipnewinfo.h
  76. 0  { → src}/quazip/unzip.c
  77. 0  { → src}/quazip/unzip.h
  78. 0  { → src}/quazip/zip.c
  79. 0  { → src}/quazip/zip.h
  80. 0  { → src}/settings.cpp
  81. 0  { → src}/settings.h
  82. 0  { → src}/settings_dialog.cpp
  83. 0  { → src}/settings_dialog.h
  84. 0  { → src}/settings_dialog.ui
  85. 0  { → src}/teximg.cpp
  86. 0  { → src}/teximg.h
  87. 0  { → src}/thumbnailitemdelegate.cpp
  88. 0  { → src}/thumbnailitemdelegate.h
  89. 0  { → src}/unrar/archive_rar.cpp
  90. 0  { → src}/unrar/archive_rar.h
  91. 0  { → src}/unrar/unrar.cpp
  92. 0  { → src}/unrar/unrar.h
  93. 0  { → src}/view_files.cpp
  94. 0  { → src}/view_files.h
  95. 0  { → src}/view_files_list.cpp
  96. 0  { → src}/view_files_tree.cpp
  97. 0  { → src}/zlib/adler32.c
  98. 0  { → src}/zlib/compress.c
  99. 0  { → src}/zlib/crc32.c
  100. 0  { → src}/zlib/crc32.h
  101. 0  { → src}/zlib/deflate.c
  102. 0  { → src}/zlib/deflate.h
  103. 0  { → src}/zlib/gzclose.c
  104. 0  { → src}/zlib/gzguts.h
  105. 0  { → src}/zlib/gzlib.c
  106. 0  { → src}/zlib/gzread.c
  107. 0  { → src}/zlib/gzwrite.c
  108. 0  { → src}/zlib/infback.c
  109. 0  { → src}/zlib/inffast.c
  110. 0  { → src}/zlib/inffast.h
  111. 0  { → src}/zlib/inffixed.h
  112. 0  { → src}/zlib/inflate.c
  113. 0  { → src}/zlib/inflate.h
  114. 0  { → src}/zlib/inftrees.c
  115. 0  { → src}/zlib/inftrees.h
  116. 0  { → src}/zlib/trees.c
  117. 0  { → src}/zlib/trees.h
  118. 0  { → src}/zlib/uncompr.c
  119. 0  { → src}/zlib/zconf.h
  120. 0  { → src}/zlib/zlib.h
  121. 0  { → src}/zlib/zutil.c
  122. 0  { → src}/zlib/zutil.h
2  .gitignore
View
@@ -1,2 +1,2 @@
-
+*-build-*
*.user
0  icons/default/16x16/configure.png → files/icons/default/16x16/configure.png
View
File renamed without changes
0  icons/default/16x16/document-open.png → files/icons/default/16x16/document-open.png
View
File renamed without changes
0  icons/default/16x16/go-next.png → files/icons/default/16x16/go-next.png
View
File renamed without changes
0  icons/default/16x16/go-previous.png → files/icons/default/16x16/go-previous.png
View
File renamed without changes
0  icons/default/16x16/go-up.png → files/icons/default/16x16/go-up.png
View
File renamed without changes
0  icons/default/16x16/image-x-generic.png → files/icons/default/16x16/image-x-generic.png
View
File renamed without changes
0  icons/default/16x16/object-rotate-left.png → files/icons/default/16x16/object-rotate-left.png
View
File renamed without changes
0  icons/default/16x16/object-rotate-right.png → files/icons/default/16x16/object-rotate-right.png
View
File renamed without changes
0  icons/default/16x16/thumbnail.png → files/icons/default/16x16/thumbnail.png
View
File renamed without changes
0  icons/default/16x16/view-fullscreen.png → files/icons/default/16x16/view-fullscreen.png
View
File renamed without changes
0  icons/default/16x16/view-refresh.png → files/icons/default/16x16/view-refresh.png
View
File renamed without changes
0  icons/default/16x16/view-split-left-right.png → files/icons/default/16x16/view-split-left-right.png
View
File renamed without changes
0  icons/default/16x16/zoom-fit-best.png → files/icons/default/16x16/zoom-fit-best.png
View
File renamed without changes
0  icons/default/16x16/zoom-in.png → files/icons/default/16x16/zoom-in.png
View
File renamed without changes
0  icons/default/16x16/zoom-out.png → files/icons/default/16x16/zoom-out.png
View
File renamed without changes
0  icons/default/22x22/document-open.png → files/icons/default/22x22/document-open.png
View
File renamed without changes
0  icons/default/22x22/go-next.png → files/icons/default/22x22/go-next.png
View
File renamed without changes
0  icons/default/22x22/go-previous.png → files/icons/default/22x22/go-previous.png
View
File renamed without changes
0  icons/default/22x22/go-up.png → files/icons/default/22x22/go-up.png
View
File renamed without changes
0  icons/default/22x22/object-rotate-left.png → files/icons/default/22x22/object-rotate-left.png
View
File renamed without changes
0  icons/default/22x22/object-rotate-right.png → files/icons/default/22x22/object-rotate-right.png
View
File renamed without changes
0  icons/default/22x22/view-fullscreen.png → files/icons/default/22x22/view-fullscreen.png
View
File renamed without changes
0  icons/default/22x22/view-refresh.png → files/icons/default/22x22/view-refresh.png
View
File renamed without changes
0  icons/default/22x22/zoom-in.png → files/icons/default/22x22/zoom-in.png
View
File renamed without changes
0  icons/default/22x22/zoom-out.png → files/icons/default/22x22/zoom-out.png
View
File renamed without changes
0  icons/default/index.theme → files/icons/default/index.theme
View
File renamed without changes
0  icons/kiv.svg → files/icons/kiv.svg
View
Diff not rendered
9 files/kiv_runscript.sh
View
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+export QT_PLUGIN_PATH=.
+export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
+
+cd "$(dirname "${0}")"
+
+./kiv $@
+
BIN  files/libunrar.so
View
Binary file not shown
2  files/qt.conf
View
@@ -0,0 +1,2 @@
+[Paths]
+Plugins = plugins
BIN  files/unrar.dll
View
Binary file not shown
5 kiv.qrc
View
@@ -1,5 +0,0 @@
-<RCC>
- <qresource prefix="/">
- <file>icons/kiv.svg</file>
- </qresource>
-</RCC>
2  src/.gitignore
View
@@ -0,0 +1,2 @@
+
+*.user
0  archive_item.cpp → src/archive_item.cpp
View
File renamed without changes
0  archive_item.h → src/archive_item.h
View
File renamed without changes
0  archive_model.cpp → src/archive_model.cpp
View
File renamed without changes
0  archive_model.h → src/archive_model.h
View
File renamed without changes
0  enums.h → src/enums.h
View
File renamed without changes
0  fileinfo.cpp → src/fileinfo.cpp
View
File renamed without changes
0  fileinfo.h → src/fileinfo.h
View
File renamed without changes
0  helper.cpp → src/helper.cpp
View
File renamed without changes
0  helper.h → src/helper.h
View
File renamed without changes
0  kiv.ico → src/kiv.ico
View
File renamed without changes
3  kiv.pro → src/kiv.pro
View
@@ -61,9 +61,6 @@ HEADERS += \
unrar/unrar.h \
unrar/archive_rar.h
-RESOURCES += \
- kiv.qrc
-
win32{
INCLUDEPATH += $$PWD/zlib
RC_FILE = kiv.rc
0  kiv.rc → src/kiv.rc
View
File renamed without changes
0  main.cpp → src/main.cpp
View
File renamed without changes
8 main_window.cpp → src/main_window.cpp
View
@@ -39,7 +39,11 @@ MainWindow::MainWindow(QWidget *parent, Qt::WindowFlags f)
if (Helper::getFiltersImage().contains("svg"))
{
- this->setWindowIcon(QIcon(":/icons/kiv.svg"));
+#ifdef DEBUG_MAIN_WINDOW_ICONS
+ this->setWindowIcon(QIcon("../files/icons/kiv.svg"));
+#else
+ this->setWindowIcon(QIcon("icons/kiv.svg"));
+#endif
}
updateSettings();
@@ -152,7 +156,7 @@ void MainWindow::createActions()
#ifdef DEBUG_MAIN_WINDOW_ICONS
if (appdir.dirName() == "release" || appdir.dirName() == "debug")
{
- appdir.cd("../../src/icons");
+ appdir.cd("../../files/icons");
}
#endif
QIcon::setThemeSearchPaths(QStringList(QIcon::themeSearchPaths()) << appdir.path());
0  main_window.h → src/main_window.h
View
File renamed without changes
0  picture_loader.cpp → src/picture_loader.cpp
View
File renamed without changes
0  picture_loader.h → src/picture_loader.h
View
File renamed without changes
0  pictureitem.cpp → src/pictureitem.cpp
View
File renamed without changes
0  pictureitem.h → src/pictureitem.h
View
File renamed without changes
0  pictureitem_gl.cpp → src/pictureitem_gl.cpp
View
File renamed without changes
0  pictureitem_gl.h → src/pictureitem_gl.h
View
File renamed without changes
0  pictureitem_raster.cpp → src/pictureitem_raster.cpp
View
File renamed without changes
0  pictureitem_raster.h → src/pictureitem_raster.h
View
File renamed without changes
0  quazip/JlCompress.cpp → src/quazip/JlCompress.cpp
View
File renamed without changes
0  quazip/JlCompress.h → src/quazip/JlCompress.h
View
File renamed without changes
0  quazip/crypt.h → src/quazip/crypt.h
View
File renamed without changes
0  quazip/ioapi.h → src/quazip/ioapi.h
View
File renamed without changes
0  quazip/qioapi.cpp → src/quazip/qioapi.cpp
View
File renamed without changes
0  quazip/quaadler32.cpp → src/quazip/quaadler32.cpp
View
File renamed without changes
0  quazip/quaadler32.h → src/quazip/quaadler32.h
View
File renamed without changes
0  quazip/quachecksum32.h → src/quazip/quachecksum32.h
View
File renamed without changes
0  quazip/quacrc32.cpp → src/quazip/quacrc32.cpp
View
File renamed without changes
0  quazip/quacrc32.h → src/quazip/quacrc32.h
View
File renamed without changes
0  quazip/quazip.cpp → src/quazip/quazip.cpp
View
File renamed without changes
0  quazip/quazip.h → src/quazip/quazip.h
View
File renamed without changes
0  quazip/quazip_global.h → src/quazip/quazip_global.h
View
File renamed without changes
0  quazip/quazipfile.cpp → src/quazip/quazipfile.cpp
View
File renamed without changes
0  quazip/quazipfile.h → src/quazip/quazipfile.h
View
File renamed without changes
0  quazip/quazipfileinfo.h → src/quazip/quazipfileinfo.h
View
File renamed without changes
0  quazip/quazipnewinfo.cpp → src/quazip/quazipnewinfo.cpp
View
File renamed without changes
0  quazip/quazipnewinfo.h → src/quazip/quazipnewinfo.h
View
File renamed without changes
0  quazip/unzip.c → src/quazip/unzip.c
View
File renamed without changes
0  quazip/unzip.h → src/quazip/unzip.h
View
File renamed without changes
0  quazip/zip.c → src/quazip/zip.c
View
File renamed without changes
0  quazip/zip.h → src/quazip/zip.h
View
File renamed without changes
0  settings.cpp → src/settings.cpp
View
File renamed without changes
0  settings.h → src/settings.h
View
File renamed without changes
0  settings_dialog.cpp → src/settings_dialog.cpp
View
File renamed without changes
0  settings_dialog.h → src/settings_dialog.h
View
File renamed without changes
0  settings_dialog.ui → src/settings_dialog.ui
View
File renamed without changes
0  teximg.cpp → src/teximg.cpp
View
File renamed without changes
0  teximg.h → src/teximg.h
View
File renamed without changes
0  thumbnailitemdelegate.cpp → src/thumbnailitemdelegate.cpp
View
File renamed without changes
0  thumbnailitemdelegate.h → src/thumbnailitemdelegate.h
View
File renamed without changes
0  unrar/archive_rar.cpp → src/unrar/archive_rar.cpp
View
File renamed without changes
0  unrar/archive_rar.h → src/unrar/archive_rar.h
View
File renamed without changes
0  unrar/unrar.cpp → src/unrar/unrar.cpp
View
File renamed without changes
0  unrar/unrar.h → src/unrar/unrar.h
View
File renamed without changes
0  view_files.cpp → src/view_files.cpp
View
File renamed without changes
0  view_files.h → src/view_files.h
View
File renamed without changes
0  view_files_list.cpp → src/view_files_list.cpp
View
File renamed without changes
0  view_files_tree.cpp → src/view_files_tree.cpp
View
File renamed without changes
0  zlib/adler32.c → src/zlib/adler32.c
View
File renamed without changes
0  zlib/compress.c → src/zlib/compress.c
View
File renamed without changes
0  zlib/crc32.c → src/zlib/crc32.c
View
File renamed without changes
0  zlib/crc32.h → src/zlib/crc32.h
View
File renamed without changes
0  zlib/deflate.c → src/zlib/deflate.c
View
File renamed without changes
0  zlib/deflate.h → src/zlib/deflate.h
View
File renamed without changes
0  zlib/gzclose.c → src/zlib/gzclose.c
View
File renamed without changes
0  zlib/gzguts.h → src/zlib/gzguts.h
View
File renamed without changes
0  zlib/gzlib.c → src/zlib/gzlib.c
View
File renamed without changes
0  zlib/gzread.c → src/zlib/gzread.c
View
File renamed without changes
0  zlib/gzwrite.c → src/zlib/gzwrite.c
View
File renamed without changes
0  zlib/infback.c → src/zlib/infback.c
View
File renamed without changes
0  zlib/inffast.c → src/zlib/inffast.c
View
File renamed without changes
0  zlib/inffast.h → src/zlib/inffast.h
View
File renamed without changes
0  zlib/inffixed.h → src/zlib/inffixed.h
View
File renamed without changes
0  zlib/inflate.c → src/zlib/inflate.c
View
File renamed without changes
0  zlib/inflate.h → src/zlib/inflate.h
View
File renamed without changes
0  zlib/inftrees.c → src/zlib/inftrees.c
View
File renamed without changes
0  zlib/inftrees.h → src/zlib/inftrees.h
View
File renamed without changes
0  zlib/trees.c → src/zlib/trees.c
View
File renamed without changes
0  zlib/trees.h → src/zlib/trees.h
View
File renamed without changes
0  zlib/uncompr.c → src/zlib/uncompr.c
View
File renamed without changes
0  zlib/zconf.h → src/zlib/zconf.h
View
File renamed without changes
0  zlib/zlib.h → src/zlib/zlib.h
View
File renamed without changes
0  zlib/zutil.c → src/zlib/zutil.c
View
File renamed without changes
0  zlib/zutil.h → src/zlib/zutil.h
View
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.