summaryrefslogtreecommitdiff
path: root/src/executableslist.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-10-10 06:12:07 -0400
committerGitHub <noreply@github.com>2019-10-10 06:12:07 -0400
commit168fc950f9b15ce89084316d96a1f613a12e3013 (patch)
tree73b1eb1afd04830e65c25060f1ce4763db98b642 /src/executableslist.h
parent0f5ecb8b78b86f309be3ef1902dbf4ee51738fc4 (diff)
parent4d3495b3fb00b644c57e773bbcdbfb2eee7c0ea6 (diff)
Merge pull request #863 from isanae/executables-fixes
Executables fixes
Diffstat (limited to 'src/executableslist.h')
-rw-r--r--src/executableslist.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/executableslist.h b/src/executableslist.h
index 23cf3cfe..a18042db 100644
--- a/src/executableslist.h
+++ b/src/executableslist.h
@@ -39,8 +39,9 @@ class Executable
public:
enum Flag
{
- ShowInToolbar = 0x02,
- UseApplicationIcon = 0x04
+ ShowInToolbar = 0x02,
+ UseApplicationIcon = 0x04,
+ Hide = 0x08
};
Q_DECLARE_FLAGS(Flags, Flag);
@@ -69,6 +70,7 @@ public:
bool isShownOnToolbar() const;
void setShownOnToolbar(bool state);
bool usesOwnIcon() const;
+ bool hide() const;
void mergeFrom(const Executable& other);