Engauge Digitizer
2
Loading...
Searching...
No Matches
util
UrlDirty.cpp
Go to the documentation of this file.
1
/******************************************************************************************************
2
* (C) 2021 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3
* under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4
* LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5
******************************************************************************************************/
6
7
#include "
UrlDirty.h
"
8
9
UrlDirty::UrlDirty
()
10
{
11
}
12
13
UrlDirty::UrlDirty
(
const
QUrl &other) :
14
QUrl (other)
15
{
16
}
17
18
QString
UrlDirty::toLocalFile
()
const
19
{
20
QString dirty = QUrl::toLocalFile ();
21
return
dirty.replace (
"\r"
,
""
).replace (
"\n"
,
""
);
22
}
UrlDirty.h
UrlDirty::toLocalFile
QString toLocalFile() const
Override method to get string value to remove trailing whitepace.
Definition
UrlDirty.cpp:18
UrlDirty::UrlDirty
UrlDirty()
Default constructor.
Definition
UrlDirty.cpp:9
Generated on
for Engauge Digitizer by
1.14.0