1. 25 Jul, 2018 1 commit
    • Boudewijn Rempt's avatar
      Make it possible for tests to access resources · f9ee9a42
      Boudewijn Rempt authored
      If a test needs access to the resources in the install folder, it
      needs to use KISTEST_MAIN instead of QTEST_MAIN. This will set an
      env variable, EXTRA_RESOURCE_DIRS, where KoREsourcePaths will then
      also look.
      Also remove the setReady/isReady methods for KoResourcePaths: we
      don't need that. We can add resource dirs in as many places as
      we want.
  2. 20 Oct, 2017 1 commit
  3. 03 Oct, 2017 1 commit
  4. 08 Sep, 2016 1 commit
    • Boudewijn Rempt's avatar
      Fix loading the templates · a9f65880
      Boudewijn Rempt authored
      By actually defining an alias for templates. There used to be two
      ways of getting a folder in the share/krita location, by asking for
      the data folder and manually providing a subdirectory, or by defining
      a resource type. Now only defining a resource type is allowed.
  5. 12 May, 2016 1 commit
  6. 05 May, 2016 1 commit
  7. 07 Nov, 2015 1 commit
  8. 03 Nov, 2015 1 commit
  9. 27 Oct, 2015 1 commit
  10. 30 Sep, 2015 1 commit
  11. 15 Sep, 2015 1 commit
    • Boudewijn Rempt's avatar
      Add skeleton class for porting from KStandardDirs · c3b208c2
      Boudewijn Rempt authored
      KoResourcePaths has the relevant bits of API from KStandardDirs
      but will use QStandardPaths internally. Only the API we actually
      use in Calligra is copied.
      The class is easy to use: it's a singleton and you use the static
      For now, KoResourcePaths uses KStandardDirs internally, that's
      on my todo for tomorrow...