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:
Tobias Doerffel
2006-01-09 12:48:55 +00:00
parent 4804108a1d
commit 36b6540f0b
8 changed files with 18 additions and 90 deletions

View File

@@ -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:

View File

@@ -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