Next camel

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29813 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-05-23 10:15:24 +00:00
parent 950522d95a
commit 884c682a27
2 changed files with 8 additions and 8 deletions

View File

@ -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);
}

View File

@ -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<ColorCode> lcolors_;