[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kde4/kdegraphics/kpdf
From: Enrico Ros <rosenric () dei ! unipd ! it>
Date: 2005-07-28 13:30:03
Message-ID: 1122557403.815109.29232.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 439565 by eros:
simple fixes to get this port compiling again. thanks to Albert who made kpdf
run! making patches against annotations/ branch now.
M +1 -1 part.cpp
M +2 -1 ui/presentationwidget.cpp
--- branches/work/kde4/kdegraphics/kpdf/part.cpp #439564:439565
@@ -110,7 +110,7 @@
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() ) );
--- branches/work/kde4/kdegraphics/kpdf/ui/presentationwidget.cpp #439564:439565
@@ -654,7 +654,8 @@
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 ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic