moved update() reimplementations to methods called from paintEvent()

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@373 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Javier Serrano Polo
2006-08-27 21:41:57 +00:00
parent 76e2a9563f
commit 17eed98376
4 changed files with 12 additions and 45 deletions

View File

@@ -88,10 +88,6 @@ public:
}
public slots:
virtual void update( void );
protected:
typedef automationPattern::timeMap timeMap;
@@ -209,6 +205,7 @@ private:
int m_bottom_level;
int m_top_level;
void updatePaintPixmap( void );
void updateTopBottomLevels( void );
QScrollBar * m_leftRightScroll;

View File

@@ -93,10 +93,6 @@ public:
}
public slots:
virtual void update( void );
protected:
virtual void closeEvent( QCloseEvent * _ce );
virtual void enterEvent( QEvent * _e );
@@ -182,6 +178,8 @@ private:
midiTime newNoteLen( void ) const;
void updatePaintPixmap( void );
static QPixmap * s_whiteKeyBigPm;
static QPixmap * s_whiteKeySmallPm;