From a2b1d2bed96c4eadfd4bed286b6a5fb27cae6a9c Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sat, 23 May 2009 10:30:52 +0000 Subject: [PATCH] Next camel git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29816 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiPrefs.cpp | 16 ++++++++-------- src/frontends/qt4/GuiPrefs.h | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index 3808798b50..09fdc4ab72 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -1310,13 +1310,13 @@ PrefConverters::PrefConverters(GuiPreferences * form) setupUi(this); connect(converterNewPB, SIGNAL(clicked()), - this, SLOT(update_converter())); + this, SLOT(updateConverter())); connect(converterRemovePB, SIGNAL(clicked()), - this, SLOT(remove_converter())); + this, SLOT(removeConverter())); connect(converterModifyPB, SIGNAL(clicked()), - this, SLOT(update_converter())); + this, SLOT(updateConverter())); connect(convertersLW, SIGNAL(currentRowChanged(int)), - this, SLOT(switch_converter())); + this, SLOT(switchConverter())); connect(converterFromCO, SIGNAL(activated(QString)), this, SLOT(converter_changed())); connect(converterToCO, SIGNAL(activated(QString)), @@ -1375,7 +1375,7 @@ void PrefConverters::updateGui() } // currentRowChanged(int) is also triggered when updating the listwidget - // block signals to avoid unnecessary calls to switch_converter() + // block signals to avoid unnecessary calls to switchConverter() convertersLW->blockSignals(true); convertersLW->clear(); @@ -1406,7 +1406,7 @@ void PrefConverters::updateGui() } -void PrefConverters::switch_converter() +void PrefConverters::switchConverter() { int const cnr = convertersLW->currentItem()->type(); Converter const & c(form_->converters().get(cnr)); @@ -1455,7 +1455,7 @@ void PrefConverters::updateButtons() // FIXME: user must // specify unique from/to or it doesn't appear. This is really bad UI // this is why we can use the same function for both new and modify -void PrefConverters::update_converter() +void PrefConverters::updateConverter() { Format const & from = form_->formats().get(converterFromCO->currentIndex()); Format const & to = form_->formats().get(converterToCO->currentIndex()); @@ -1477,7 +1477,7 @@ void PrefConverters::update_converter() } -void PrefConverters::remove_converter() +void PrefConverters::removeConverter() { Format const & from = form_->formats().get(converterFromCO->currentIndex()); Format const & to = form_->formats().get(converterToCO->currentIndex()); diff --git a/src/frontends/qt4/GuiPrefs.h b/src/frontends/qt4/GuiPrefs.h index 492de02477..9c86bb3133 100644 --- a/src/frontends/qt4/GuiPrefs.h +++ b/src/frontends/qt4/GuiPrefs.h @@ -333,10 +333,10 @@ public Q_SLOTS: void updateGui(); private Q_SLOTS: - void update_converter(); - void switch_converter(); + void updateConverter(); + void switchConverter(); + void removeConverter(); void converter_changed(); - void remove_converter(); void on_cacheCB_stateChanged(int state); private: