Mercurial > projects > qtd
comparison demos/browser/bookmarks.d @ 142:bd316478744c
--
author | SokoL_SD |
---|---|
date | Sun, 07 Jun 2009 19:16:40 +0000 |
parents | 4320ed0343dd |
children | a8d76a9a85aa |
comparison
equal
deleted
inserted
replaced
141:4320ed0343dd | 142:bd316478744c |
---|---|
1130 private: | 1130 private: |
1131 | 1131 |
1132 void triggered(QAction action) | 1132 void triggered(QAction action) |
1133 { | 1133 { |
1134 QVariant v = action.data(); | 1134 QVariant v = action.data(); |
1135 if (v.canConvert!(QVariant.Type.Url)) { | 1135 if (v.canConvert!(QUrl)) { |
1136 openUrl.emit(v.toUrl()); | 1136 openUrl.emit(v.toUrl()); |
1137 } | 1137 } |
1138 } | 1138 } |
1139 | 1139 |
1140 void activated(QModelIndex index) | 1140 void activated(QModelIndex index) |