author | harlekin <harlekin> | 2002-06-14 12:55:56 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-14 12:55:56 (UTC) |
commit | cfe8ddcbe6105eb3fecb13aebdec54731d9a9970 (patch) (unidiff) | |
tree | 85ce16c14ecc4f5b9017b3e978517526510531ac /core/applets/obex/obeximpl.cc | |
parent | 21742ad6d7b1b4d1bc00ca5025a4134d080924c1 (diff) | |
download | opie-cfe8ddcbe6105eb3fecb13aebdec54731d9a9970.zip opie-cfe8ddcbe6105eb3fecb13aebdec54731d9a9970.tar.gz opie-cfe8ddcbe6105eb3fecb13aebdec54731d9a9970.tar.bz2 |
got a bit further, dialog still not behaving right
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() |