Next camel

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29818 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-05-23 10:48:30 +00:00
parent 99da022d51
commit b7ca24d637
2 changed files with 16 additions and 15 deletions

View File

@ -2228,7 +2228,7 @@ PrefShortcuts::PrefShortcuts(GuiPreferences * form)
// shortcutsTW->setSelectionMode(QAbstractItemView::MultiSelection);
connect(bindFilePB, SIGNAL(clicked()),
this, SLOT(select_bind()));
this, SLOT(selectBind()));
connect(bindFileED, SIGNAL(textChanged(QString)),
this, SIGNAL(changed()));
connect(removePB, SIGNAL(clicked()),
@ -2246,13 +2246,13 @@ PrefShortcuts::PrefShortcuts(GuiPreferences * form)
connect(shortcut_->cancelPB, SIGNAL(clicked()),
shortcut_, SLOT(reject()));
connect(shortcut_->clearPB, SIGNAL(clicked()),
this, SLOT(shortcut_clearPB_pressed()));
this, SLOT(shortcutClearPressed()));
connect(shortcut_->removePB, SIGNAL(clicked()),
this, SLOT(shortcut_removePB_pressed()));
this, SLOT(shortcutRemovePressed()));
connect(shortcut_->okPB, SIGNAL(clicked()),
this, SLOT(shortcut_okPB_pressed()));
this, SLOT(shortcutOkPressed()));
connect(shortcut_->cancelPB, SIGNAL(clicked()),
this, SLOT(shortcut_cancelPB_pressed()));
this, SLOT(shortcutCancelPressed()));
}
@ -2527,7 +2527,7 @@ void PrefShortcuts::removeShortcut()
}
void PrefShortcuts::select_bind()
void PrefShortcuts::selectBind()
{
QString file = form_->browsebind(internalPath(bindFileED->text()));
if (!file.isEmpty()) {
@ -2596,7 +2596,7 @@ docstring makeCmdString(FuncRequest const & f)
}
void PrefShortcuts::shortcut_okPB_pressed()
void PrefShortcuts::shortcutOkPressed()
{
QString const new_lfun = shortcut_->lfunLE->text();
FuncRequest func = lyxaction.lookupFunc(fromqstr(new_lfun));
@ -2659,19 +2659,19 @@ void PrefShortcuts::shortcut_okPB_pressed()
}
void PrefShortcuts::shortcut_cancelPB_pressed()
void PrefShortcuts::shortcutCancelPressed()
{
shortcut_->shortcutWG->reset();
}
void PrefShortcuts::shortcut_clearPB_pressed()
void PrefShortcuts::shortcutClearPressed()
{
shortcut_->shortcutWG->reset();
}
void PrefShortcuts::shortcut_removePB_pressed()
void PrefShortcuts::shortcutRemovePressed()
{
shortcut_->shortcutWG->removeFromSequence();
}

View File

@ -453,18 +453,19 @@ public:
KeySequence const & shortcut, KeyMap::ItemType tag);
public Q_SLOTS:
void select_bind();
void selectBind();
void on_modifyPB_pressed();
void on_newPB_pressed();
void on_removePB_pressed();
void on_searchLE_textEdited();
///
void on_shortcutsTW_itemSelectionChanged();
void shortcut_okPB_pressed();
void shortcut_cancelPB_pressed();
void shortcut_clearPB_pressed();
void shortcut_removePB_pressed();
void on_shortcutsTW_itemDoubleClicked();
///
void shortcutOkPressed();
void shortcutCancelPressed();
void shortcutClearPressed();
void shortcutRemovePressed();
private:
///