mirror of https://github.com/procxx/kepka.git
add folder commands for custom config
This commit is contained in:
parent
ca49e74b6f
commit
0b2d4326e7
|
@ -74,6 +74,20 @@ const auto CommandByName = base::flat_map<QString, Command>{
|
|||
{ qsl("first_chat") , Command::ChatFirst },
|
||||
{ qsl("last_chat") , Command::ChatLast },
|
||||
{ qsl("self_chat") , Command::ChatSelf },
|
||||
|
||||
|
||||
{ qsl("previous_folder") , Command::FolderPrevious },
|
||||
{ qsl("next_folder") , Command::FolderNext },
|
||||
{ qsl("all_chats") , Command::ShowAllChats },
|
||||
|
||||
{ qsl("folder1") , Command::ShowFolder1 },
|
||||
{ qsl("folder2") , Command::ShowFolder2 },
|
||||
{ qsl("folder3") , Command::ShowFolder3 },
|
||||
{ qsl("folder4") , Command::ShowFolder4 },
|
||||
{ qsl("folder5") , Command::ShowFolder5 },
|
||||
{ qsl("folder6") , Command::ShowFolder6 },
|
||||
{ qsl("last_folder") , Command::ShowFolderLast },
|
||||
|
||||
|
||||
{ qsl("show_archive") , Command::ShowArchive },
|
||||
|
||||
|
@ -104,6 +118,10 @@ const auto CommandNames = base::flat_map<Command, QString>{
|
|||
{ Command::ChatFirst , qsl("first_chat") },
|
||||
{ Command::ChatLast , qsl("last_chat") },
|
||||
{ Command::ChatSelf , qsl("self_chat") },
|
||||
|
||||
|
||||
{ Command::FolderPrevious , qsl("previous_folder") },
|
||||
{ Command::FolderNext , qsl("next_folder") },
|
||||
|
||||
{ Command::ShowArchive , qsl("show_archive") },
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue