contentstorage/caclient/inc/caquery_p.h
changeset 61 8e5041d13c84
parent 60 f62f87b200ec
child 73 4bc7b118b3df
equal deleted inserted replaced
60:f62f87b200ec 61:8e5041d13c84
    55                  Qt::SortOrder = Qt::AscendingOrder);
    55                  Qt::SortOrder = Qt::AscendingOrder);
    56 
    56 
    57     unsigned int count() const;
    57     unsigned int count() const;
    58     void setCount(unsigned int count);
    58     void setCount(unsigned int count);
    59 
    59 
       
    60     QMap<QString, QString> attributes() const;
       
    61     QString attribute(const QString &name) const;
       
    62     void setAttribute(const QString &name, const QString &value);
       
    63     void removeAttribute(const QString &name);
       
    64     
    60     void clear();
    65     void clear();
    61 
    66 
    62 private:
    67 private:
    63 
    68 
    64     /**
    69     /**
    79     SortAttribute mSortAttribute;
    84     SortAttribute mSortAttribute;
    80 
    85 
    81     Qt::SortOrder mSortOrder;
    86     Qt::SortOrder mSortOrder;
    82 
    87 
    83     unsigned int mCount;
    88     unsigned int mCount;
       
    89 
       
    90     QMap<QString, QString> mAttributes;
    84 };
    91 };
    85 
    92 
    86 #endif //CAQUERY_PRIVATE_H
    93 #endif //CAQUERY_PRIVATE_H