-// Copyright (C) 2005 OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D\r
-// \r
-// This library is free software; you can redistribute it and/or\r
-// modify it under the terms of the GNU Lesser General Public\r
-// License as published by the Free Software Foundation; either \r
-// version 2.1 of the License.\r
-// \r
-// This library is distributed in the hope that it will be useful \r
-// but WITHOUT ANY WARRANTY; without even the implied warranty of \r
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU \r
-// Lesser General Public License for more details.\r
-//\r
-// You should have received a copy of the GNU Lesser General Public \r
-// License along with this library; if not, write to the Free Software \r
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
-//\r
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com\r
-//\r
-// File: LightApp_PreferencesDlg.h\r
-// Author: Sergey TELKOV\r
-\r
-#ifndef LIGHTAPP_PREFERENCESDLG_H\r
-#define LIGHTAPP_PREFERENCESDLG_H\r
-\r
-#include "LightApp.h"\r
-#include "LightApp_Preferences.h"\r
-\r
-#include <QtxDialog.h>\r
-\r
-#include <QPointer>\r
-\r
-/*!\r
- \class LightApp_PreferencesDlg\r
- Dialog for preferences edition\r
-*/\r
-class LIGHTAPP_EXPORT LightApp_PreferencesDlg : public QtxDialog\r
-{\r
- Q_OBJECT\r
-\r
-public:\r
- LightApp_PreferencesDlg( LightApp_Preferences*, QWidget* = 0 );\r
- virtual ~LightApp_PreferencesDlg();\r
-\r
- virtual void setVisible(bool visible);\r
- virtual void accept();\r
- virtual void reject();\r
-\r
- bool isSaved() { return mySaved; }\r
- void setSaved( bool saved ) { mySaved = saved; } \r
-\r
-private slots:\r
- void onHelp();\r
- void onApply();\r
- void onDefault();\r
- void onImportPref();\r
-\r
-private:\r
- typedef QPointer<LightApp_Preferences> PrefPtr;\r
- PrefPtr myPrefs;\r
- bool mySaved;\r
-};\r
-\r
-#endif\r
+// Copyright (C) 2005 OPEN CASCADE, CEA/DEN, EDF R&D, PRINCIPIA R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+// File: LightApp_PreferencesDlg.h
+// Author: Sergey TELKOV
+
+#ifndef LIGHTAPP_PREFERENCESDLG_H
+#define LIGHTAPP_PREFERENCESDLG_H
+
+#include "LightApp.h"
+#include "LightApp_Preferences.h"
+
+#include <QtxDialog.h>
+
+#include <QPointer>
+
+/*!
+ \class LightApp_PreferencesDlg
+ Dialog for preferences edition
+*/
+class LIGHTAPP_EXPORT LightApp_PreferencesDlg : public QtxDialog
+{
+ Q_OBJECT
+
+public:
+ LightApp_PreferencesDlg( LightApp_Preferences*, QWidget* = 0 );
+ virtual ~LightApp_PreferencesDlg();
+
+ virtual void setVisible(bool visible);
+ virtual void accept();
+ virtual void reject();
+
+ bool isSaved() { return mySaved; }
+ void setSaved( bool saved ) { mySaved = saved; }
+
+private slots:
+ void onHelp();
+ void onApply();
+ void onDefault();
+ void onImportPref();
+
+private:
+ typedef QPointer<LightApp_Preferences> PrefPtr;
+ PrefPtr myPrefs;
+ bool mySaved;
+};
+
+#endif