src/gui/dialogs/qprintdialog.h
changeset 18 2f34d5167611
parent 3 41300fa6a67c
equal deleted inserted replaced
3:41300fa6a67c 18:2f34d5167611
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     8 **
     8 **
    95     virtual void accept();
    95     virtual void accept();
    96 #endif
    96 #endif
    97     void done(int result);
    97     void done(int result);
    98 
    98 
    99 #if defined (Q_OS_UNIX) && defined (QT3_SUPPORT)
    99 #if defined (Q_OS_UNIX) && defined (QT3_SUPPORT)
   100     void setPrinter(QPrinter *, bool = false);
   100     QT3_SUPPORT void setPrinter(QPrinter *, bool = false);
   101     QPrinter *printer() const;
   101     QT3_SUPPORT QPrinter *printer() const;
   102     void addButton(QPushButton *button);
   102     QT3_SUPPORT void addButton(QPushButton *button);
   103 #endif
   103 #endif
   104 
   104 
   105     void setOption(PrintDialogOption option, bool on = true);
   105     void setOption(PrintDialogOption option, bool on = true);
   106     bool testOption(PrintDialogOption option) const;
   106     bool testOption(PrintDialogOption option) const;
   107     void setOptions(PrintDialogOptions options);
   107     void setOptions(PrintDialogOptions options);