mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2018-08-07 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'pam_rd' plug-in. * Removed rdchunk(1). * Upgraded Qt3 to Qt4.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include <qpointarray.h>
|
||||
#include <q3pointarray.h>
|
||||
#include <qpixmap.h>
|
||||
#include <qfile.h>
|
||||
#include <qmessagebox.h>
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <rdwavepainter.h>
|
||||
|
||||
|
||||
RDWavePainter::RDWavePainter(const QPaintDevice *pd,RDCut *cut,
|
||||
RDWavePainter::RDWavePainter(QPaintDevice *pd,RDCut *cut,
|
||||
RDStation *station,RDUser *user,RDConfig *config)
|
||||
: QPainter(pd)
|
||||
{
|
||||
@@ -67,7 +67,7 @@ void RDWavePainter::nameWave(RDCut *cut)
|
||||
}
|
||||
|
||||
|
||||
bool RDWavePainter::begin(const QPaintDevice *pd,RDCut *cut)
|
||||
bool RDWavePainter::begin(QPaintDevice *pd,RDCut *cut)
|
||||
{
|
||||
wave_cut=cut;
|
||||
LoadWave();
|
||||
@@ -75,7 +75,7 @@ bool RDWavePainter::begin(const QPaintDevice *pd,RDCut *cut)
|
||||
}
|
||||
|
||||
|
||||
bool RDWavePainter::begin(const QPaintDevice *pd)
|
||||
bool RDWavePainter::begin(QPaintDevice *pd)
|
||||
{
|
||||
return QPainter::begin(pd);
|
||||
}
|
||||
@@ -124,7 +124,7 @@ void RDWavePainter::drawWaveBySamples(int x,int w,int startsamp,int endsamp,
|
||||
resetXForm();
|
||||
setPen(color);
|
||||
setBrush(color);
|
||||
QPointArray array(w+2);
|
||||
Q3PointArray array(w+2);
|
||||
array.setPoint(0,0,center);
|
||||
array.setPoint(w+1,w+1,center);
|
||||
switch(effective_channel) {
|
||||
|
||||
Reference in New Issue
Block a user