@@ -193,7 +193,7 @@ public:
193 void setRecognitionTimer(UbuntuGestures::AbstractTimer *timer);
193 void setRecognitionTimer(UbuntuGestures::AbstractTimer *timer);
195 // Useful for testing, where a fake time source can be supplied
195 // Useful for testing, where a fake time source can be supplied
196− void setTimeSource(UbuntuGestures::SharedTimeSource timeSource);
196+ void setTimeSource(const UbuntuGestures::SharedTimeSource &timeSource);
198Q_SIGNALS:
198Q_SIGNALS:
199 void directionChanged(Direction::Type direction);
199 void directionChanged(Direction::Type direction);
@@ -268,7 +268,7 @@ private:
269 class ActiveTouchesInfo : public QVector<struct ActiveTouchInfo> {
269 class ActiveTouchesInfo : public QVector<struct ActiveTouchInfo> {
271− ActiveTouchesInfo(UbuntuGestures::SharedTimeSource timeSource);
271+ ActiveTouchesInfo(const UbuntuGestures::SharedTimeSource &timeSource);
272 void update(QTouchEvent *event);
272 void update(QTouchEvent *event);
273 ActiveTouchInfo &touchInfo(int id);
273 ActiveTouchInfo &touchInfo(int id);
274 qint64 mostRecentStartTime();
274 qint64 mostRecentStartTime();