-rw-r--r-- | core/applets/obex/obeximpl.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/core/applets/obex/obeximpl.cc b/core/applets/obex/obeximpl.cc index da47e5b..eb0e67b 100644 --- a/core/applets/obex/obeximpl.cc +++ b/core/applets/obex/obeximpl.cc @@ -29,2 +29,6 @@ ObexImpl::ObexImpl( ) this, SLOT(slotReceivedFile(const QString& ) ) ); + connect((QObject*) m_recvgui->InsertButton, SIGNAL(clicked()), + m_recvgui, SLOT( accept() )); + connect((QObject*) m_recvgui->RejectButton, SIGNAL(clicked()), + m_recvgui, SLOT( reject() )); } @@ -35,2 +39,3 @@ ObexImpl::~ObexImpl() { delete m_sendgui; + delete m_recvgui; } @@ -131,3 +136,3 @@ void ObexImpl::slotReceivedFile( const QString &fileName ) { m_recvgui->showMaximized(); - + if( m_recvgui->exec() != -1 ) { QCString str= "QPE/Application/"; @@ -137,2 +142,3 @@ void ObexImpl::slotReceivedFile( const QString &fileName ) { e << fileName; + } @@ -141,2 +147,3 @@ void ObexImpl::slotReceivedFile( const QString &fileName ) { + Q_EXPORT_INTERFACE() |