Mercurial > projects > qtd
diff demos/browser/settings.d @ 74:37caa90ce503
more porting
author | mandel |
---|---|
date | Fri, 22 May 2009 23:43:58 +0000 |
parents | 7bfd46c330dc |
children | 0654fc9bac95 |
line wrap: on
line diff
--- a/demos/browser/settings.d Fri May 22 10:59:00 2009 +0000 +++ b/demos/browser/settings.d Fri May 22 23:43:58 2009 +0000 @@ -46,7 +46,7 @@ import qt.gui.qt.gui; import qt.gui.QDialog; -import QtWebKit.QtWebKit; +import qt.webkit.QtWebKit; import browserapplication; import browsermainwindow; @@ -61,15 +61,15 @@ { public: - this(QWidget parent = null); - : QDialog(parent) + this(QWidget parent = null) + //: QDialog(parent) { setupUi(this); - connect(exceptionsButton, SIGNAL(clicked()), this, SLOT(showExceptions())); - connect(setHomeToCurrentPageButton, SIGNAL(clicked()), this, SLOT(setHomeToCurrentPage())); - connect(cookiesButton, SIGNAL(clicked()), this, SLOT(showCookies())); - connect(standardFontButton, SIGNAL(clicked()), this, SLOT(chooseFont())); - connect(fixedFontButton, SIGNAL(clicked()), this, SLOT(chooseFixedFont())); + exceptionsButton.clicked.connect(&this.showExceptions); + setHomeToCurrentPageButton.clicked.connect(&this.setHomeToCurrentPage); + cookiesButton.clicked.connect(&this.showCookies())); + standardFontButton.clicked.connect(this.chooseFont); + fixedFontButton.clicked.connect(&this.chooseFixedFont); loadDefaults(); loadFromSettings();