Source code for prettyqt.core.dir

# -*- coding: utf-8 -*-
"""
@author: Philipp Temminghoff
"""

import pathlib

from qtpy import QtCore


[docs]class Dir(QtCore.QDir): def __str__(self): return self.absolutePath() def to_path(self): return pathlib.Path(self.absolutePath())