fixed StandardPaths commit lag
This commit is contained in:
parent
b3dab17229
commit
96c6d5072d
1 changed files with 11 additions and 6 deletions
|
@ -15,14 +15,19 @@
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#ifndef STANDARDPATHS_H
|
#ifndef STANDARDPATHS_H
|
||||||
#define STANDARDPATHS_H
|
#define STANDARDPATHS_H
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QString>
|
||||||
#if QT_VERSION >= 0x050000
|
|
||||||
#include "StandardPaths5.h"
|
class StandardPaths
|
||||||
#else
|
{
|
||||||
#include "StandardPaths4.h"
|
public:
|
||||||
#endif
|
StandardPaths();
|
||||||
|
static QString dataLocation();
|
||||||
|
static QString desktopLocation();
|
||||||
|
static QString documentsLocation();
|
||||||
|
};
|
||||||
|
|
||||||
#endif // STANDARDPATHS_H
|
#endif // STANDARDPATHS_H
|
||||||
|
|
Loading…
Reference in a new issue