Mercurial > projects > qtd
diff demos/browser/history.d @ 113:8636c819ce4d
more porting
author | mandel |
---|---|
date | Wed, 03 Jun 2009 14:35:25 +0000 |
parents | dcd36d8db2da |
children | a8d76a9a85aa |
line wrap: on
line diff
--- a/demos/browser/history.d Mon Jun 01 23:47:30 2009 +0000 +++ b/demos/browser/history.d Wed Jun 03 14:35:25 2009 +0000 @@ -1374,10 +1374,9 @@ import ui_history; -class HistoryDialog : public QDialog//, public Ui_HistoryDialog +class HistoryDialog : public QDialog //, public Ui_HistoryDialog { - HistoryDialog ui; - + mixin Ui_HistoryDialog; mixin Signal!("openUrl", QUrl /*url*/); public: @@ -1388,7 +1387,7 @@ HistoryManager history = setHistory; if (!history) history = BrowserApplication.historyManager(); - ui.setupUi(this); + setupUi(this); tree.setUniformRowHeights(true); tree.setSelectionBehavior(QAbstractItemView.SelectRows); tree.setTextElideMode(Qt_TextElideMode.ElideMiddle);