summaryrefslogtreecommitdiff
path: root/qface/helper/qtqml.py
diff options
context:
space:
mode:
Diffstat (limited to 'qface/helper/qtqml.py')
-rw-r--r--qface/helper/qtqml.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/qface/helper/qtqml.py b/qface/helper/qtqml.py
index e29311f..915607d 100644
--- a/qface/helper/qtqml.py
+++ b/qface/helper/qtqml.py
@@ -60,10 +60,10 @@ class Filters(object):
return t
@staticmethod
- def path(s):
- return str(s).replace('.', '/')
-
- @staticmethod
- def identifier(s):
- return str(s).lower().replace('.', '_')
+ def get_filters():
+ return {
+ 'qml.className': Filters.className,
+ 'qml.defaultValue': Filters.defaultValue,
+ 'qml.propertyType': Filters.propertyType,
+ }