File indexing completed on 2024-03-24 17:23:03

0001 // SPDX-FileCopyrightText: 2020 Simon Persson <simon.persson@mykolab.com>
0002 //
0003 // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0004 
0005 #ifndef KUPUTILS_H
0006 #define KUPUTILS_H
0007 
0008 class QString;
0009 
0010 void ensureTrailingSlash(QString &pPath);
0011 
0012 void ensureNoTrailingSlash(QString &pPath);
0013 
0014 QString lastPartOfPath(const QString &pPath);
0015 
0016 #endif // KUPUTILS_H