5 typedef QMap<QString, QString> StringMap;
\r
8 extern MainWindow* getMainWnd();
\r
9 extern QString FilesizeToString(quint64 size);
\r
11 #define VERSION_VALUE 0.04
\r
13 #define slash QString("/")
\r
14 #define QQ(x) ("\"" + (x) + "\"")
\r
16 #define IniKey_ShowHidden "Common/ShowHidden"
\r
17 #define IniKey_ShowSystem "Common/ShowSystem"
\r
18 #define IniKey_ConfirmExit "BootAndExit/ConfirmExit"
\r
19 #define IniKey_BootSizeSpec "BootAndExit/SizeSpec"
\r
20 #define IniKey_BootSizeRel "BootAndExit/SizeRel"
\r
21 #define IniKey_BootSizeAbs "BootAndExit/SizeAbs"
\r
22 #define IniKey_BootPosSpec "BootAndExit/PosSpec"
\r
23 #define IniKey_BootPosRel "BootAndExit/PosRel"
\r
24 #define IniKey_BootPosAbs "BootAndExit/PosAbs"
\r
25 #define IniKey_ResetOnBoot "BootAndExit/Reset"
\r
26 #define IniKey_BoxColorFg "Appearance/BoxColorFg"
\r
27 #define IniKey_BoxColorBg "Appearance/BoxColorBg"
\r
28 #define IniKey_BoxFont "Appearance/BoxFont"
\r
29 #define IniKey_ViewFont "Appearance/ViewFont"
\r
30 #define IniKey_ViewColorBgNormal "Appearance/ViewColorBgNormal"
\r
31 #define IniKey_ViewColorBgMark "Appearance/ViewColorBgMark"
\r
32 #define IniKey_ViewColorFgNormal "Appearance/ViewColorFgNormal"
\r
33 #define IniKey_ViewColorFgMark "Appearance/ViewColorFgMark"
\r
34 #define IniKey_ViewColorFgSystem "Appearance/ViewColorFgSystem"
\r
35 #define IniKey_ViewColorFgHidden "Appearance/ViewColorFgHidden"
\r
36 #define IniKey_ViewColorFgReadonly "Appearance/ViewColorFgReadonly"
\r
37 #define IniKey_WindowGeometry "Window/Geometry"
\r
38 #define iniKey_WindowState "Window/State"
\r
39 #define IniSec_Left "Left"
\r
40 #define IniSec_Right "Right"
\r
41 #define IniKey_Dir "dir"
\r
42 #define IniKey_SortBy "SortBy"
\r
43 #define IniKey_OrderBy "OrderBy"
\r
44 #define IniKey_PutDirs "PutDirs"
\r
45 #define IniKey_IgnoreCase "IgnoreCase"
\r
47 #define SortByName QDir::Name
\r
48 #define SortByDate QDir::Time
\r
49 #define SortBySize QDir::Size
\r
50 #define SortByType QDir::Type
\r
52 #define OrderByAsc 0
\r
53 #define OrderByDesc QDir::Reversed
\r
55 #define PutDirsFirst QDir::DirsFirst
\r
56 #define PutDirsLast QDir::DirsLast
\r
57 #define PutDirsDefault 0
\r
59 #define DefaultMarkBgColor QColor(0, 192, 0)
\r
60 #define DefaultMarkFgColor QColor(128, 0, 0)
\r
61 #define DefaultSystemColor QColor(128, 0, 128)
\r
62 #define DefaultHiddenColor QColor(128, 128, 128)
\r
63 #define DefaultReadonlyColor QColor(0, 128, 0)
\r