Salome HOME
Moved some functionality to VTKViewer_Utilities.h
[modules/kernel.git] / src / SALOMEGUI / QAD_Config.h
index 8a7138f323ae7bd0a83271f6a094e63ab5c92196..24d863ac38a47ce00e83cc83b36fe06733e6d8f1 100644 (file)
@@ -1,9 +1,29 @@
-//  File      : QAD_Config.h
-//  Created   : Tue Sep 04 09:54:37 2001
-//  Author    : Nicolas REJNERI
-//  Project   : SALOME
-//  Module    : SALOMEGUI
-//  Copyright : Open CASCADE 2001
+//  SALOME SALOMEGUI : implementation of desktop and GUI kernel
+//
+//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
+// 
+//  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//
+//
+//
+//  File   : QAD_Config.h
+//  Author : Nicolas REJNERI
+//  Module : SALOME
 //  $Header$
 
 #ifndef QAD_CONFIG_H
@@ -35,11 +55,12 @@ public:
   /** Gets directory of the local configuration file. */
   QDir           getConfigDir() const { return configDir; }
 
-  /** Sets directory of SALOME_ROOT. */
+  /** Sets directory of KERNEL_ROOT. */
   void           setPrgDir(QDir _prgDir) { prgDir=_prgDir; }
-  /** Gets directory of SALOME_ROOT. */
+  /** Gets directory of KERNEL_ROOT. */
   QDir           getPrgDir() const { return prgDir; }
 
+  void           setDefaultConfigDir();
   bool           createConfigFile( bool overwrite=false );
   bool           readConfigFile();