qt4 compat fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@46 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
#ifdef QT4
|
||||
|
||||
#include <QButton>
|
||||
#include <QAbstractButton>
|
||||
#include <QColor>
|
||||
|
||||
#else
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
|
||||
|
||||
class fadeButton : public QButton
|
||||
class fadeButton : public QAbstractButton
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* qt3support.h - layer for supporting Qt3
|
||||
*
|
||||
* Copyright (c) 2005 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2005-2006 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -77,6 +77,7 @@ inline QString baseName( const QString & _file )
|
||||
|
||||
#define QMatrix QWMatrix
|
||||
#define QIcon QIconSet
|
||||
#define QAbstractButton QButton
|
||||
|
||||
|
||||
// QWidget
|
||||
|
||||
Reference in New Issue
Block a user