diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-03-26 15:10:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-03-26 15:10:12 +0900 |
commit | 88fbf7e81a6ab317262bd97875a0296f59287586 (patch) | |
tree | 0effe4e64f5cdf3c0aa42e8ca8096cca8b6ddc89 /src/customtraylabel.h | |
parent | 5c2a45303ead893a78c69ddbef21d5acedf654ff (diff) | |
download | tdedocker-88fbf7e81a6ab317262bd97875a0296f59287586.tar.gz tdedocker-88fbf7e81a6ab317262bd97875a0296f59287586.zip |
1) Additional work on tq app -> tde app translation.
2) Make sure to exit app after restore if no app window can be grabbed
3) Save state only for known applications (app with empty name will not
be saved and restored)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/customtraylabel.h')
-rw-r--r-- | src/customtraylabel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/customtraylabel.h b/src/customtraylabel.h index c022ec4..244ebc2 100644 --- a/src/customtraylabel.h +++ b/src/customtraylabel.h @@ -43,7 +43,7 @@ public: CustomTrayLabel(const TQStringList& argv, pid_t pid, TQWidget* parent = 0); // Session management - void saveState(TDEConfig *config); + bool saveState(TDEConfig *config); bool restoreState(TDEConfig *config); bool isDockWhenObscured(void) const { return mDockWhenObscured->isOn(); } @@ -57,7 +57,7 @@ public slots: void setSkipTaskbar(bool skip); void setDockWhenObscured(bool dock) { mDockWhenObscured->setOn(dock); } - void enableSessionManagement(bool sm) { mSessionManagement->setOn(sm); } + void enableSessionManagement(bool sm); protected: void dropEvent(TQDropEvent *ev); |