Qx v0.5.8
Qt Extensions Library
Loading...
Searching...
No Matches
qx-linkdesktopentry.h
1#ifndef QX_LINK_DESKTOP_ENTRY_H
2#define QX_LINK_DESKTOP_ENTRY_H
3
4// Shared Lib Support
5#include "qx/linux/qx_linux_export.h"
6
7// Intra-component Includes
8#include "qx/linux/qx-desktopentry.h"
9
10namespace Qx
11{
12
13class QX_LINUX_EXPORT LinkDesktopEntry : public DesktopEntry
14{
15//-Class Members-------------------------------------------------------------------------------------------------
16private:
17 static inline const QString TYPE = u"Link"_s;
18 static inline const QString EXTENSION = u"desktop"_s;
19
20//-Instance Members-------------------------------------------------------------------------------------------------
21private:
22 QUrl mUrl;
23
24//-Constructor-------------------------------------------------------------------------------------------------------
25public:
27
28//-Instance Functions----------------------------------------------------------------------------------------------
29public:
30 QString type() const override;
31 QString extension() const override;
32 QString toString() const override;
33
34 QUrl url();
35
36 void setUrl(const QUrl& url);
37};
38
39}
40
41#endif // QX_LINK_DESKTOP_ENTRY_H
The DesktopEntry class provides the base functionality common to all Linux desktop entry files.
Definition qx-desktopentry.h:23
The LinkDesktopEntry class represents the a Link type desktop entry.
Definition qx-linkdesktopentry.h:14
The Qx namespace is the main namespace through which all non-global functionality of the Qx library i...
Definition qx-processwaiter.cpp:5