aboutsummaryrefslogtreecommitdiff
path: root/src/ToolTheme.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/ToolTheme.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/ToolTheme.hh')
-rw-r--r--src/ToolTheme.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ToolTheme.hh b/src/ToolTheme.hh
index 693aac6..8daad7d 100644
--- a/src/ToolTheme.hh
+++ b/src/ToolTheme.hh
@@ -23,7 +23,6 @@
23#ifndef TOOLTHEME_HH 23#ifndef TOOLTHEME_HH
24#define TOOLTHEME_HH 24#define TOOLTHEME_HH
25 25
26
27#include "FbTk/TextTheme.hh" 26#include "FbTk/TextTheme.hh"
28#include "FbTk/BorderTheme.hh" 27#include "FbTk/BorderTheme.hh"
29#include "FbTk/Texture.hh" 28#include "FbTk/Texture.hh"
@@ -44,8 +43,7 @@ public:
44 int alpha() const { return m_alpha; } 43 int alpha() const { return m_alpha; }
45 void setAlpha(int alpha) { m_alpha = alpha; } 44 void setAlpha(int alpha) { m_alpha = alpha; }
46 45
47 virtual FbTk::Subject &reconfigSig() { return FbTk::Theme::reconfigSig(); } 46 virtual FbTk::Signal<void> &reconfigSig() { return FbTk::Theme::reconfigSig(); }
48 virtual const FbTk::Subject &reconfigSig() const { return FbTk::Theme::reconfigSig(); }
49 47
50 virtual ToolTheme &operator *() { return *this; } 48 virtual ToolTheme &operator *() { return *this; }
51 virtual const ToolTheme &operator *() const { return *this; } 49 virtual const ToolTheme &operator *() const { return *this; }