aboutsummaryrefslogtreecommitdiff
path: root/src/ButtonTheme.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-04-29 08:52:28 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-05-10 11:00:45 (GMT)
commitf7d7dfd2a8047207dbe90bc77592c25acf4ca15c (patch)
tree46eb8596d15fb0450f07e3e5d58e2c5449c4c020 /src/ButtonTheme.hh
parent54230c9a4474baf4f1c56773992212093e222349 (diff)
downloadfluxbox-f7d7dfd2a8047207dbe90bc77592c25acf4ca15c.zip
fluxbox-f7d7dfd2a8047207dbe90bc77592c25acf4ca15c.tar.bz2
Convert FbTk::Theme::reconfigSig and friends to the new Signal system
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const methods anyway.
Diffstat (limited to 'src/ButtonTheme.hh')
-rw-r--r--src/ButtonTheme.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ButtonTheme.hh b/src/ButtonTheme.hh
index 95a4e32..77cc159 100644
--- a/src/ButtonTheme.hh
+++ b/src/ButtonTheme.hh
@@ -43,8 +43,7 @@ public:
43 int scale() const { return *m_scale; } // scale factor for inside objects 43 int scale() const { return *m_scale; } // scale factor for inside objects
44 const std::string &name() { return m_name; } 44 const std::string &name() { return m_name; }
45 45
46 virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); } 46 virtual FbTk::Signal<void> &reconfigSig() { return FbTk::Theme::reconfigSig(); }
47 virtual const FbTk::Subject &reconfigSig() const { return FbTk::Theme::reconfigSig(); }
48 47
49 virtual ButtonTheme &operator *() { return *this; } 48 virtual ButtonTheme &operator *() { return *this; }
50 virtual const ButtonTheme &operator *() const { return *this; } 49 virtual const ButtonTheme &operator *() const { return *this; }