Commit 275c6495 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Adapt to new api

svn path=/trunk/KDE/kdebase/libkonq/; revision=538517
parent 6561c4b6
......@@ -222,7 +222,7 @@ KonqKfmIconView::KonqKfmIconView( QWidget *parentWidget, QObject *parent, const
connect( m_paEnablePreviews, SIGNAL( toggled( bool ) ), this, SLOT( slotPreview( bool ) ) );
m_paEnablePreviews->setIconName("thumbnail");
m_pamPreview->insert( m_paEnablePreviews );
m_pamPreview->insert( new KActionSeparator(actionCollection()) );
m_pamPreview->insert( new KSeparatorAction(actionCollection()) );
KTrader::OfferList plugins = KTrader::self()->query( "ThumbCreator" );
QMap< QString, KToggleAction* > previewActions;
......
......@@ -4867,7 +4867,7 @@ void KonqMainWindow::updateOpenWithActions()
}
if ( services.count() > 0 )
{
m_openWithActions.append( new KActionSeparator );
m_openWithActions.append( new KSeparatorAction );
plugActionList( "openwith", m_openWithActions );
}
}
......
......@@ -32,7 +32,8 @@
#include <kprotocolinfo.h>
#include <kmenu.h>
#include <krun.h>
#include <kactioncollection.h>
#include <kseparatoraction.h>
#include <kio/job.h>
#include <kio/renamedlg.h>
......@@ -241,7 +242,7 @@ void KNewMenu::fillMenu()
act->setActionGroup( m_newMenuGroup );
kMenu()->addAction( act );
KActionSeparator *sep = new KActionSeparator();
KSeparatorAction *sep = new KSeparatorAction();
kMenu()->addAction( sep );
}
else
......@@ -275,12 +276,12 @@ void KNewMenu::fillMenu()
} else { // Separate system from personal templates
Q_ASSERT( (*templ).entryType != 0 );
KActionSeparator * act = new KActionSeparator();
KSeparatorAction * act = new KSeparatorAction();
kMenu()->addAction( act );
}
}
KActionSeparator * act = new KActionSeparator();
KSeparatorAction * act = new KSeparatorAction();
kMenu()->addAction( act );
if ( linkURL ) kMenu()->addAction( linkURL );
if ( linkApp ) kMenu()->addAction( linkApp );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment