23 #ifndef SUIT_PREFERENCEMGR_H
24 #define SUIT_PREFERENCEMGR_H
38 typedef enum { Auto, Space, Bool, Color,
String, Selector,
40 GroupBox,
Tab, Frame, Font, DirList,
File,
41 Slider, Shortcut, ShortcutTree, BiColor, Background,
42 UserDefined = 1000 } PrefItemType;
48 QIcon itemIcon(
const int )
const;
49 void setItemIcon(
const int,
const QIcon& );
51 QVariant itemProperty(
const QString&,
const int = -1 )
const;
52 void setItemProperty(
const QString&,
const QVariant&,
const int = -1 );
54 int addItem(
const QString&,
const int pId = -1,
const PrefItemType = Auto,
55 const QString& = QString(),
const QString& = QString() );
58 virtual QVariant
optionValue(
const QString& )
const;