mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Minor replace function by another one
Replace QETApp::conductorInfoKeys() and QETApp::conductorTranslatedInfoKey(const QString &key) by QETInformation::conductorInfoKeys() and QETInformation::translatedInfoKey
This commit is contained in:
@@ -21,14 +21,23 @@
|
||||
#include <QStringList>
|
||||
#include <QHash>
|
||||
|
||||
/**
|
||||
* Inside this namespace you will fin all information used in QElectrotech for
|
||||
* element, conductor and diagram.
|
||||
* Each information have 3 values :
|
||||
* #1 the info key = the key of an information as a QString used in the code (exemple : label)
|
||||
* #2 the info key to variable = the key in form of a variable.
|
||||
* This is used by the user to replace a variable by the string of this variable (exemple : %{label})
|
||||
* #3 the info key translated to the current local (exemple label in dutch = Betriebsmittelkennzeichen)
|
||||
*/
|
||||
namespace QETInformation
|
||||
{
|
||||
QStringList titleblockInfoKeys();
|
||||
QString titleblockTranslatedInfoKey(const QString &info);
|
||||
QString titleblockInfoKeysToVar(const QString &info);
|
||||
QHash <QString, QString> titleblockTranslatedKeyHashVar();
|
||||
QStringList folioReportInfoKey();
|
||||
QStringList folioReportInfoKeys();
|
||||
QHash <QString, QString> folioReportInfoKeyToVar();
|
||||
QStringList conductorInfoKeys();
|
||||
|
||||
QString translatedInfoKey(const QString &info);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user