Diffstat (limited to 'noncore/net/opietooth/blue-pin/pindlg.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/blue-pin/pindlg.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/noncore/net/opietooth/blue-pin/pindlg.cc b/noncore/net/opietooth/blue-pin/pindlg.cc index e40fe33..3db6095 100644 --- a/noncore/net/opietooth/blue-pin/pindlg.cc +++ b/noncore/net/opietooth/blue-pin/pindlg.cc | |||
@@ -11,2 +11,3 @@ | |||
11 | #include <qlineedit.h> | 11 | #include <qlineedit.h> |
12 | #include <qpushbutton.h> | ||
12 | 13 | ||
@@ -34,3 +35,3 @@ PinDlg::PinDlg(QWidget* parent, | |||
34 | txtStatus->setText(makeTextFromArgs()); | 35 | txtStatus->setText(makeTextFromArgs()); |
35 | QPEApplication::showDialog( this , true) ; | 36 | QPEApplication::showDialog( this , false) ; |
36 | } | 37 | } |
@@ -96,2 +97,10 @@ QString PinDlg::makeMacFromArgs() | |||
96 | 97 | ||
98 | void PinDlg::addnum() | ||
99 | { | ||
100 | if( sender()->inherits( "QPushButton") ) { | ||
101 | const QPushButton* btn = static_cast<const QPushButton*> (sender()); | ||
102 | lnePin->setText(lnePin->text() + btn->text()); | ||
103 | } | ||
104 | } | ||
105 | |||
97 | void PinDlg::accept() | 106 | void PinDlg::accept() |
@@ -109 +118,2 @@ void PinDlg::accept() | |||
109 | } | 118 | } |
119 | |||