X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Tools.h;h=e64e324e29e570252a854d97b91637d5678f83e8;hb=423f6b0a08a86d5e47115b87603cddeae4468b49;hp=a8d51f2d505745c77f0074bbd656050d32c254ac;hpb=c73d50cdc61da28c83cc07c5d3c8636aa14bfbb0;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Tools.h b/src/XGUI/XGUI_Tools.h index a8d51f2d5..e64e324e2 100644 --- a/src/XGUI/XGUI_Tools.h +++ b/src/XGUI/XGUI_Tools.h @@ -19,21 +19,19 @@ class ModuleBase_IWorkshop; /*! \ingroup GUI + \brief Commonly used methods in XGUI package and higher. + */ +namespace XGUI_Tools { + +/** \brief Return directory part of the file path. If the file path does not include directory part (the file is in the current directory), null string is returned. \param path file path - \param abs if true (default) \a path parameter is treated as absolute file path + \param isAbs if true (default) \a path parameter is treated as absolute file path \return directory part of the file path - */ -namespace XGUI_Tools { - -/** -* Returns directory name from name of file -* \param path a path to a file -* \param isAbs is absolute or relative path */ QString XGUI_EXPORT dir(const QString& path, bool isAbs = true);