summaryrefslogtreecommitdiffstats
path: root/src/core/type_conversion.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-12-17 12:50:23 +0100
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-12-17 13:51:19 +0000
commitc58ebfda3cead93b716eaf185e4a11130cb34dea (patch)
treeac87802291b4378d18499cc1b9752d3694560b39 /src/core/type_conversion.h
parent26aa7e314e58ea7be375fc767f6806127e50338d (diff)
Move conversion function for keyboard modifiers
Move flagsFromModifiers from render_widget_host_view_qt.cpp to a new file type_conversion.cpp. We will use it in a subsequent commit. Added a separate source file to not include qcoreapplication.h in type_conversion.h. Change-Id: I6dfd54dd99d640ff48cb1a710271c7f8115891e5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/core/type_conversion.h')
-rw-r--r--src/core/type_conversion.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/type_conversion.h b/src/core/type_conversion.h
index abc002ea5..cfab4d19a 100644
--- a/src/core/type_conversion.h
+++ b/src/core/type_conversion.h
@@ -232,6 +232,8 @@ inline std::vector<T> toVector(const QStringList &fileList)
return selectedFiles;
}
+int flagsFromModifiers(Qt::KeyboardModifiers modifiers);
+
} // namespace QtWebEngineCore
#endif // TYPE_CONVERSION_H