QtPrintSupport: make some constructors explicit
This is a semi-automatic search, so I'm reasonably sure that all the exported ones have been caught. Change-Id: Ic65f21e06fb2c5d851390cd025c2a48db51f5930 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
parent
12f221410f
commit
c614bf25fe
@ -63,7 +63,7 @@ class Q_PRINTSUPPORT_EXPORT QUnixPrintWidget : public QWidget
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QUnixPrintWidget(QPrinter *printer, QWidget *parent = 0);
|
explicit QUnixPrintWidget(QPrinter *printer, QWidget *parent = 0);
|
||||||
~QUnixPrintWidget();
|
~QUnixPrintWidget();
|
||||||
void updatePrinter();
|
void updatePrinter();
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ class Q_PRINTSUPPORT_EXPORT QPrinterInfo
|
|||||||
public:
|
public:
|
||||||
QPrinterInfo();
|
QPrinterInfo();
|
||||||
QPrinterInfo(const QPrinterInfo &other);
|
QPrinterInfo(const QPrinterInfo &other);
|
||||||
QPrinterInfo(const QPrinter &printer);
|
explicit QPrinterInfo(const QPrinter &printer);
|
||||||
~QPrinterInfo();
|
~QPrinterInfo();
|
||||||
|
|
||||||
QPrinterInfo &operator=(const QPrinterInfo &other);
|
QPrinterInfo &operator=(const QPrinterInfo &other);
|
||||||
@ -73,7 +73,7 @@ public:
|
|||||||
static QPrinterInfo defaultPrinter();
|
static QPrinterInfo defaultPrinter();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QPrinterInfo(const QString &name);
|
explicit QPrinterInfo(const QString &name);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class QPlatformPrinterSupport;
|
friend class QPlatformPrinterSupport;
|
||||||
|
Loading…
Reference in New Issue
Block a user