#include <config.h>
#include "LengthCombo.h"
-#include "lengthcommon.h"
+
#include "qt_helpers.h"
}
-lyx::LyXLength::UNIT LengthCombo::currentLengthItem() const
+lyx::Length::UNIT LengthCombo::currentLengthItem() const
{
- return static_cast<lyx::LyXLength::UNIT>(currentIndex());
+ return static_cast<lyx::Length::UNIT>(currentIndex());
}
}
-void LengthCombo::setCurrentItem(lyx::LyXLength::UNIT unit)
+void LengthCombo::setCurrentItem(lyx::Length::UNIT unit)
{
QComboBox::setCurrentIndex(int(unit));
}