Changeset 121 for smplayer/vendor/current/src/floatingwidget.h
- Timestamp:
- Mar 15, 2012, 5:14:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
smplayer/vendor/current/src/floatingwidget.h
r118 r121 1 1 /* smplayer, GUI front-end for mplayer. 2 Copyright (C) 2006-201 1 Ricardo Villalba <rvm@escomposlinux.org>2 Copyright (C) 2006-2012 Ricardo Villalba <rvm@users.sourceforge.net> 3 3 4 4 This program is free software; you can redistribute it and/or modify … … 24 24 25 25 class QToolBar; 26 27 #if QT_VERSION < 0x040600 28 #define OLD_ANIMATION 29 #endif 30 31 #ifndef OLD_ANIMATION 32 class QPropertyAnimation; 33 #endif 26 34 27 35 class FloatingWidget : public QWidget … … 59 67 60 68 private slots: 69 #ifdef OLD_ANIMATION 61 70 void animate(); 71 #endif 62 72 void checkUnderMouse(); 63 73 … … 65 75 // Animation variables 66 76 bool _animated; 77 #ifdef OLD_ANIMATION 67 78 QTimer * animation_timer; 79 #endif 68 80 int final_y; 69 81 int current_y; … … 74 86 75 87 int _margin; 88 89 #ifndef OLD_ANIMATION 90 QPropertyAnimation * animation; 91 #endif 92 76 93 }; 77 94
Note:
See TracChangeset
for help on using the changeset viewer.