this is a repeatable action

svn path=/trunk/KDE/kdelibs/; revision=1124339
This commit is contained in:
Aaron J. Seigo 2010-05-08 22:13:42 +00:00
parent 0b5d39a0db
commit af942eaf1d

View File

@ -93,6 +93,7 @@ public:
KAction *lockAction = actions.addAction("lock widgets");
QObject::connect(lockAction, SIGNAL(triggered(bool)), q, SLOT(toggleImmutability()));
lockAction->setText(i18n("Lock Widgets"));
lockAction->setAutoRepeat(true);
lockAction->setIcon(KIcon("object-locked"));
lockAction->setData(AbstractToolBox::ControlTool);
lockAction->setShortcut(KShortcut("alt+d, l"));