simple fixes to get this port compiling again. thanks to Albert who made kpdf

run! making patches against annotations/ branch now.

svn path=/branches/work/kde4/kdegraphics/kpdf/; revision=439565
remotes/origin/kpdf-kde4
Enrico Ros 21 years ago
parent e692a625f3
commit 06772ef8d4
  1. 2
      part.cpp
  2. 3
      ui/presentationwidget.cpp

@ -110,7 +110,7 @@ Part::Part(QWidget *parentWidget, const char *widgetName,
connect( m_document, SIGNAL( openURL(const KURL &) ), this, SLOT( openURL(const KURL &) ) );
connect( m_document, SIGNAL( close() ), this, SLOT( close() ) );
if (parent && parent->metaObject()->slotNames(true).contains("slotQuit()"))
if ( parent && parent->metaObject()->indexOfSlot( SLOT( slotQuit() ) ) != -1 )
connect( m_document, SIGNAL( quit() ), parent, SLOT( slotQuit() ) );
else
connect( m_document, SIGNAL( quit() ), this, SLOT( cannotQuit() ) );

@ -654,7 +654,8 @@ void PresentationWidget::generateOverlay()
doublePixmap.fill( Qt::black );
pixmapPainter.begin( &doublePixmap );
pixmapPainter.setPen( 0x40 );
pixmapPainter.setBrush( 0x80 );
#warning QPainter.setBrush(0x80) ???? port this
// pixmapPainter.setBrush( 0x80 );
pixmapPainter.drawEllipse( 0, 0, side, side );
pixmapPainter.end();
QImage shadow( doublePixmap.convertToImage().smoothScale( side / 2, side / 2 ) );

Loading…
Cancel
Save