summaryrefslogtreecommitdiff
path: root/src/frontend/displaywindow/bttoolbarpopupaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/displaywindow/bttoolbarpopupaction.cpp')
-rw-r--r--src/frontend/displaywindow/bttoolbarpopupaction.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/frontend/displaywindow/bttoolbarpopupaction.cpp b/src/frontend/displaywindow/bttoolbarpopupaction.cpp
index 49b145e..1a5593b 100644
--- a/src/frontend/displaywindow/bttoolbarpopupaction.cpp
+++ b/src/frontend/displaywindow/bttoolbarpopupaction.cpp
@@ -2,7 +2,7 @@
*
* This file is part of BibleTime's source code, http://www.bibletime.info/.
*
-* Copyright 1999-2009 by the BibleTime developers.
+* Copyright 1999-2011 by the BibleTime developers.
* The BibleTime source code is licensed under the GNU General Public License version 2.0.
*
**********/
@@ -15,15 +15,18 @@
#include <QToolButton>
-class BtToolButton : public QToolButton {
+namespace {
+
+class BtToolButton: public QToolButton {
public:
- BtToolButton(QWidget* parent = 0) : QToolButton(parent) {
- }
+ inline BtToolButton(QWidget *parent = 0)
+ : QToolButton(parent) {}
private:
- void nextCheckState() {
- }
+ virtual inline void nextCheckState() {}
};
+} // anonymous namespace
+
// This class provides a toolbar widget that has a icon plus a right side down arrow
// The icon is typically set to a back or forward arrow and the down arrow has a popup