]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/LengthCombo.h
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / LengthCombo.h
index 8d0a6823fc026202f9f7c20c22b61161492daf15..1701dcfa0fc73a20b57909f9ca17ad06ed1420ca 100644 (file)
@@ -17,7 +17,8 @@
 #include "VSpace.h"
 
 
-//namespace lyx {
+namespace lyx {
+namespace frontend {
 
 /**
  * A combo box for selecting Length::UNIT types.
@@ -31,7 +32,7 @@ public:
        /// set the current item from unit
        virtual void setCurrentItem(lyx::Length::UNIT unit);
        /// set the current item from length string
-       virtual void setCurrentItem(QString const item);
+       virtual void setCurrentItem(QString const item);
        /// set the current item from int
        virtual void setCurrentItem(int item);
        /// get the current item
@@ -46,13 +47,14 @@ public:
        virtual void addUnit(lyx::Length::UNIT unit);
 
 protected Q_SLOTS:
-       virtual void has_activated(int index);
+       virtual void hasActivated(int index);
 Q_SIGNALS:
        /// the current selection has changed
        void selectionChanged(lyx::Length::UNIT unit);
 };
 
 
-//} // namespace lyx
+} // namesapce frontend
+} // namespace lyx
 
 #endif // LENGTHCOMBO_H