summaryrefslogtreecommitdiffstats
path: root/common/query.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-14 20:27:46 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-14 20:27:46 +0100
commitce3afe5950c3f77f1cd0b1cb548287235050324b (patch)
tree6844980a023472b3443279101cf4256761f64987 /common/query.h
parente86e1f06d2b730c14c90d4c78719a47f3e5350fc (diff)
downloadsink-ce3afe5950c3f77f1cd0b1cb548287235050324b.tar.gz
sink-ce3afe5950c3f77f1cd0b1cb548287235050324b.zip
Query::setType
Diffstat (limited to 'common/query.h')
-rw-r--r--common/query.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/query.h b/common/query.h
index e77bfd9..0bc5141 100644
--- a/common/query.h
+++ b/common/query.h
@@ -127,6 +127,12 @@ public:
127 mType = type; 127 mType = type;
128 } 128 }
129 129
130 template<typename T>
131 void setType()
132 {
133 setType(ApplicationDomain::getTypeName<T>());
134 }
135
130 QByteArray type() const 136 QByteArray type() const
131 { 137 {
132 return mType; 138 return mType;