author | harlekin <harlekin> | 2003-03-26 18:23:22 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-26 18:23:22 (UTC) |
commit | 88a93db37e001dc02f9edddf81919266fde0173c (patch) (unidiff) | |
tree | 337a5b57f3aeb600258f992b261e24bae145519b | |
parent | 86f5b1b916949da47d23549ffcff68e039d38ebb (diff) | |
download | opie-88a93db37e001dc02f9edddf81919266fde0173c.zip opie-88a93db37e001dc02f9edddf81919266fde0173c.tar.gz opie-88a93db37e001dc02f9edddf81919266fde0173c.tar.bz2 |
nicer icon for search
-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 | |||
@@ -264,32 +264,32 @@ QString DeviceItem::name()const { | |||
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 | } |