#include <QComboBox>
-#include "vspace.h"
+#include "VSpace.h"
//namespace lyx {
/**
- * A combo box for selecting LyXLength::UNIT types.
+ * A combo box for selecting Length::UNIT types.
*/
class LengthCombo : public QComboBox {
Q_OBJECT
LengthCombo(QWidget * parent);
/// set the current item from unit
- virtual void setCurrentItem(lyx::LyXLength::UNIT unit);
+ virtual void setCurrentItem(lyx::Length::UNIT unit);
/// set the current item from int
virtual void setCurrentItem(int item);
/// get the current item
- lyx::LyXLength::UNIT currentLengthItem() const;
+ lyx::Length::UNIT currentLengthItem() const;
/// enable the widget
virtual void setEnabled(bool b);
/// use the %-items?
virtual void has_activated(int index);
Q_SIGNALS:
/// the current selection has changed
- void selectionChanged(lyx::LyXLength::UNIT unit);
+ void selectionChanged(lyx::Length::UNIT unit);
};