mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29813 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
950522d95a
commit
884c682a27
@ -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);
|
||||
}
|
||||
|
@ -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_;
|
||||
|
Loading…
Reference in New Issue
Block a user