aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/src-cpp/plugins-base.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-01-08 14:19:58 -0500
committerKen Moore <ken@ixsystems.com>2018-01-08 14:19:58 -0500
commit9fe1845f0e2d75dc8a6d3d49fac6780b394b0067 (patch)
tree606fbe23fe8d0cd7311b4fe6910f5136dc9bccc8 /src-qt5/src-cpp/plugins-base.h
parentChanged color and removed comments from Matrix screensaver (diff)
downloadlumina-9fe1845f0e2d75dc8a6d3d49fac6780b394b0067.tar.gz
lumina-9fe1845f0e2d75dc8a6d3d49fac6780b394b0067.tar.bz2
lumina-9fe1845f0e2d75dc8a6d3d49fac6780b394b0067.zip
Another large update to Lumina 2:
Starting to hook up the new QML window frame with the C++ backend.
Diffstat (limited to 'src-qt5/src-cpp/plugins-base.h')
-rw-r--r--src-qt5/src-cpp/plugins-base.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src-qt5/src-cpp/plugins-base.h b/src-qt5/src-cpp/plugins-base.h
index 26b0eacc..eb54e40d 100644
--- a/src-qt5/src-cpp/plugins-base.h
+++ b/src-qt5/src-cpp/plugins-base.h
@@ -35,12 +35,12 @@ public:
virtual void loadFile(QString path);
bool isLoaded() { return !data.isEmpty(); };
- bool containsDefault(QString obj) { return data.value(obj).toObject().contains("default"); }
+ bool containsDefault(QString obj) { return data.value(obj).toObject().contains("default"); }
/**
* Check if the plugin is valid as long as the JSON is not empty,
* it contains at least a "name", "qml", and "description" object,
- * and the "name" and "description" objects contain a "default" key.
+ * and the "name" and "description" objects contain a "default" key.
**/
virtual bool isValid() = 0;
@@ -48,7 +48,7 @@ public:
virtual QUrl scriptURL();
QJsonObject data; //Hazardous to manually modify
- QString relDir;
+ QString relDir;
};
class PluginSystem{
bgstack15