]> git.lyx.org Git - features.git/commitdiff
set eol-style.
authorAbdelrazak Younes <younes@lyx.org>
Fri, 28 Sep 2007 09:45:50 +0000 (09:45 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 28 Sep 2007 09:45:50 +0000 (09:45 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20564 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiDialog.cpp
src/frontends/qt4/GuiDialog.h

index eb2e9f6a149882397931bf36396d6d5fa07248f6..950fedf40b0cd26b29b9ead02851e1e49f8c7a05 100644 (file)
 #include "qt_helpers.h"
 #include "frontends/LyXView.h"
 
-#include <QCloseEvent>\r
-#include <QSettings>\r
-#include <QShowEvent>\r
-\r
+#include <QCloseEvent>
+#include <QSettings>
+#include <QShowEvent>
+
 using std::string;
 
 namespace lyx {
@@ -241,26 +241,26 @@ void GuiDialog::setController(Controller * controller)
 }
 
 
-void GuiDialog::showEvent(QShowEvent * e)\r
-{\r
-#if (QT_VERSION >= 0x040200)\r
-       QSettings settings;\r
-       string key = name_ + "/geometry";\r
-       restoreGeometry(settings.value(key.c_str()).toByteArray());\r
-#endif\r
-       QDialog::showEvent(e);\r
-}\r
-\r
-\r
-void GuiDialog::closeEvent(QCloseEvent * e)\r
-{\r
-#if (QT_VERSION >= 0x040200)\r
-       QSettings settings;\r
-       string key = name_ + "/geometry";\r
-       settings.setValue(key.c_str(), saveGeometry());\r
-#endif\r
-       QDialog::closeEvent(e);\r
-}\r
+void GuiDialog::showEvent(QShowEvent * e)
+{
+#if (QT_VERSION >= 0x040200)
+       QSettings settings;
+       string key = name_ + "/geometry";
+       restoreGeometry(settings.value(key.c_str()).toByteArray());
+#endif
+       QDialog::showEvent(e);
+}
+
+
+void GuiDialog::closeEvent(QCloseEvent * e)
+{
+#if (QT_VERSION >= 0x040200)
+       QSettings settings;
+       string key = name_ + "/geometry";
+       settings.setValue(key.c_str(), saveGeometry());
+#endif
+       QDialog::closeEvent(e);
+}
 
 } // namespace frontend
 } // namespace lyx
index da51ee924436e9acf092f435ee8c5edb1a324945..9185a8770e3f4603471dcdf44f9ede0bc7e665ae 100644 (file)
@@ -79,10 +79,10 @@ public:
        /// default: do nothing
        virtual void updateContents() {}
        ///
-       void closeEvent(QCloseEvent *);\r
-       ///\r
-       void showEvent(QShowEvent *);\r
-\r
+       void closeEvent(QCloseEvent *);
+       ///
+       void showEvent(QShowEvent *);
+
 protected:
        /// Hide the dialog.
        virtual void hideView();