Changeset ff396882d74d14db4d76536997f288a701a55851
- Timestamp:
- 07/03/08 21:34:46
(2 months ago)
- Author:
- Rémi Denis-Courmont <rdenis@simphalempin.com>
- git-committer:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1215113686 +0300
- git-parent:
[e3272bb4f74cd55e727d3835f4098aa24a8ac053]
- git-author:
- Rémi Denis-Courmont <rdenis@simphalempin.com> 1215113686 +0300
- Message:
Qt4: really clear shortcuts - fixes #1666
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r59dec65 |
rff39688 |
|
| 1141 | 1141 | |
|---|
| 1142 | 1142 | CONNECT( clearButton, clicked(), shortcutValue, clear() ); |
|---|
| | 1143 | CONNECT( clearButton, clicked(), this, setTheKey() ); |
|---|
| 1143 | 1144 | BUTTONACT( setButton, setTheKey() ); |
|---|
| 1144 | 1145 | } |
|---|
| r3561b9b |
rff39688 |
|
| 428 | 428 | public: |
|---|
| 429 | 429 | void setValue( int _value ){ value = _value; } |
|---|
| 430 | | int getValue(){ return value; } |
|---|
| | 430 | int getValue() const { return value; } |
|---|
| | 431 | public slots: |
|---|
| | 432 | virtual void clear(void) { value = 0; QLineEdit::clear(); } |
|---|
| 431 | 433 | private: |
|---|
| 432 | 434 | int value; |
|---|