Changeset View
Changeset View
Standalone View
Standalone View
kstyle/animations/breezetransitionwidget.h
Show First 20 Lines • Show All 144 Lines • ▼ Show 20 Line(s) | 41 | { | |||
---|---|---|---|---|---|
145 | 145 | | |||
146 | //* current | 146 | //* current | ||
147 | const QPixmap& currentPixmap() const | 147 | const QPixmap& currentPixmap() const | ||
148 | { return _currentPixmap; } | 148 | { return _currentPixmap; } | ||
149 | 149 | | |||
150 | //@} | 150 | //@} | ||
151 | 151 | | |||
152 | //* grap pixmap | 152 | //* grap pixmap | ||
153 | QPixmap grab( QWidget* = 0, QRect = QRect() ); | 153 | QPixmap grab( QWidget* = nullptr, QRect = QRect() ); | ||
154 | 154 | | |||
155 | //* true if animated | 155 | //* true if animated | ||
156 | virtual bool isAnimated() const | 156 | virtual bool isAnimated() const | ||
157 | { return _animation.data()->isRunning(); } | 157 | { return _animation.data()->isRunning(); } | ||
158 | 158 | | |||
159 | //* end animation | 159 | //* end animation | ||
160 | virtual void endAnimation() | 160 | virtual void endAnimation() | ||
161 | { if( _animation.data()->isRunning() ) _animation.data()->stop(); } | 161 | { if( _animation.data()->isRunning() ) _animation.data()->stop(); } | ||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |