LeechCraft
0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
Namespaces
|
Functions
util.h File Reference
#include "
utilconfig.h
"
#include <QString>
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces
namespace
LC
namespace
LC::Util
Functions
QString
LC::Util::GetAsBase64Src
(
const
QImage
&
image
)
Returns the given image in a Base64-encoded form.
QString
LC::Util::MakePrettySize
(
qint64
sourceSize
)
Makes a formatted size from number.
QString
LC::Util::MakePrettySizeShort
(
qint64
size)
Converts a bytes count to a string representation with appropriately chosen units.
QString
LC::Util::MakeTimeFromLong
(
ulong
time
)
Makes a formatted time from number.
QTranslator
*
LC::Util::LoadTranslator
(
const
QString
&
baseName
,
const
QString
&
localeName
,
const
QString
&
prefix
,
const
QString
&
appName
)
QTranslator
*
LC::Util::InstallTranslator
(
const
QString
&
base
,
const
QString
&
prefix
=
LCLowercase
,
const
QString
&
appname
=
LCLowercase
)
Loads and installs a translator.
QString
LC::Util::GetLocaleName
()
Returns the current locale name, like en_US.
QString
LC::Util::GetInternetLocaleName
(
const
QLocale
&
locale
)
QString
LC::Util::GetLanguage
()
Returns the current language name.
QModelIndexList
LC::Util::GetSummarySelectedRows
(QObject *
sender
)
QAction
*
LC::Util::CreateSeparator
(QObject *parent)
Returns the action that is set to act as a separator.
src
util
util.h
Generated by
1.10.0