equal
deleted
inserted
replaced
109 |
109 |
110 void setFrame(bool); |
110 void setFrame(bool); |
111 bool hasFrame() const; |
111 bool hasFrame() const; |
112 |
112 |
113 inline int findText(const QString &text, |
113 inline int findText(const QString &text, |
114 Qt::MatchFlags flags = Qt::MatchExactly|Qt::MatchCaseSensitive) const |
114 Qt::MatchFlags flags = static_cast<Qt::MatchFlags>(Qt::MatchExactly|Qt::MatchCaseSensitive)) const |
115 { return findData(text, Qt::DisplayRole, flags); } |
115 { return findData(text, Qt::DisplayRole, flags); } |
116 int findData(const QVariant &data, int role = Qt::UserRole, |
116 int findData(const QVariant &data, int role = Qt::UserRole, |
117 Qt::MatchFlags flags = Qt::MatchExactly|Qt::MatchCaseSensitive) const; |
117 Qt::MatchFlags flags = static_cast<Qt::MatchFlags>(Qt::MatchExactly|Qt::MatchCaseSensitive)) const; |
118 |
118 |
119 enum InsertPolicy { |
119 enum InsertPolicy { |
120 NoInsert, |
120 NoInsert, |
121 InsertAtTop, |
121 InsertAtTop, |
122 InsertAtCurrent, |
122 InsertAtCurrent, |