LeechCraft 0.6.70-17609-g3dde4097dd
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 <QStringList>
12#include "xdgconfig.h"
13
14namespace LC::Util::XDG
15{
19 enum class Type
20 {
24
28
32
36 };
37
46 UTIL_XDG_API QStringList ToPaths (const QList<Type>& types);
47}
Type
Describes the various types of XDG .desktop files.
Definition itemtypes.h:20
@ Dir
A shortcut to a directory.
Definition itemtypes.h:35
@ Other
Unknown type.
Definition itemtypes.h:23
@ Application
A shortcut to an application.
Definition itemtypes.h:27
@ URL
A shortcut to an URL.
Definition itemtypes.h:31
QStringList ToPaths(const QList< Type > &types)
Returns a set of typical directories with desktop files of the given types.
Definition itemtypes.cpp:60
#define UTIL_XDG_API
Definition xdgconfig.h:16