src/gui/widgets/qcombobox.h
changeset 30 5dc02b23752f
parent 18 2f34d5167611
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
   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,