Ref T478, removed the critical functions + adjustments

The code was never used as we decided not to translate swift, but do it all in English. So that code branch was never executed and I have removed the above 4 function + required adjustments.

* getTranslationContextChar
* getColumnNameChar
* getColumnToolTipChar
* getTranslationContextChar
This commit is contained in:
Klaus Basan
2018-12-21 10:18:04 +01:00
committed by Mat Sutcliffe
parent da0e021332
commit 4aec50ccfc
5 changed files with 11 additions and 64 deletions

View File

@@ -81,10 +81,10 @@ namespace BlackGui
BlackMisc::CVariant getAlignment() const;
//! Column name
QString getColumnName(bool i18n = false) const;
const QString &getColumnName() const { return m_columnName; }
//! Column tooltip
QString getColumnToolTip(bool i18n = false) const;
const QString &getColumnToolTip() const { return m_columnToolTip; }
//! Property index
const BlackMisc::CPropertyIndex &getPropertyIndex() const { return m_propertyIndex;}
@@ -120,9 +120,6 @@ namespace BlackGui
bool m_editable = false;
bool m_sortable = true;
const char *getTranslationContextChar() const;
const char *getColumnNameChar() const;
const char *getColumnToolTipChar() const;
};
/*!
@@ -188,9 +185,6 @@ namespace BlackGui
//! Aligment as CVariant
BlackMisc::CVariant getAlignment(const QModelIndex &index) const;
//! Translation context
const QString &getTranslationContext() const { return m_translationContext; }
//! Formatter
const CDefaultFormatter *getFormatter(const QModelIndex &index) const;
@@ -210,8 +204,7 @@ namespace BlackGui
private:
QList<CColumn> m_columns;
QString m_translationContext;
const char *getTranslationContextChar() const;
QString m_translationContext; //!< for future usage
};
}
} // namespace BlackGui