ukui-search/libsearch/searchinterface/result-item.h

24 lines
486 B
C++

#ifndef RESULTITEM_H
#define RESULTITEM_H
#include <QString>
#include <QVariant>
namespace UkuiSearch {
class ResultItemPrivate;
class ResultItem
{
public:
explicit ResultItem();
explicit ResultItem(const size_t searchId);
explicit ResultItem(const QString itemKey);
explicit ResultItem(const size_t searchId, const QString itemKey);
size_t getSearchId();
QString getItemKey();
~ResultItem();
private:
ResultItemPrivate *d;
};
}
#endif // RESULTITEM_H