MythTV  master
mythtypes.cpp
Go to the documentation of this file.
1 //
2 // mythtypes.cpp
3 // MythTV
4 //
5 // Created by Jean-Yves Avenard on 16/07/13.
6 //
7 
8 #include "mythtypes.h"
9 
10 QString InfoMapToString(const InfoMap &infoMap, const QString &sep)
11 {
12  QString str("");
13  InfoMap::const_iterator it = infoMap.begin();
14  for (; it != infoMap.end() ; ++it)
15  str += QString("[%1]:%2%3").arg(it.key(), *it, sep);
16  return str;
17 }
InfoMap
QHash< QString, QString > InfoMap
Definition: mythtypes.h:15
mythtypes.h
InfoMapToString
QString InfoMapToString(const InfoMap &infoMap, const QString &sep)
Definition: mythtypes.cpp:10