Commit d12b74c6 authored by Aaron J. Seigo's avatar Aaron J. Seigo

KStdAction->KStandardAction

svn path=/trunk/KDE/kdesdk/cervisia/; revision=614808
parent 742293c1
......@@ -39,7 +39,7 @@
#include <kprocess.h>
#include <kpropertiesdialog.h>
#include <kstatusbar.h>
#include <kstdaction.h>
#include <kstandardaction.h>
#include <kxmlguifactory.h>
#include <krun.h>
#include <kdebug.h>
......@@ -575,7 +575,7 @@ void CervisiaPart::setupActions()
//
// Help Menu
//
action = KStdAction::help( this, SLOT(slotHelp()),
action = KStandardAction::help( this, SLOT(slotHelp()),
actionCollection() );
action = new KAction( i18n("CVS &Manual"), actionCollection(), "help_cvs_manual" );
......@@ -591,7 +591,7 @@ void CervisiaPart::setupActions()
connect(toggaction, SIGNAL(triggered(bool) ), SLOT( slotUnfoldFolder() ));
toggaction->setCheckedState(i18n("Fold Folder"));
//action = KStdAction::aboutApp( this, SLOT(aboutCervisia()),
//action = KStandardAction::aboutApp( this, SLOT(aboutCervisia()),
// actionCollection(), "help_about_cervisia" );
}
......
......@@ -30,7 +30,7 @@
#include <klocale.h>
#include <kmessagebox.h>
#include <kstatusbar.h>
#include <kstdaction.h>
#include <kstandardaction.h>
#include <kurl.h>
#include <kactioncollection.h>
......@@ -97,19 +97,19 @@ void CervisiaShell::setupActions()
{
setStandardToolBarMenuEnabled( true );
KAction *action = KStdAction::configureToolbars( this, SLOT(slotConfigureToolBars()),
KAction *action = KStandardAction::configureToolbars( this, SLOT(slotConfigureToolBars()),
actionCollection() );
QString hint = i18n("Allows you to configure the toolbar");
action->setToolTip( hint );
action->setWhatsThis( hint );
action = KStdAction::keyBindings( this, SLOT(slotConfigureKeys()),
action = KStandardAction::keyBindings( this, SLOT(slotConfigureKeys()),
actionCollection() );
hint = i18n("Allows you to customize the keybindings");
action->setToolTip( hint );
action->setWhatsThis( hint );
action = KStdAction::quit( kapp, SLOT( quit() ), actionCollection() );
action = KStandardAction::quit( kapp, SLOT( quit() ), actionCollection() );
hint = i18n("Exits Cervisia");
action->setToolTip( hint );
action->setWhatsThis( hint );
......
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