Diffstat (limited to 'noncore/net/opietooth/manager/btlistitem.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/btlistitem.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/noncore/net/opietooth/manager/btlistitem.h b/noncore/net/opietooth/manager/btlistitem.h index 8963caa..d7ce03b 100644 --- a/noncore/net/opietooth/manager/btlistitem.h +++ b/noncore/net/opietooth/manager/btlistitem.h @@ -9,22 +9,22 @@ namespace OpieTooth { public: BTListItem( QListView * parent ); BTListItem( QListViewItem * parent ); // name, and then mac and then servicetype - BTListItem( QListView * , QString, QString, QString ); - BTListItem( QListViewItem * parent , QString, QString , QString ); + BTListItem( QListView * , const QString&, const QString&, const QString& ); + BTListItem( QListViewItem * parent , const QString&, const QString& , const QString& ); ~BTListItem(); - void setMac( QString ); - QString mac(); - void setName( QString ); - QString name(); - void setType( QString ); - QString type(); + void setMac( const QString& ); + QString mac()const; + void setName( const QString& ); + QString name()const; + void setType( const QString& ); + QString type()const; private: QString m_name; QString m_mac; QString m_type; }; |