]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt2/QDelimiterDialog.h
Replace LString.h with support/std_string.h,
[features.git] / src / frontends / qt2 / QDelimiterDialog.h
index b6213b0ea5c49d9d9c284f6be82001f97baf6cd7..7f03f14da3a24cdc2c6f1a3138e9fdd945277c78 100644 (file)
@@ -6,35 +6,32 @@
  *
  * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef QDELIMITERDIALOG_H
 #define QDELIMITERDIALOG_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "ui/QDelimiterDialogBase.h"
-#include "LString.h"
+#include "support/std_string.h"
 
-class QMath;
+class QMathDelimiter;
 class IconPalette;
 class QLabel;
 
 class QDelimiterDialog : public QDelimiterDialogBase {
        Q_OBJECT
 public:
-       QDelimiterDialog(QMath * form);
+       QDelimiterDialog(QMathDelimiter * form);
 public slots:
-       void ldelim_clicked(string str);
-       void rdelim_clicked(string str);
+       void ldelim_clicked(const string & str);
+       void rdelim_clicked(const string & str);
        void insertClicked();
 protected:
        //needed ? virtual void closeEvent(QCloseEvent * e);
 private:
-       void set_label(QLabel * label, string const & str);
+       void set_label(QLabel * label, const string & str);
 
        /// symbol of left delimiter
        string left_;
@@ -43,7 +40,7 @@ private:
        string right_;
 
        /// owning form
-       QMath * form_;
+       QMathDelimiter * form_;
 };
 
 #endif // QDELIMITERDIALOG_H