Fix windows build

This commit is contained in:
Konstantinos Sideris 2017-05-08 01:02:22 +03:00
parent e44cc374e1
commit 07405fd4ff

View file

@ -54,7 +54,7 @@ public slots:
void slideInPrevious(); void slideInPrevious();
// Move to a widget by index. // Move to a widget by index.
void slideInIndex(int index, enum AnimationDirection direction = AnimationDirection::AUTOMATIC); void slideInIndex(int index, AnimationDirection direction = AnimationDirection::AUTOMATIC);
int getWidgetIndex(QWidget *widget); int getWidgetIndex(QWidget *widget);
signals: signals:
@ -67,7 +67,7 @@ protected slots:
protected: protected:
// The method that does the main work for the widget transition. // The method that does the main work for the widget transition.
void slideInWidget(QWidget *widget, enum AnimationDirection direction = AnimationDirection::AUTOMATIC); void slideInWidget(QWidget *widget, AnimationDirection direction = AnimationDirection::AUTOMATIC);
// Indicates whether or not the animation is active. // Indicates whether or not the animation is active.
bool active_; bool active_;
@ -79,7 +79,7 @@ protected:
int speed_; int speed_;
// The animation type. // The animation type.
enum QEasingCurve::Type animation_type_; QEasingCurve::Type animation_type_;
// Current widget's index. // Current widget's index.
int now_; int now_;