Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
libkscreen
Commits
01cd2934
Commit
01cd2934
authored
Oct 22, 2020
by
Aleix Pol Gonzalez
🐧
Browse files
Include rotation in the debug output
parent
cad5bd70
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/output.cpp
View file @
01cd2934
...
...
@@ -700,6 +700,7 @@ QDebug operator<<(QDebug dbg, const KScreen::OutputPtr &output)
<<
"pos:"
<<
output
->
pos
()
<<
"res:"
<<
output
->
size
()
<<
"modeId:"
<<
output
->
currentModeId
()
<<
"scale:"
<<
output
->
scale
()
<<
"rotation:"
<<
output
->
rotation
()
<<
"clone:"
<<
(
output
->
clones
().
isEmpty
()
?
"no"
:
"yes"
)
<<
"followPreferredMode:"
<<
output
->
followPreferredMode
()
<<
")"
;
...
...
src/output.h
View file @
01cd2934
...
...
@@ -40,8 +40,6 @@ class KSCREEN_EXPORT Output : public QObject
Q_OBJECT
public:
Q_ENUMS
(
Rotation
)
Q_ENUMS
(
Type
)
Q_PROPERTY
(
int
id
READ
id
CONSTANT
)
Q_PROPERTY
(
QString
name
READ
name
WRITE
setName
NOTIFY
outputChanged
)
Q_PROPERTY
(
Type
type
READ
type
WRITE
setType
NOTIFY
outputChanged
)
...
...
@@ -83,6 +81,7 @@ class KSCREEN_EXPORT Output : public QObject
TVC4
,
DisplayPort
};
Q_ENUM
(
Type
)
enum
Rotation
{
None
=
1
,
...
...
@@ -90,6 +89,7 @@ class KSCREEN_EXPORT Output : public QObject
Inverted
=
4
,
Right
=
8
};
Q_ENUM
(
Rotation
)
explicit
Output
();
~
Output
()
override
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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