22#include "dtkcore_global.h"
44 return operator /(QString(p));
49 return operator /=(QString(p));
55 m_path = QDir(m_path).absolutePath();
61 return QDir::toNativeSeparators(m_path);
Dtk::Core::DPathBuf cat path friendly and supoort multiplatform.
Definition: dpathbuf.h:27
DPathBuf operator/(const char *p) const
join path with operator / p is subpath
Definition: dpathbuf.h:42
DPathBuf & operator/=(const char *p)
join path to self with operator /= p is subpath to join
Definition: dpathbuf.h:47
DPathBuf & operator/=(const QString &p)
join path to self with operator /= p is subpath to join
Definition: dpathbuf.h:37
QString toString() const
toString export native separators format string.
Definition: dpathbuf.h:59
DPathBuf operator/(const QString &p) const
join path with operator / p is subpath
Definition: dpathbuf.h:32
DPathBuf & join(const QString &p)
join add subpath p to self p is subpath to join
Definition: dpathbuf.h:52