From 121a986be20c0d18acb73d6f296e0a31e62828d0 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Mon, 21 Apr 2014 01:33:19 +0800 Subject: wip: Migrate to Qt5 -- API,name changes toAscii -> toLatin1 WFlags -> WindowFlags QCustomEvent -> QEvent QItemDelegate::check -> QItemDelegate::toCheck TRUE,FALSE -> true,false --- src/ui/addrdialog.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ui/addrdialog.h') diff --git a/src/ui/addrdialog.h b/src/ui/addrdialog.h index 8405a0a..5cc7e76 100644 --- a/src/ui/addrdialog.h +++ b/src/ui/addrdialog.h @@ -34,7 +34,8 @@ class addrDialog: public QDialog { Q_OBJECT; public: enum BUTTONS{SAVE = 0x01, APPLY = 0x02}; - addrDialog(QWidget *parent_ = 0, const FQTermParam& param = FQTermParam(), int buttons = SAVE | APPLY, Qt::WFlags fl = 0); + addrDialog(QWidget *parent_ = 0, const FQTermParam& param = FQTermParam(), + int buttons = SAVE | APPLY, Qt::WindowFlags fl = 0); ~addrDialog(); void setParam(const FQTermParam& param) { param_ = param; -- cgit v1.2.3