Adapt to new api

Remove kde_version

svn path=/trunk/KDE/kdegraphics/kpdf/; revision=459570
remotes/origin/kpdf
Laurent Montel 21 years ago
parent ef18caf016
commit fb499e8567
  1. 2
      part.cpp
  2. 2
      ui/minibar.cpp
  3. 2
      ui/pageview.cpp

@ -637,11 +637,9 @@ void Part::slotFind()
{
KFindDialog dlg( widget() );
dlg.setHasCursor( false );
#if KDE_IS_VERSION(3,3,90)
dlg.setSupportsBackwardsFind( false );
dlg.setSupportsWholeWordsFind( false );
dlg.setSupportsRegularExpressionFind( false );
#endif
if ( dlg.exec() == QDialog::Accepted )
{
m_searchStarted = true;

@ -402,9 +402,7 @@ HoverButton::HoverButton( QWidget * parent )
: QPushButton( parent )
{
setMouseTracking( true );
#if KDE_IS_VERSION(3,3,90)
KAcceleratorManager::setNoAccel( this );
#endif
}
void HoverButton::paintEvent( QPaintEvent * e )

@ -180,9 +180,7 @@ void PageView::setupActions( KActionCollection * ac )
// Zoom actions ( higher scales takes lots of memory! )
d->aZoom = new KSelectAction( i18n( "Zoom" ), "viewmag", 0, this, SLOT( slotZoom() ), ac, "zoom_to" );
d->aZoom->setEditable( true );
#if KDE_IS_VERSION(3,4,89)
d->aZoom->setMaxComboViewCount( 13 );
#endif
updateZoomText();
KStdAction::zoomIn( this, SLOT( slotZoomIn() ), ac, "zoom_in" );

Loading…
Cancel
Save