Remove use of KDE_IS_VERSION

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/154/head
Michele Calgaro 1 week ago
parent 13af4ef755
commit cb8ff2c3ac
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -799,11 +799,9 @@ void Part::slotFind()
dlg.setHasCursor( false );
if ( !m_searchHistory.empty() )
dlg.setFindHistory( m_searchHistory );
#if KDE_IS_VERSION(3,3,90)
dlg.setSupportsBackwardsFind( false );
dlg.setSupportsWholeWordsFind( false );
dlg.setSupportsRegularExpressionFind( false );
#endif
if ( savedCaseSensitive )
{
dlg.setOptions( dlg.options() | KFindDialog::CaseSensitive );

@ -402,9 +402,7 @@ HoverButton::HoverButton( TQWidget * parent )
: TQPushButton( parent )
{
setMouseTracking( true );
#if KDE_IS_VERSION(3,3,90)
TDEAcceleratorManager::setNoAccel( this );
#endif
}
void HoverButton::enterEvent( TQPaintEvent * e )

@ -248,9 +248,7 @@ void PageView::setupActions( TDEActionCollection * ac )
// Zoom actions ( higher scales takes lots of memory! )
d->aZoom = new TDESelectAction( i18n( "Zoom" ), "viewmag", 0, this, TQ_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, TQ_SLOT( slotZoomIn() ), ac, "zoom_in" );

Loading…
Cancel
Save