LeechCraft
0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
itemtypes.h
Go to the documentation of this file.
1
/**********************************************************************
2
* LeechCraft - modular cross-platform feature rich internet client.
3
* Copyright (C) 2006-2014 Georg Rudoy
4
*
5
* Distributed under the Boost Software License, Version 1.0.
6
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7
**********************************************************************/
8
9
#pragma once
10
11
#include "
xdgconfig.h
"
12
13
template
<
typename
T>
14
class
QList
;
15
16
class
QStringList;
17
18
namespace
LC::Util::XDG
19
{
23
enum class
Type
24
{
27
Other
,
28
31
Application
,
32
35
URL
,
36
39
Dir
40
};
41
50
UTIL_XDG_API
QStringList
ToPaths
(
const
QList<Type>
& types);
51
}
QList
Definition
ianrulesstorage.h:14
LC::Util::XDG
Definition
desktopparser.cpp:16
LC::Util::XDG::Type
Type
Describes the various types of XDG .desktop files.
Definition
itemtypes.h:24
LC::Util::XDG::Type::Dir
@ Dir
A shortcut to a directory.
Definition
itemtypes.h:39
LC::Util::XDG::Type::Other
@ Other
Unknown type.
Definition
itemtypes.h:27
LC::Util::XDG::Type::Application
@ Application
A shortcut to an application.
Definition
itemtypes.h:31
LC::Util::XDG::Type::URL
@ URL
A shortcut to an URL.
Definition
itemtypes.h:35
LC::Util::XDG::ToPaths
QStringList ToPaths(const QList< Type > &types)
Returns a set of typical directories with desktop files of the given types.
Definition
itemtypes.cpp:60
xdgconfig.h
UTIL_XDG_API
#define UTIL_XDG_API
Definition
xdgconfig.h:16
src
util
xdg
itemtypes.h
Generated by
1.13.2