31 lines
853 B
C++
31 lines
853 B
C++
#ifndef APPLICATIONINFOHELPER_H
|
|
#define APPLICATIONINFOHELPER_H
|
|
|
|
#include "application-property.h"
|
|
#include <QMetaType>
|
|
#include <QVariant>
|
|
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
|