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

30 lines
617 B
C++

#ifndef RESULTITEMPRIVATE_H
#define RESULTITEMPRIVATE_H
#include "result-item.h"
#include "result-item-private.h"
namespace UkuiSearch {
class ResultItemPrivate
{
public:
explicit ResultItemPrivate(ResultItem *parent);
~ResultItemPrivate();
void setSearchId(size_t searchId);
void setItemKey(QString itemKey);
void setExtral(QVariantList extral);
size_t getSearchId();
QString getItemKey();
QVariantList getExtral();
private:
size_t m_searchId;
QString m_itemKey;
QVariantList m_extral;
//and something else...
ResultItem *q;
};
}
#endif // RESULTITEMPRIVATE_H