Qt 4.8
Classes | Macros | Typedefs | Functions | Variables
qprintdialog_qws.cpp File Reference
#include "qplatformdefs.h"
#include <private/qabstractprintdialog_p.h>
#include "qprintdialog.h"
#include "qapplication.h"
#include "qbuttongroup.h"
#include "qradiobutton.h"
#include "qcombobox.h"
#include "qspinbox.h"
#include "qprinter.h"
#include "qlineedit.h"
#include "qdir.h"
#include "qmessagebox.h"
#include "qinputdialog.h"
#include "qlayout.h"
#include "qlabel.h"
#include "qlibrary.h"
#include <rpcsvc/ypclnt.h>
#include <rpcsvc/yp_prot.h>
#include <ctype.h>
#include <stdlib.h>
#include <qdebug.h>
#include "moc_qprintdialog.cpp"
#include "qrc_qprintdialog.cpp"

Go to the source code of this file.

Classes

class  QPrintDialogPrivate
 

Macros

#define BOOL_DEFINED
 

Typedefs

typedef void(* QPrintDialogCreator) (QPrintDialog *parent)
 

Functions

static void isc (QPrintDialogPrivate *d, const QString &text, QPrinter::PaperSize ps)
 

Variables

Q_GUI_EXPORT QPrintDialogCreator _qt_print_dialog_creator
 

Macro Definition Documentation

◆ BOOL_DEFINED

#define BOOL_DEFINED

Definition at line 67 of file qprintdialog_qws.cpp.

Typedef Documentation

◆ QPrintDialogCreator

typedef void(* QPrintDialogCreator) (QPrintDialog *parent)

Definition at line 82 of file qprintdialog_qws.cpp.

Function Documentation

◆ isc()

void isc ( QPrintDialogPrivate d,
const QString text,
QPrinter::PaperSize  ps 
)
static

Definition at line 304 of file qprintdialog_qws.cpp.

Referenced by QPrintDialogPrivate::setupPaper().

305 {
306  if (ptr && !text.isEmpty() && ps < QPrinter::NPaperSize) {
307  ptr->sizeCombo->addItem(text);
308  int index = ptr->sizeCombo->count()-1;
309  if (index >= 0 && index < QPrinter::NPaperSize)
310  ptr->indexToPaperSize[index] = ps;
311  }
312 }
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
Definition: qstring.h:704
const T * ptr(const T &t)
quint16 index

Variable Documentation

◆ _qt_print_dialog_creator

Q_GUI_EXPORT QPrintDialogCreator _qt_print_dialog_creator

Definition at line 83 of file qprintdialog_qws.cpp.

Referenced by QPrintDialogPrivate::init().