mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 18:55:38 +08:00
Issue #77 Remove unused methods
This commit is contained in:
@@ -61,9 +61,6 @@ namespace BlackMisc
|
||||
//! Property by index
|
||||
CVariant propertyByIndex(const CPropertyIndex &index) const;
|
||||
|
||||
//! Property by index as String
|
||||
QString propertyByIndexAsString(const CPropertyIndex &index, bool i18n = false) const;
|
||||
|
||||
//! Compare for index
|
||||
int comparePropertyByIndex(const CPropertyIndex &index, const Derived &compareValue) const;
|
||||
|
||||
@@ -109,7 +106,6 @@ namespace BlackMisc
|
||||
using ::BlackMisc::Mixin::Index<DERIVED>::apply; \
|
||||
using ::BlackMisc::Mixin::Index<DERIVED>::setPropertyByIndex; \
|
||||
using ::BlackMisc::Mixin::Index<DERIVED>::propertyByIndex; \
|
||||
using ::BlackMisc::Mixin::Index<DERIVED>::propertyByIndexAsString; \
|
||||
using ::BlackMisc::Mixin::Index<DERIVED>::comparePropertyByIndex; \
|
||||
using ::BlackMisc::Mixin::Index<DERIVED>::equalsPropertyByIndex;
|
||||
// *INDENT-ON*
|
||||
@@ -141,12 +137,6 @@ namespace BlackMisc
|
||||
}
|
||||
}
|
||||
|
||||
template <class Derived>
|
||||
QString Index<Derived>::propertyByIndexAsString(const CPropertyIndex &index, bool i18n) const
|
||||
{
|
||||
return derived()->propertyByIndex(index).toQString(i18n);
|
||||
}
|
||||
|
||||
template <class Derived>
|
||||
bool Index<Derived>::equalsPropertyByIndex(const CVariant &compareValue, const CPropertyIndex &index) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user