aboutsummaryrefslogtreecommitdiff
path: root/src/qt/qvaluecombobox.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-01-23 21:51:02 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-03-17 18:28:00 +0100
commit32af5266cfc604a32ed90b6099f8b2fb308d6c15 (patch)
tree29624cf171b29d8f6970366617470f5d6a33cb5a /src/qt/qvaluecombobox.h
parent1a9ee5da327d8079a297ad292a1c16745b75df91 (diff)
downloadbitcoin-32af5266cfc604a32ed90b6099f8b2fb308d6c15.tar.xz
Bitcoin-Qt: massive header and cpp cleanup
- try to enforce the same style to all Qt related files - remove unneeded includes from the files - add missing Q_OBJECT, QT_BEGIN_NAMESPACE / QT_END_NAMESPACE - prepares for a pull-req to include Qt5 compatibility
Diffstat (limited to 'src/qt/qvaluecombobox.h')
-rw-r--r--src/qt/qvaluecombobox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/qvaluecombobox.h b/src/qt/qvaluecombobox.h
index 1a47bb6565..64a7da9df5 100644
--- a/src/qt/qvaluecombobox.h
+++ b/src/qt/qvaluecombobox.h
@@ -8,7 +8,9 @@
class QValueComboBox : public QComboBox
{
Q_OBJECT
+
Q_PROPERTY(QVariant value READ value WRITE setValue NOTIFY valueChanged USER true)
+
public:
explicit QValueComboBox(QWidget *parent = 0);
@@ -21,8 +23,6 @@ public:
signals:
void valueChanged();
-public slots:
-
private:
int role;