summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-14 18:57:18 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-14 21:36:32 (GMT)
commitcb05f5a908e20006c954ce38755c2e422ecc2388 (patch)
treea793551a5fe279a57d4330119560e8542f745484 /Swiften/Roster/XMPPRosterItem.h
parentcad974b45c0fb9355e68d9728e42c9ae3dbcebc7 (diff)
downloadswift-cb05f5a908e20006c954ce38755c2e422ecc2388.zip
swift-cb05f5a908e20006c954ce38755c2e422ecc2388.tar.bz2
Removed Swift::String.
Diffstat (limited to 'Swiften/Roster/XMPPRosterItem.h')
-rw-r--r--Swiften/Roster/XMPPRosterItem.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Swiften/Roster/XMPPRosterItem.h b/Swiften/Roster/XMPPRosterItem.h
index ceb7763..c821cbf 100644
--- a/Swiften/Roster/XMPPRosterItem.h
+++ b/Swiften/Roster/XMPPRosterItem.h
@@ -9,33 +9,33 @@
#include <vector>
-#include <Swiften/Base/String.h>
+#include <string>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/RosterItemPayload.h>
namespace Swift {
class XMPPRosterItem {
public:
- XMPPRosterItem(const JID& jid, const String& name, const std::vector<String>& groups, RosterItemPayload::Subscription subscription) : jid(jid), name(name), groups(groups), subscription(subscription) {
+ XMPPRosterItem(const JID& jid, const std::string& name, const std::vector<std::string>& groups, RosterItemPayload::Subscription subscription) : jid(jid), name(name), groups(groups), subscription(subscription) {
}
const JID& getJID() const {
return jid;
}
- const String& getName() const {
+ const std::string& getName() const {
return name;
}
- void setName(const String& name) {
+ void setName(const std::string& name) {
this->name = name;
}
- const std::vector<String>& getGroups() const {
+ const std::vector<std::string>& getGroups() const {
return groups;
}
- void setGroups(const std::vector<String>& groups) {
+ void setGroups(const std::vector<std::string>& groups) {
this->groups = groups;
}
@@ -45,8 +45,8 @@ namespace Swift {
private:
JID jid;
- String name;
- std::vector<String> groups;
+ std::string name;
+ std::vector<std::string> groups;
RosterItemPayload::Subscription subscription;
};
}