summaryrefslogtreecommitdiff
path: root/src/executableslist.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-10-08 23:03:45 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-10-08 23:03:45 -0400
commit21f55da7d3688eafc9e2dbae4535cf0c554be121 (patch)
tree5c2fe0e164d957d190fa2fb294d9d5557aff3442 /src/executableslist.h
parentde48d430eca4042f48be461fe5dc70d7e75d5596 (diff)
added hide flag to executables
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);