1 #ifndef QBAT_CONSTANTS_H
2 #define QBAT_CONSTANTS_H
4 #define UI_VERSION "0.0.1"
5 #define UI_NAME tr("QBat - Qt Battery Monitor")
7 #define UI_DIR_WORK ".qbat/"
9 #define UI_PATH_SYSFS_DIR "/sys/class/power_supply"
10 #define UI_PATH_TRANSLATIONS "/usr/share/qbat/lang/"
11 #define UI_PATH_ICONS "/usr/share/qbat/icons/"
12 #define UI_PATH_WORK (QDir::toNativeSeparators(QDir::homePath()) + "/" UI_DIR_WORK)
14 #define UI_ICON_QBAT UI_PATH_ICONS "qbat.svg"