00001 00002 #ifndef OPIE_TOOTH_BT_CONNECTION_ITEM_H 00003 #define OPIE_TOOTH_BT_CONNECTION_ITEM_H 00004 00005 00006 #include "btlistitem.h" 00007 00008 namespace OpieTooth { 00009 00010 class ConnectionState; 00011 class BTConnectionItem : public BTListItem { 00012 public: 00013 BTConnectionItem( QListView* parent, const ConnectionState& state ); 00014 ~BTConnectionItem(); 00015 QString type()const; 00016 QString name(); 00017 QString signalStrength(); 00018 int typeId() const; 00019 ConnectionState connection()const; 00020 void setSignalStrength( QString ); 00021 void setName( QString ); 00022 00023 private: 00024 ConnectionState m_con; 00025 QString m_name; 00026 QString m_signalStrength; 00027 }; 00028 00029 }; 00030 00031 00032 #endif
1.4.2