-rw-r--r-- | core/obex/obexsend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/obex/obexsend.cpp b/core/obex/obexsend.cpp index 1b19c6b..2931cf7 100644 --- a/core/obex/obexsend.cpp +++ b/core/obex/obexsend.cpp | |||
@@ -256,40 +256,40 @@ DeviceItem::DeviceItem( const QString& name, | |||
256 | m_id = id; | 256 | m_id = id; |
257 | } | 257 | } |
258 | int DeviceItem::id()const { | 258 | int DeviceItem::id()const { |
259 | return m_id; | 259 | return m_id; |
260 | } | 260 | } |
261 | QString DeviceItem::name()const { | 261 | QString DeviceItem::name()const { |
262 | return m_name; | 262 | return m_name; |
263 | } | 263 | } |
264 | QString DeviceItem::status()const { | 264 | QString DeviceItem::status()const { |
265 | return m_status; | 265 | return m_status; |
266 | } | 266 | } |
267 | int DeviceItem::device()const { | 267 | int DeviceItem::device()const { |
268 | return m_dev; | 268 | return m_dev; |
269 | } | 269 | } |
270 | QString DeviceItem::pixmap()const{ | 270 | QString DeviceItem::pixmap()const{ |
271 | QString str; | 271 | QString str; |
272 | switch(m_dev) { | 272 | switch(m_dev) { |
273 | case DeviceBox::IrDa: | 273 | case DeviceBox::IrDa: |
274 | str ="obex/irda"; | 274 | str ="obex/irda"; |
275 | break; | 275 | break; |
276 | case DeviceBox::BT: | 276 | case DeviceBox::BT: |
277 | str ="obex/bt"; | 277 | str ="obex/bt"; |
278 | break; | 278 | break; |
279 | case DeviceBox::Search: | 279 | case DeviceBox::Search: |
280 | str = "obex/search"; | 280 | str = "mag"; |
281 | break; | 281 | break; |
282 | case DeviceBox::Error: | 282 | case DeviceBox::Error: |
283 | str = "editdelete"; | 283 | str = "editdelete"; |
284 | break; | 284 | break; |
285 | }; | 285 | }; |
286 | return str; | 286 | return str; |
287 | } | 287 | } |
288 | DeviceItem::~DeviceItem() { | 288 | DeviceItem::~DeviceItem() { |
289 | } | 289 | } |
290 | void DeviceItem::setStatus(const QString& status ) { | 290 | void DeviceItem::setStatus(const QString& status ) { |
291 | m_status = status; | 291 | m_status = status; |
292 | } | 292 | } |
293 | QString DeviceItem::toString()const { | 293 | QString DeviceItem::toString()const { |
294 | return "<p><a href=\""+QString::number(m_id) +"\" ><img src=\""+pixmap()+"\" >"+m_name+" "+m_status+" </a></p>" ; | 294 | return "<p><a href=\""+QString::number(m_id) +"\" ><img src=\""+pixmap()+"\" >"+m_name+" "+m_status+" </a></p>" ; |
295 | } | 295 | } |