* LengthCombo.{cpp,h}:
commit4d901be9596dc28f30fb9b8008aacb7818366c23
authorspitz <spitz@a592a061-630c-0410-9148-cb99ea01b6c8>
Wed, 14 Jan 2009 12:57:23 +0000 (14 12:57 +0000)
committerspitz <spitz@a592a061-630c-0410-9148-cb99ea01b6c8>
Wed, 14 Jan 2009 12:57:23 +0000 (14 12:57 +0000)
treefdd480e1e9ec72dbf4bb19f8fc44e98075858521
parent47c2c1dc2480cec290595bfd91d92451d0ec9a40
* LengthCombo.{cpp,h}:
- rename [add|remove]Item(unit) to [add|remove]Unit(unit)
- remove now unnecessary reimplemantations of QComboBox functions
- new member setCurrentItem(QString)

* GuiBox.cpp:
- set ItemData for special lengths, which simplifies the logic a lot.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28152 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/GuiBox.cpp
src/frontends/qt4/LengthCombo.cpp
src/frontends/qt4/LengthCombo.h