summaryrefslogtreecommitdiffstats
path: root/kicker/applets/minipager/pagerapplet.h
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-03-31 17:16:39 -0500
committerDarrell Anderson <[email protected]>2012-03-31 17:16:39 -0500
commit7527d160b979ee6a88c87b6e82f756965cf86501 (patch)
treef2545b19e636167db6220056542d968d27966399 /kicker/applets/minipager/pagerapplet.h
parent58a37572856e2f612227f569662d06023658507a (diff)
downloadtdebase-7527d160b979ee6a88c87b6e82f756965cf86501.tar.gz
tdebase-7527d160b979ee6a88c87b6e82f756965cf86501.zip
Add option to control pager applet cycling with the mouse wheel.
This resolves bug report 908. Thanks to Calvin Morrison for the patch!
Diffstat (limited to 'kicker/applets/minipager/pagerapplet.h')
-rw-r--r--kicker/applets/minipager/pagerapplet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kicker/applets/minipager/pagerapplet.h b/kicker/applets/minipager/pagerapplet.h
index 02f72198e..9aa370016 100644
--- a/kicker/applets/minipager/pagerapplet.h
+++ b/kicker/applets/minipager/pagerapplet.h
@@ -64,15 +64,17 @@ public:
void setActive( WId active ) { m_activeWindow = active; }
WId activeWindow() { return m_activeWindow; }
- enum ConfigOptions { LaunchExtPager = 96, WindowThumbnails,
+ enum ConfigOptions { LaunchExtPager = 96, WindowThumbnails, Cycle,
WindowIcons, ConfigureDesktops, RenameDesktop };
int labelType() const { return m_settings->labelType(); }
int bgType() const { return m_settings->backgroundType(); }
bool desktopPreview() const { return m_settings->preview(); }
+ bool cycleWindow() const { return m_settings->cycle(); }
bool windowIcons() const { return m_settings->icons(); }
+
Orientation orientation() const { return KPanelApplet::orientation(); }
Direction popupDirection() { return KPanelApplet::popupDirection(); }