QCocoaPrinterSupport();
~QCocoaPrinterSupport();
- Q_DECL_OVERRIDE QPrintEngine *createNativePrintEngine(QPrinter::PrinterMode printerMode);
- Q_DECL_OVERRIDE QPaintEngine *createPaintEngine(QPrintEngine *, QPrinter::PrinterMode printerMode);
- Q_DECL_OVERRIDE QList<QPrinter::PaperSize> supportedPaperSizes(const QPrinterInfo &) const;
+ QPrintEngine *createNativePrintEngine(QPrinter::PrinterMode printerMode) Q_DECL_OVERRIDE;
+ QPaintEngine *createPaintEngine(QPrintEngine *, QPrinter::PrinterMode printerMode) Q_DECL_OVERRIDE;
+ QList<QPrinter::PaperSize> supportedPaperSizes(const QPrinterInfo &) const Q_DECL_OVERRIDE;
- Q_DECL_OVERRIDE QList<QPrinterInfo> availablePrinters();
+ QList<QPrinterInfo> availablePrinters() Q_DECL_OVERRIDE;
};
#endif // QCOCOAPRINTERSUPPORT_H
void setCurrentContext(QCocoaGLContext *context);
QCocoaGLContext *currentContext() const;
- Q_DECL_OVERRIDE bool setWindowModified(bool modified);
+ bool setWindowModified(bool modified) Q_DECL_OVERRIDE;
protected:
// NSWindow handling. The QCocoaWindow/QNSView can either be displayed
static void dispatchEnterLeave(QWidget *enter, QWidget *leave);
//modality
- Q_DECL_OVERRIDE bool isWindowBlocked(QWindow *window, QWindow **blockingWindow = 0) const;
+ bool isWindowBlocked(QWindow *window, QWindow **blockingWindow = 0) const Q_DECL_OVERRIDE;
static bool isBlockedByModal(QWidget *widget);
static bool modalState();
static bool tryModalHelper(QWidget *widget, QWidget **rettop = 0);