summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-03-26 18:23:22 (UTC)
committer harlekin <harlekin>2003-03-26 18:23:22 (UTC)
commit88a93db37e001dc02f9edddf81919266fde0173c (patch) (side-by-side diff)
tree337a5b57f3aeb600258f992b261e24bae145519b
parent86f5b1b916949da47d23549ffcff68e039d38ebb (diff)
downloadopie-88a93db37e001dc02f9edddf81919266fde0173c.zip
opie-88a93db37e001dc02f9edddf81919266fde0173c.tar.gz
opie-88a93db37e001dc02f9edddf81919266fde0173c.tar.bz2
nicer icon for search
Diffstat (more/less context) (show 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
@@ -248,48 +248,48 @@ QString DeviceBox::allText() {
}
DeviceItem::DeviceItem( const QString& name,
const QString& status, int dev, int id)
{
m_name = name;
m_status = status;
m_dev = dev;
m_id = id;
}
int DeviceItem::id()const {
return m_id;
}
QString DeviceItem::name()const {
return m_name;
}
QString DeviceItem::status()const {
return m_status;
}
int DeviceItem::device()const {
return m_dev;
}
QString DeviceItem::pixmap()const{
QString str;
switch(m_dev) {
case DeviceBox::IrDa:
str ="obex/irda";
break;
case DeviceBox::BT:
str ="obex/bt";
break;
case DeviceBox::Search:
- str = "obex/search";
+ str = "mag";
break;
case DeviceBox::Error:
str = "editdelete";
break;
};
return str;
}
DeviceItem::~DeviceItem() {
}
void DeviceItem::setStatus(const QString& status ) {
m_status = status;
}
QString DeviceItem::toString()const {
return "<p><a href=\""+QString::number(m_id) +"\" ><img src=\""+pixmap()+"\" >"+m_name+" "+m_status+" </a></p>" ;
}