diff options
| author | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-09-08 09:46:28 +0000 |
|---|---|---|
| committer | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-09-08 09:46:28 +0000 |
| commit | 1abd629042988c2220ef03ff01d834b4e14bfbce (patch) | |
| tree | e034244cd7f4fb58004c0a198ea43f322ccaaffc /examples | |
| parent | 12f40c92974d3d78806f2bfc0fb464276493d943 (diff) | |
| download | qxmpp-1abd629042988c2220ef03ff01d834b4e14bfbce.tar.gz | |
suppress more warnings
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/GuiClient/rosterItemModel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/GuiClient/rosterItemModel.cpp b/examples/GuiClient/rosterItemModel.cpp index 9dfd4a51..18d4f655 100644 --- a/examples/GuiClient/rosterItemModel.cpp +++ b/examples/GuiClient/rosterItemModel.cpp @@ -58,9 +58,9 @@ void rosterItemModel::updatePresence(const QString& bareJid, const QMap<QString, if(presences.count() > 0)
{
- QString statusText = presences.begin().value().getStatus().getStatusText();
- QXmppPresence::Status::Type statusType = presences.begin().value().getStatus().getType();
- QXmppPresence::Type presenceType = presences.begin().value().getType();
+ QString statusText = presences.begin().value().status().statusText();
+ QXmppPresence::Status::Type statusType = presences.begin().value().status().type();
+ QXmppPresence::Type presenceType = presences.begin().value().type();
if(statusText.isEmpty())
{
@@ -79,7 +79,7 @@ void rosterItemModel::updateRosterEntry(const QString& bareJid, const QXmppRoste {
addRosterItemIfDontExist(bareJid);
- QString name = rosterEntry.getName();
+ QString name = rosterEntry.name();
if(name.isEmpty())
{
name = bareJid;
|
