diff options
author | Darrell Anderson <[email protected]> | 2012-06-09 21:42:15 -0500 |
---|---|---|
committer | Darrell Anderson <[email protected]> | 2012-06-09 21:42:15 -0500 |
commit | 1e959a2aeca4499a1b8a79d1793953348638b69f (patch) | |
tree | 9a65f975ce8917d33eab9152a48ab6befadb43b2 /twin/tabbox.h | |
parent | 8d7bb2841842aca2eb69bfd847b8674abfa06425 (diff) | |
download | tdebase-1e959a2aeca4499a1b8a79d1793953348638b69f.tar.gz tdebase-1e959a2aeca4499a1b8a79d1793953348638b69f.zip |
Added Mac-like window switching for one app with keyboard shortcut Alt-~.
This resolves bug report 869.
Thanks to Calvin Morrison.
Diffstat (limited to 'twin/tabbox.h')
-rw-r--r-- | twin/tabbox.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/twin/tabbox.h b/twin/tabbox.h index d77633125..f9e3a8e0f 100644 --- a/twin/tabbox.h +++ b/twin/tabbox.h @@ -35,13 +35,15 @@ class TabBox : public TQFrame Client* currentClient(); void setCurrentClient( Client* c ); int currentDesktop(); - + // DesktopMode and WindowsMode are based on the order in which the desktop // or window were viewed. // DesktopListMode lists them in the order created. enum Mode { DesktopMode, DesktopListMode, WindowsMode }; void setMode( Mode mode ); + void setAppsOnly( bool a ); Mode mode() const; + bool isAppsOnly() const; void reset(); void nextPrev( bool next = TRUE); @@ -72,6 +74,7 @@ class TabBox : public TQFrame int desk; int lineHeight; bool showMiniIcon; + bool appsOnly; TQTimer delayedShowTimer; TQString no_tasks; bool options_traverse_all; @@ -97,6 +100,17 @@ inline TabBox::Mode TabBox::mode() const return m; } +/*! + Returns the appsOnly variable + + \sa setAppsOnly() + */ +inline bool TabBox::isAppsOnly() const + { + return appsOnly; + } + + } // namespace #endif |