summary refs log tree commit diff
path: root/include/SlidingStackWidget.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-05-08 01:02:22 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-05-08 01:02:22 +0300
commit07405fd4ffb860982f559fa2361f79595366b1f4 (patch)
tree6dbc9fd957e473165dd12ba80662a840ce857cce /include/SlidingStackWidget.h
parentUse strongly typed enums (diff)
downloadnheko-07405fd4ffb860982f559fa2361f79595366b1f4.tar.xz
Fix windows build
Diffstat (limited to 'include/SlidingStackWidget.h')
-rw-r--r--include/SlidingStackWidget.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/SlidingStackWidget.h b/include/SlidingStackWidget.h

index 56d523b0..d6733538 100644 --- a/include/SlidingStackWidget.h +++ b/include/SlidingStackWidget.h
@@ -54,7 +54,7 @@ public slots: void slideInPrevious(); // 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); signals: @@ -67,7 +67,7 @@ protected slots: protected: // 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. bool active_; @@ -79,7 +79,7 @@ protected: int speed_; // The animation type. - enum QEasingCurve::Type animation_type_; + QEasingCurve::Type animation_type_; // Current widget's index. int now_;