Diffstat (limited to 'noncore/net/opietooth/blue-pin/pindlg.cc') (more/less context) (show 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 @@ -10,4 +10,5 @@ #include <qlabel.h> #include <qlineedit.h> +#include <qpushbutton.h> /* STD */ @@ -33,5 +34,5 @@ PinDlg::PinDlg(QWidget* parent, test( m_mac ); txtStatus->setText(makeTextFromArgs()); - QPEApplication::showDialog( this , true) ; + QPEApplication::showDialog( this , false) ; } } @@ -95,4 +96,12 @@ QString PinDlg::makeMacFromArgs() } +void PinDlg::addnum() +{ + if( sender()->inherits( "QPushButton") ) { + const QPushButton* btn = static_cast<const QPushButton*> (sender()); + lnePin->setText(lnePin->text() + btn->text()); + } +} + void PinDlg::accept() { @@ -108,2 +117,3 @@ void PinDlg::accept() ::exit(0); } + |