more Qt4 changes

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@548 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2007-08-27 18:25:01 +00:00
parent e24f094c62
commit 437c15c643
30 changed files with 17 additions and 358 deletions

View File

@@ -331,31 +331,7 @@ bitInvader::bitInvader( instrumentTrack * _channel_track ) :
}
/*
void bitInvader::paintEvent( QPaintEvent * )
{
#ifdef QT4
QPainter p( this );
#else
QPixmap pm( rect().size() );
pm.fill( this, rect().topLeft() );
QPainter p( &pm, this );
#endif
p.drawPixmap( 0, 0, *s_artwork );
p.setPen( QColor( 255, 255, 255 ) );
// p.setPen( QColor( 0xFF, 0xAA, 0x00 ) );
// p.drawLine(0,0,200,200);
#ifndef QT4
bitBlt( this, rect().topLeft(), &pm );
#endif
}
*/
void bitInvader::sinWaveClicked( void )
{

View File

@@ -23,19 +23,8 @@
*/
#include "qt3support.h"
#ifdef QT4
#include <Qt/QtXml>
#else
#include <qdom.h>
#endif
#include "plucked_string_synth.h"
#include "engine.h"
#include "instrument_track.h"

View File

@@ -172,13 +172,6 @@ void vstEffect::openPlugin( const QString & _plugin )
m_plugin->setTempo( engine::getSongEditor()->getTempo() );
if( m_plugin->pluginWidget() != NULL )
{
/*#ifdef QT4
m_plugin->pluginWidget()->setWindowIcon(
getInstrumentTrack()->windowIcon() );
#else
m_plugin->pluginWidget()->setWindowIcon(
*( getInstrumentTrack()->windowIcon() ) );
#endif*/
m_plugin->hideEditor();
}
m_pluginMutex.unlock();