/* This file is part of the KTextTemplate library SPDX-FileCopyrightText: 2010 Stephen Kelly SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef KTEXTTEMPLATE_TYPEACCESSOR_H #define KTEXTTEMPLATE_TYPEACCESSOR_H #include "ktexttemplate_export.h" #include namespace KTextTemplate { template struct TypeAccessor { static QVariant lookUp(const T object, const QString &property); }; template struct TypeAccessor { static QVariant lookUp(const T *const object, const QString &property); }; template struct TypeAccessor { static QVariant lookUp(const T &object, const QString &property); }; } #endif