Commit graph

23 commits

Author SHA1 Message Date
shenleban tongying a1b3d76f9c
refactor: remove DataCommitter interface from QHotkeyApplication
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-26 07:41:46 +00:00
shenleban tongying f5265857f0
clean: limit QHotkeyApplication::(un)registerWrapper to Windows only
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-26 05:51:08 +00:00
shenleban tongying 5b70a7e081
refactor: move X11 global hotkey out of hotkeywrapper.cc
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-21 13:03:27 -05:00
shenleban tongying 76aaed116b
clean: delete gddebug 2024-11-21 12:17:03 -05:00
shenleban tongying c5d682c993
clean: fix some issues found by the code analysis of Visual Studio
Some checks failed
SonarCloud / Build and analyze (push) Has been cancelled
2024-11-14 12:24:46 +00:00
shenleban tongying 0f71f32ad4
refactor: move most of the Windows specific code out of hotkeywrapper.cc 2024-11-14 11:12:17 +00:00
shenleban tongying 8fc71c9586
dev: .mm / obj-c files -> clang-format and simplify includes
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-12 10:19:59 +00:00
shenleban tongying 618310f772
clean: just use #pragma once
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run
2024-11-06 22:53:04 -05:00
shenleban tongying d15081e723 clean: apply clang-tidy's modernize-use-using (replace most typedef) 2024-11-06 00:48:35 -05:00
shenleban tongying a11c9e3aec clean: mass apply clang-tidy's readability-braces-around-statements 2024-10-10 03:21:27 -04:00
Xiao Yi Fang 9db7b04dd0 remove Q_WS_QWS macro 2024-06-24 16:05:41 +08:00
shenleban tongying b5349478cf
clean: reformat everything
The next commit will add `.git-blame-ignore-revs`

https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view
2023-07-20 04:02:22 -04:00
shenleban tongying 0079cd2933 clean: remove unnecessary header includes
* remove all <QtGUI> which includes *everything* of Qt
* remove unused headers
2023-05-30 20:59:51 +08:00
xiaoyifang 7f6409c05a opt:qtsingleapplication remove old code 2023-04-29 08:20:16 +08:00
shenleban tongying 129345613e
refactor: Move all .cc/.hh files to src/ 2023-04-17 17:17:36 -04:00
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
Konstantin Isakov 0af2a9b4cc *! Always allow session shutdown to proceed without any cancellations.
This fixes problems with GoldenDict preventing KDE4 from shutting down.
2009-08-20 15:27:16 +00:00
Konstantin Isakov d1377e28bd *! React to a keypad Insert key in hotkeys under Linux too. 2009-04-25 10:45:42 +00:00
ars_goldendict 535b70d210 a bit improved behavior of clipboard translation by hotkey on windows 2009-04-22 17:29:51 +00:00
Konstantin Isakov 23abdb9b44 + Shield the hotkeys from being intercepted by other apps using XGrabKey(),
unless the hotkey is a clipboard copy key on its first occurence in a combo.
2009-04-22 15:29:28 +00:00
ars_goldendict aca734932d fixed bug with global hotkeys in Windows 2009-04-21 21:07:15 +00:00
Konstantin Isakov 5efd7c52e1 + Options to configure global hotkeys added. The clipboard hotkey was added.
* On X11, XGrabKey was replaced with the RECORD extension -based solution.
2009-04-21 18:27:26 +00:00
ars_goldendict 0b87435471 updated (added libqxt and global shortcut Ctrl-F11; fixed issue with autostart on Vista) 2009-04-19 21:32:18 +00:00