Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SDK
KDE Development Scripts
Commits
62542d37
Commit
62542d37
authored
Sep 01, 2020
by
Laurent Montel
😁
Browse files
Port away from deprecated Qt::MidButton
parent
3e844248
Changes
1
Hide whitespace changes
Inline
Side-by-side
qt4/adapt-to-qt4-api.pl
View file @
62542d37
...
...
@@ -132,7 +132,7 @@ while ($file = <$F>) {
s!QMouseEvent::LeftButton!Qt::LeftButton!
;
s!QMouseEvent::RightButton!Qt::RightButton!
;
s!QMouseEvent::MidButton!Qt::MidButton!
;
s!QMouseEvent::MidButton!Qt::Mid
dle
Button!
;
s!QWidget::NoFocus!Qt::NoFocus!g
;
...
...
@@ -172,7 +172,7 @@ while ($file = <$F>) {
s!\bSHIFT\b!Qt::SHIFT!g
unless
(
/Qt::SHIFT/
);
s!\bLeftButton\b!Qt::LeftButton!g
unless
(
/Qt::LeftButton/
);
s!\bRightButton\b!Qt::RightButton!g
unless
(
/Qt::RightButton/
);
s!\bMidButton\b!Qt::MidButton!g
unless
(
/Qt::MidButton/
);
s!\bMidButton\b!Qt::Mid
dle
Button!g
unless
(
/Qt::MidButton/
);
s!QWidget::TabFocus!Qt::TabFocus!
;
s!\bTabFocus\b!Qt::TabFocus!g
unless
(
/Qt::TabFocus/
);
...
...
Laurent Montel
😁
@mlaurent
mentioned in commit
9e827bb5
·
Sep 01, 2020
mentioned in commit
9e827bb5
mentioned in commit 9e827bb5e9ba9aed4bb72bc05810f7203e8db336
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment