Diffstat (limited to 'core/applets/obex/obeximpl.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/obex/obeximpl.cc | 19 |
1 files changed, 13 insertions, 6 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( ) | |||
29 | this, SLOT(slotReceivedFile(const QString& ) ) ); | 29 | this, SLOT(slotReceivedFile(const QString& ) ) ); |
30 | connect((QObject*) m_recvgui->InsertButton, SIGNAL(clicked()), | ||
31 | m_recvgui, SLOT( accept() )); | ||
32 | connect((QObject*) m_recvgui->RejectButton, SIGNAL(clicked()), | ||
33 | m_recvgui, SLOT( reject() )); | ||
30 | } | 34 | } |
@@ -35,2 +39,3 @@ ObexImpl::~ObexImpl() { | |||
35 | delete m_sendgui; | 39 | delete m_sendgui; |
40 | delete m_recvgui; | ||
36 | } | 41 | } |
@@ -131,8 +136,9 @@ void ObexImpl::slotReceivedFile( const QString &fileName ) { | |||
131 | m_recvgui->showMaximized(); | 136 | m_recvgui->showMaximized(); |
132 | 137 | if( m_recvgui->exec() != -1 ) { | |
133 | QCString str= "QPE/Application/"; | 138 | QCString str= "QPE/Application/"; |
134 | str += exec.latin1(); | 139 | str += exec.latin1(); |
135 | qWarning("channel %s", str.data() ); | 140 | qWarning("channel %s", str.data() ); |
136 | QCopEnvelope e(str , "setDocument(QString)" ); | 141 | QCopEnvelope e(str , "setDocument(QString)" ); |
137 | e << fileName; | 142 | e << fileName; |
143 | } | ||
138 | 144 | ||
@@ -141,2 +147,3 @@ void ObexImpl::slotReceivedFile( const QString &fileName ) { | |||
141 | 147 | ||
148 | |||
142 | Q_EXPORT_INTERFACE() | 149 | Q_EXPORT_INTERFACE() |