version update
[qbat.git] / constants.h
blob051aa0cd3992d3c3328ec31c5d6b17e649868bd1
1 #ifndef QBAT_CONSTANTS_H
2 #define QBAT_CONSTANTS_H
4 #define UI_VERSION "0.1.5"
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_FILE_CONFIG (UI_PATH_WORK + "qbat.conf")
16 #define UI_ICON_QBAT UI_PATH_ICONS "qbat.svg"
18 #define UI_BATTERY_CHARGING 1
19 #define UI_BATTERY_DISCHARGING 2
20 #define UI_BATTERY_FULL 3
22 #define UI_COUNT_COLORS 7
24 #define UI_COLOR_PEN 0
25 #define UI_COLOR_PEN_FULL 1
26 #define UI_COLOR_BRUSH_CHARGED 2
27 #define UI_COLOR_BRUSH_EMPTY 3
28 #define UI_COLOR_BRUSH_FULL 4
29 #define UI_COLOR_BRUSH_POLE 5
30 #define UI_COLOR_BRUSH_POLE_FULL 6
32 #endif