StelMainGraphicsView.hpp   StelMainGraphicsView.hpp 
skipping to change at line 109 skipping to change at line 109
//! Get the current minimum frames per second. //! Get the current minimum frames per second.
float getMinFps() {return minfps;} float getMinFps() {return minfps;}
//! Set the maximum frames per second. //! Set the maximum frames per second.
//! @param m the new maximum fps setting. //! @param m the new maximum fps setting.
void setMaxFps(float m) {maxfps = m;} void setMaxFps(float m) {maxfps = m;}
//! Get the current maximum frames per second. //! Get the current maximum frames per second.
float getMaxFps() {return maxfps;} float getMaxFps() {return maxfps;}
//! Updates the scene and process all events //! Updates the scene and process all events
void updateScene() { void updateScene() {
#ifdef QT_MAC_USE_COCOA
//This call solves the problems with the qt event d
ispatcher. The stack grew huge and many events were discarded
//http://bugreports.qt.nokia.com/browse/QTBUG-7502
//The previous bug has been closed an fixed but thi
s line is still needed. The patch didn't solve our problem
QCoreApplication::processEvents(QEventLoop::AllEvent
s);
#endif
scene()->update(); scene()->update();
} }
protected: protected:
virtual void resizeEvent(QResizeEvent* event); virtual void resizeEvent(QResizeEvent* event);
virtual void mouseMoveEvent(QMouseEvent* event); virtual void mouseMoveEvent(QMouseEvent* event);
virtual void mousePressEvent(QMouseEvent* event); virtual void mousePressEvent(QMouseEvent* event);
virtual void mouseReleaseEvent(QMouseEvent* event); virtual void mouseReleaseEvent(QMouseEvent* event);
virtual void keyPressEvent(QKeyEvent* event); virtual void keyPressEvent(QKeyEvent* event);
virtual void keyReleaseEvent(QKeyEvent* event); virtual void keyReleaseEvent(QKeyEvent* event);
 End of changes. 1 change blocks. 
10 lines changed or deleted 0 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/