Changeset View
Changeset View
Standalone View
Standalone View
kcms/krdb/krdb.h
Show All 20 Lines | |||||
21 | #define _KRDB_H_ | 21 | #define _KRDB_H_ | ||
22 | 22 | | |||
23 | enum KRdbAction | 23 | enum KRdbAction | ||
24 | { | 24 | { | ||
25 | KRdbExportColors = 0x0001, // Export colors to non-(KDE/Qt) apps | 25 | KRdbExportColors = 0x0001, // Export colors to non-(KDE/Qt) apps | ||
26 | KRdbExportQtColors = 0x0002, // Export KDE's colors to qtrc | 26 | KRdbExportQtColors = 0x0002, // Export KDE's colors to qtrc | ||
27 | KRdbExportQtSettings = 0x0004, // Export all possible qtrc settings, excluding colors | 27 | KRdbExportQtSettings = 0x0004, // Export all possible qtrc settings, excluding colors | ||
28 | KRdbExportXftSettings = 0x0008, // Export KDE's Xft (anti-alias) settings | 28 | KRdbExportXftSettings = 0x0008, // Export KDE's Xft (anti-alias) settings | ||
29 | KRdbExportGtkTheme = 0x0010 // Export KDE's widget style to Gtk if possible | 29 | KRdbExportGtkTheme = 0x0010, // Export KDE's widget style to Gtk if possible | ||
30 | KRdbExportGtkColors = 0x0012 // Export KDE's colors to Gtk if possible | ||||
ahiemstra: Since this is treated as a flag, shouldn't this be 0x0020? Otherwise it would be equal to… | |||||
30 | }; | 31 | }; | ||
31 | 32 | | |||
32 | void runRdb( uint flags ); | 33 | void runRdb( uint flags ); | ||
33 | 34 | | |||
34 | #endif | 35 | #endif |
Since this is treated as a flag, shouldn't this be 0x0020? Otherwise it would be equal to KRdbExportQtColors & KRdbExportGtkTheme which is probably not what you want.