author | harlekin <harlekin> | 2002-06-14 13:30:54 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-14 13:30:54 (UTC) |
commit | 0e719356adabb891fd4123253731012a4f27e03b (patch) (unidiff) | |
tree | 5c4d7184b5683b37747a283ec9995ca0eb6c4503 /core/applets | |
parent | cfe8ddcbe6105eb3fecb13aebdec54731d9a9970 (diff) | |
download | opie-0e719356adabb891fd4123253731012a4f27e03b.zip opie-0e719356adabb891fd4123253731012a4f27e03b.tar.gz opie-0e719356adabb891fd4123253731012a4f27e03b.tar.bz2 |
close
-rw-r--r-- | core/applets/obex/obeximpl.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/core/applets/obex/obeximpl.cc b/core/applets/obex/obeximpl.cc index eb0e67b..7331bba 100644 --- a/core/applets/obex/obeximpl.cc +++ b/core/applets/obex/obeximpl.cc | |||
@@ -127,26 +127,24 @@ void ObexImpl::slotReceivedFile( const QString &fileName ) { | |||
127 | exec = "addressbook"; | 127 | exec = "addressbook"; |
128 | else if ( fileName.right(4) == ".vcs" ) { | 128 | else if ( fileName.right(4) == ".vcs" ) { |
129 | exec = "datebook"; | 129 | exec = "datebook"; |
130 | } | 130 | } |
131 | } // now prompt and then add it | 131 | } // now prompt and then add it |
132 | 132 | ||
133 | m_recvgui->PixmapLabel->setPixmap(lnk.pixmap()); | 133 | m_recvgui->PixmapLabel->setPixmap( lnk.pixmap() ); |
134 | m_recvgui->AppLabel->setText(lnk.name()); | 134 | m_recvgui->AppLabel->setText( "<b>" + exec + "<b>" ); |
135 | m_recvgui->FileLabel->setText(fileName); | 135 | m_recvgui->FileLabel->setText( lnk.name() ); |
136 | m_recvgui->showMaximized(); | 136 | m_recvgui->showMaximized(); |
137 | if( m_recvgui->exec() != -1 ) { | 137 | if( m_recvgui->exec() != -1 ) { |
138 | QCString str= "QPE/Application/"; | 138 | QCString str= "QPE/Application/"; |
139 | str += exec.latin1(); | 139 | str += exec.latin1(); |
140 | qWarning("channel %s", str.data() ); | 140 | qWarning("channel %s", str.data() ); |
141 | QCopEnvelope e(str , "setDocument(QString)" ); | 141 | QCopEnvelope e(str , "setDocument(QString)" ); |
142 | e << fileName; | 142 | e << fileName; |
143 | } | 143 | } |
144 | |||
145 | } | 144 | } |
146 | 145 | ||
147 | 146 | ||
148 | 147 | ||
149 | Q_EXPORT_INTERFACE() | 148 | Q_EXPORT_INTERFACE() { |
150 | { | ||
151 | Q_CREATE_INSTANCE( ObexImpl ) | 149 | Q_CREATE_INSTANCE( ObexImpl ) |
152 | } | 150 | } |