File indexing completed on 2024-04-28 03:51:00
0001 #ifndef MINUET_UTILS_XDGDATADIRS 0002 #define MINUET_UTILS_XDGDATADIRS 0003 0004 #include <QString> 0005 0006 namespace Utils 0007 { 0008 /** 0009 * @brief Get valid paths from XDG_DATA_DIRS environment variable 0010 * Qt does not check XDG_DATA_DIRS for MACOS but KDE prefix.sh script sets it. 0011 * If AppDataLocation fail, we should give a shot and check XDG env variable 0012 * 0013 * @return QStringList 0014 */ 0015 QStringList getXdgDataDirs(); 0016 0017 } 0018 0019 #endif