aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LuminaXDG.h
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-07-19 18:47:39 +0000
committerWeblate <noreply@weblate.org>2017-07-19 18:47:39 +0000
commit86f6fadf45c2b87749cffac82411d2371448da53 (patch)
treedfc1520b8ae2e59118b8a65d3f9438c1eead6b2c /src-qt5/core/libLumina/LuminaXDG.h
parentAdd en_GB (diff)
parentAnother checkpoint in the compositing saga. Got most of it working, but still... (diff)
downloadlumina-86f6fadf45c2b87749cffac82411d2371448da53.tar.gz
lumina-86f6fadf45c2b87749cffac82411d2371448da53.tar.bz2
lumina-86f6fadf45c2b87749cffac82411d2371448da53.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core/libLumina/LuminaXDG.h')
-rw-r--r--src-qt5/core/libLumina/LuminaXDG.h24
1 files changed, 11 insertions, 13 deletions
diff --git a/src-qt5/core/libLumina/LuminaXDG.h b/src-qt5/core/libLumina/LuminaXDG.h
index d159ef43..cc250c7e 100644
--- a/src-qt5/core/libLumina/LuminaXDG.h
+++ b/src-qt5/core/libLumina/LuminaXDG.h
@@ -12,8 +12,6 @@
// *.desktop Exec Compliance Updated: 9/9/2014
// Mime Application Version Compliance: 1.0.1 (11/14/14) (Skips random *.desktop parsing: ~80% compliant)
//===========================================
-
-
#ifndef _LUMINA_LIBRARY_XDG_H
#define _LUMINA_LIBRARY_XDG_H
@@ -83,7 +81,7 @@ public:
bool saveDesktopFile(bool merge = true); //This will use the "filePath" variable for where to save the file
- bool setAutoStarted(bool autostart = true);
+ bool setAutoStarted(bool autostart = true);
};
// ========================
@@ -127,29 +125,29 @@ private:
XDGDesktop *desk;
void loadExtraInfo();
-
+
public:
//Couple overloaded contructors
LFileInfo();
LFileInfo(QString filepath);
LFileInfo(QFileInfo info);
- ~LFileInfo(){
- desk->deleteLater();
+ ~LFileInfo(){
+ desk->deleteLater();
}
-
+
//Functions for accessing the extra information
// -- Return the mimetype for the file
QString mimetype();
-
+
// -- Return the icon file to use for this file
QString iconfile(); //Note: This string is auto-formatted for use in the LXDG::findIcon() routine.
-
+
// -- Check if this is an XDG desktop file
bool isDesktopFile();
-
+
// -- Allow access to the internal XDG desktop data structure
XDGDesktop* XDG();
-
+
//Other file type identification routines
bool isImage(); //Is a readable image file (for thumbnail support)
bool isAVFile(); //Is an audio/video file
@@ -165,7 +163,7 @@ public:
//static XDGDesktop* loadDesktopFile(QString filepath, bool&ok, QObject *parent = 0);
//static bool saveDesktopFile(XDGDesktop *dFile, bool merge = true);
//Check a *.desktop file for validity (showAll skips the DE-exclusivity checks)
- //static bool checkValidity(XDGDesktop *dFile, bool showAll = true);
+ //static bool checkValidity(XDGDesktop *dFile, bool showAll = true);
//Check for a valid executable
static bool checkExec(QString exec);
//Get a list of all the directories where *.desktop files exist
@@ -210,7 +208,7 @@ public:
static QStringList findAVFileExtensions();
//Load all the "globs2" mime database files
static QStringList loadMimeFileGlobs2();
-
+
//Find all the autostart *.desktop files
static QList<XDGDesktop*> findAutoStartFiles(bool includeInvalid = false);
//static bool setAutoStarted(bool autostart, XDGDesktop *app);
bgstack15