[Kst] kdeextragear-2/kst/kst
Andrew Walker
arwalker at sumusltd.com
Thu Mar 17 00:12:15 CET 2005
CVS commit by arwalker:
Replace deprecated KAccel::stringToKey()
M +3 -3 kst.cpp 1.289
--- kdeextragear-2/kst/kst/kst.cpp #1.288:1.289
@@ -596,5 +596,5 @@ void KstApp::initActions() {
SamplesDownAction = new KAction(i18n("&Back 1 Screen"),
"kst_back",
- KAccel::stringToKey("Ctrl+Left"),
+ KShortcut(CTRL + Key_Left),
this, SLOT(samplesDown()),
actionCollection(),
@@ -607,5 +607,5 @@ void KstApp::initActions() {
SamplesUpAction = new KAction(i18n("&Advance 1 Screen"),
"kst_advance",
- KAccel::stringToKey("Ctrl+Right"),
+ KShortcut(CTRL + Key_Right),
this, SLOT(samplesUp()),
actionCollection(),
@@ -619,5 +619,5 @@ void KstApp::initActions() {
SamplesFromEndAction = new KAction(i18n("Read From &End"),
"1rightarrow",
- KAccel::stringToKey("Shift+Ctrl+Right"),
+ KShortcut(SHIFT + CTRL + Key_Right),
this, SLOT(fromEnd()),
actionCollection(),
More information about the Kst
mailing list