From 884c682a27e51f9385c5b1b8e7b975aab67d7ac1 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sat, 23 May 2009 10:15:24 +0000 Subject: [PATCH] Next camel git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29813 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiPrefs.cpp | 12 ++++++------ src/frontends/qt4/GuiPrefs.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index a5df00d90c..6376e1110f 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -992,11 +992,11 @@ PrefColors::PrefColors(GuiPreferences * form) // End initialization connect(colorChangePB, SIGNAL(clicked()), - this, SLOT(change_color())); + this, SLOT(changeColor())); connect(lyxObjectsLW, SIGNAL(itemSelectionChanged()), - this, SLOT(change_lyxObjects_selection())); + this, SLOT(changeLyxObjectsSelection())); connect(lyxObjectsLW, SIGNAL(itemActivated(QListWidgetItem*)), - this, SLOT(change_color())); + this, SLOT(changeColor())); } @@ -1017,11 +1017,11 @@ void PrefColors::update(LyXRC const & /*rc*/) lyxObjectsLW->item(i)->setIcon(QIcon(coloritem)); newcolors_[i] = curcolors_[i] = color.name(); } - change_lyxObjects_selection(); + changeLyxObjectsSelection(); } -void PrefColors::change_color() +void PrefColors::changeColor() { int const row = lyxObjectsLW->currentRow(); @@ -1042,7 +1042,7 @@ void PrefColors::change_color() } } -void PrefColors::change_lyxObjects_selection() +void PrefColors::changeLyxObjectsSelection() { colorChangePB->setDisabled(lyxObjectsLW->currentRow() < 0); } diff --git a/src/frontends/qt4/GuiPrefs.h b/src/frontends/qt4/GuiPrefs.h index 83ac23345d..04a3d39408 100644 --- a/src/frontends/qt4/GuiPrefs.h +++ b/src/frontends/qt4/GuiPrefs.h @@ -264,8 +264,8 @@ public: void update(LyXRC const & rc); private Q_SLOTS: - void change_color(); - void change_lyxObjects_selection(); + void changeColor(); + void changeLyxObjectsSelection(); private: std::vector lcolors_; -- 2.39.2