aboutsummaryrefslogtreecommitdiff
path: root/src/ToolTheme.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-05-03 10:49:05 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-05-10 11:00:45 (GMT)
commit0775350fee345e37fb59835dda4d85664346b606 (patch)
tree390af82593f92e11033ca2a2590a5ec7b7a3d14c /src/ToolTheme.hh
parentbef2039d2c5a31ab9f974059d991557276647af1 (diff)
downloadfluxbox_pavel-0775350fee345e37fb59835dda4d85664346b606.zip
fluxbox_pavel-0775350fee345e37fb59835dda4d85664346b606.tar.bz2
Last round of simplification of Signal/Slot classes
- merged all the common stuff from 0,1,2,3 argument versions into one common base class - removed ReturnType template parameter as it was instantiated with "void" everywhere and the current ignores the return value of the callbacks anyway
Diffstat (limited to 'src/ToolTheme.hh')
-rw-r--r--src/ToolTheme.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ToolTheme.hh b/src/ToolTheme.hh
index 8daad7d..5c2352d 100644
--- a/src/ToolTheme.hh
+++ b/src/ToolTheme.hh
@@ -43,7 +43,7 @@ public:
43 int alpha() const { return m_alpha; } 43 int alpha() const { return m_alpha; }
44 void setAlpha(int alpha) { m_alpha = alpha; } 44 void setAlpha(int alpha) { m_alpha = alpha; }
45 45
46 virtual FbTk::Signal<void> &reconfigSig() { return FbTk::Theme::reconfigSig(); } 46 virtual FbTk::Signal<> &reconfigSig() { return FbTk::Theme::reconfigSig(); }
47 47
48 virtual ToolTheme &operator *() { return *this; } 48 virtual ToolTheme &operator *() { return *this; }
49 virtual const ToolTheme &operator *() const { return *this; } 49 virtual const ToolTheme &operator *() const { return *this; }