aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/vCardCache.cpp
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-26 11:22:47 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-09-26 11:22:47 +0000
commit5fdaf91db6314d971563bd8cd32dd65e8b45862b (patch)
tree07d23a12a76a09840d6b49a56283cc2f4d05774b /examples/GuiClient/vCardCache.cpp
parenta6eead7cb98e59045ec513889a86c715abb06188 (diff)
downloadqxmpp-5fdaf91db6314d971563bd8cd32dd65e8b45862b.tar.gz
use uniform function names
Diffstat (limited to 'examples/GuiClient/vCardCache.cpp')
-rw-r--r--examples/GuiClient/vCardCache.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/GuiClient/vCardCache.cpp b/examples/GuiClient/vCardCache.cpp
index 9c0c18d0..24ee50ad 100644
--- a/examples/GuiClient/vCardCache.cpp
+++ b/examples/GuiClient/vCardCache.cpp
@@ -48,7 +48,7 @@ void vCardCache::vCardReceived(const QXmppVCardIq& vcard)
m_mapBareJidVcard[from] = vcard;
- saveToCache(from);
+ saveToFile(from);
emit vCardReadyToUse(from);
}
@@ -70,7 +70,7 @@ QXmppVCardIq& vCardCache::getVCard(const QString& bareJid)
return m_mapBareJidVcard[bareJid];
}
-void vCardCache::saveToCache(const QString& bareJid)
+void vCardCache::saveToFile(const QString& bareJid)
{
QDir dir;
if(!dir.exists(getSettingsDir(m_client->configuration().jidBare())))
@@ -96,7 +96,7 @@ void vCardCache::saveToCache(const QString& bareJid)
}
}
-void vCardCache::loadAllFromCache()
+void vCardCache::loadFromFile()
{
m_mapBareJidVcard.clear();