#ifndef APPLICATIONINFOHELPER_H #define APPLICATIONINFOHELPER_H #include "application-property.h" #include #include namespace UkuiSearch { class ApplicationPropertyHelperPrivate; class ApplicationPropertyHelper { public: ApplicationPropertyHelper(); ApplicationPropertyHelper(ApplicationProperty::Property property); ApplicationPropertyHelper(const ApplicationPropertyHelper &other); ~ApplicationPropertyHelper(); ApplicationPropertyHelper& operator=(const ApplicationPropertyHelper &rhs); bool operator==(const ApplicationPropertyHelper &rhs) const; ApplicationProperty::Property info(); QString dataBaseField(); QMetaType::Type valueType(); QString toDataBaseString(QVariant &value); private: ApplicationPropertyHelperPrivate *d = nullptr; }; } #endif // APPLICATIONINFOHELPER_H