\r
class QObject;\r
class QKeyEvent;\r
-//class MainWindow;\r
-//extern MainWindow* getMainWnd();\r
extern QString FilesizeToString(quint64 size);\r
extern QString ViewerIgnoreExt();\r
extern QString KeyEventToSequence(const QKeyEvent *event);\r
+extern bool IsKeyUpDown(const QKeyEvent *event);\r
extern bool ProcessShortcut(const QString &ksq, const QObject *object);\r
extern void Sleep(int msec);\r
\r
#define IniKey_MoveAfterCreateFolder "Common/MoveAfterFolderCreation"\r
#define IniKey_OpenAfterCreateFile "Common/OpenAfterFileCreation"\r
#define IniKey_CheckUpdates "Common/CheckUpdates"\r
+#define IniKey_BookmarkEntryName(x) QString("Bookmark/Name%1").arg(x)\r
+#define IniKey_BookmarkEntryPath(x) QString("Bookmark/Path%1").arg(x)\r
#define IniKey_BootSizeSpec "BootAndExit/SizeSpec"\r
#define IniKey_BootSizeRel "BootAndExit/SizeRel"\r
#define IniKey_BootSizeAbs "BootAndExit/SizeAbs"\r
#define IniKey_ViewColorFgSystem "Appearance/ViewColorFgSystem"\r
#define IniKey_ViewColorFgHidden "Appearance/ViewColorFgHidden"\r
#define IniKey_ViewColorFgReadonly "Appearance/ViewColorFgReadonly"\r
+#define IniKey_Darkness "Appearance/Darkness"\r
#define IniKey_ConfirmExit "Confirm/Exit"\r
#define IniKey_ConfirmCopy "Confirm/Copy"\r
#define IniKey_ConfirmMove "Confirm/Move"\r
#define IniKey_AutoCloseMove "AutoClose/Move"\r
#define IniKey_AutoCloseDelete "AutoClose/Delete"\r
#define IniKey_AutoCloseRename "AutoClose/Rename"\r
-#define IniKey_EditorPath "Editor/Path"\r
-#define IniKey_EditorOption "Editor/Option"\r
-#define IniKey_TerminalPath "Terminal/Path"\r
-#define IniKey_TerminalOption "Terminal/Option"\r
+#define IniKey_PathEditor "Path/Editor"\r
+#define IniKey_PathTerminal "Path/Terminal"\r
+#define IniKey_PathArchiver "Path/Archiver"\r
+#define IniKey_InflateOptions "Path/InflateOptions"\r
+#define IniKey_DeflateOptions "Path/DeflateOptions"\r
#define IniKey_ViewerFont "Viewer/Font"\r
#define IniKey_ViewerColorBg "Viewer/ColorBg"\r
#define IniKey_ViewerColorFg "Viewer/ColorFg"\r