21 #ifndef __ctkScopedCurrentDir_h
22 #define __ctkScopedCurrentDir_h
25 #include <QScopedPointer>
28 #include "ctkCoreExport.h"
30 class ctkScopedCurrentDirPrivate;
59 QScopedPointer<ctkScopedCurrentDirPrivate>
d_ptr;
Use this class to change the current application directory in a given scope and automatically restore...
ctkScopedCurrentDir(const QString &path)
QString currentPath() const
QString savedCurrentPath() const
Return saved current path.
virtual ~ctkScopedCurrentDir()
QScopedPointer< ctkScopedCurrentDirPrivate > d_ptr