Qt4- and MinGW-compatibility
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@416 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -68,6 +68,17 @@ public:
|
||||
return( m_show_status );
|
||||
}
|
||||
|
||||
#ifdef QT3
|
||||
inline int minimum( void ) const
|
||||
{
|
||||
return( minValue() );
|
||||
}
|
||||
inline int maximum( void ) const
|
||||
{
|
||||
return( maxValue() );
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
signals:
|
||||
void logicValueChanged( int _value );
|
||||
|
||||
@@ -105,7 +105,9 @@ protected:
|
||||
virtual void paintEvent( QPaintEvent * _pe );
|
||||
virtual void resizeEvent( QResizeEvent * _re );
|
||||
virtual void wheelEvent( QWheelEvent * _we );
|
||||
#ifdef BUILD_LINUX
|
||||
virtual bool x11Event( XEvent * _xe );
|
||||
#endif
|
||||
|
||||
int FASTCALL getKey( int _y );
|
||||
static inline void drawNoteRect( QPainter & _p, Uint16 _x, Uint16 _y,
|
||||
|
||||
@@ -81,8 +81,9 @@ public:
|
||||
|
||||
virtual void keyPressEvent( QKeyEvent * ke );
|
||||
virtual void keyReleaseEvent( QKeyEvent * ke );
|
||||
#ifndef BUILD_WIN32
|
||||
virtual bool x11Event( XEvent * _xe );
|
||||
|
||||
#endif
|
||||
|
||||
protected:
|
||||
virtual void contextMenuEvent( QContextMenuEvent * _me );
|
||||
|
||||
@@ -21,9 +21,12 @@
|
||||
* Boston, MA 02110-1301 USA.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _RACK_VIEW_H
|
||||
#define _RACK_VIEW_H
|
||||
|
||||
#include "qt3support.h"
|
||||
|
||||
#ifdef QT4
|
||||
|
||||
#include <QtGui/QWidget>
|
||||
|
||||
Reference in New Issue
Block a user