summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-03-26 18:23:22 (UTC)
committer harlekin <harlekin>2003-03-26 18:23:22 (UTC)
commit88a93db37e001dc02f9edddf81919266fde0173c (patch) (unidiff)
tree337a5b57f3aeb600258f992b261e24bae145519b
parent86f5b1b916949da47d23549ffcff68e039d38ebb (diff)
downloadopie-88a93db37e001dc02f9edddf81919266fde0173c.zip
opie-88a93db37e001dc02f9edddf81919266fde0173c.tar.gz
opie-88a93db37e001dc02f9edddf81919266fde0173c.tar.bz2
nicer icon for search
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/obex/obexsend.cpp2
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 {
264QString DeviceItem::status()const { 264QString DeviceItem::status()const {
265 return m_status; 265 return m_status;
266} 266}
267int DeviceItem::device()const { 267int DeviceItem::device()const {
268 return m_dev; 268 return m_dev;
269} 269}
270QString DeviceItem::pixmap()const{ 270QString 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}
288DeviceItem::~DeviceItem() { 288DeviceItem::~DeviceItem() {
289} 289}
290void DeviceItem::setStatus(const QString& status ) { 290void DeviceItem::setStatus(const QString& status ) {
291 m_status = status; 291 m_status = status;
292} 292}
293QString DeviceItem::toString()const { 293QString 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}