0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-20 06:30:03 +03:00

Some translation functionality has been added

This commit is contained in:
Arin Alexander
2017-07-29 00:54:43 +03:00
parent 2338c9d8b7
commit 881089fd2f
16 changed files with 362 additions and 20 deletions

View File

@@ -1423,6 +1423,21 @@ QList<BaseDesignIntf *> BaseDesignIntf::childBaseItems()
return resList;
}
void BaseDesignIntf::addChildItems(QList<BaseDesignIntf*>* list){
foreach(BaseDesignIntf* item, childBaseItems()){
list->append(item);
item->addChildItems(list);
}
}
QList<BaseDesignIntf*> BaseDesignIntf::allChildBaseItems()
{
QList<BaseDesignIntf *> resList;
addChildItems(&resList);
return resList;
}
BaseDesignIntf *BaseDesignIntf::childByName(const QString &name)
{
foreach(BaseDesignIntf* item, childBaseItems()){
@@ -1539,11 +1554,8 @@ BaseDesignIntf *Marker::object() const
return m_object;
}
QMap<QString, QString> BaseDesignIntf::getStringForTranslation(){
return QMap<QString,QString>();
}
} //namespace LimeReport