]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/panelstack.h
Qt compilation fixes.
[lyx.git] / src / frontends / qt2 / panelstack.h
index 8045d9a79adaa7c8c2c179674db2211204d3f09e..c1862acecdc0340c3d779b5e0732fba5014fcd8d 100644 (file)
 #ifndef PANELSTACK_H
 #define PANELSTACK_H
 
-#include "support/std_string.h"
-
 #include <qwidget.h>
 
 #include <map>
+#include <string>
 
 class QListView;
 class QListViewItem;
@@ -28,20 +27,20 @@ public:
        PanelStack(QWidget * parent = 0, const char * name = "panelstack");
 
        /// add a category with no associated panel
-       void addCategory(string const & name, string const & parent = string());
+       void addCategory(std::string const & name, std::string const & parent = std::string());
 
        /// add a widget panel with a given name, under the given parent
-       void addPanel(QWidget * panel, string const & name, string const & parent = string());
+       void addPanel(QWidget * panel, std::string const & name, std::string const & parent = std::string());
 
        /// set current panel by logical name
-       void setCurrentPanel(string const &);
+       void setCurrentPanel(std::string const &);
 
 public slots:
        /// set current panel from an item
        void switchPanel(QListViewItem * i);
 
 private:
-       typedef std::map<string, QListViewItem *> PanelMap;
+       typedef std::map<std::string, QListViewItem *> PanelMap;
 
        PanelMap panel_map_;