LibreOffice Module svtools (master) 1
|
#include <svtools/svtdllapi.h>
#include <vcl/print.hxx>
#include <vcl/weld.hxx>
#include <vcl/timer.hxx>
Go to the source code of this file.
Classes | |
class | PrinterSetupDialog |
Macros | |
#define | IMPL_PRINTDLG_STATUS_UPDATE 15000 |
Functions | |
void | ImplFillPrnDlgListBox (const Printer *pPrinter, weld::ComboBox *pBox, weld::Button *pPropBtn) |
void | ImplFreePrnDlgListBox (weld::ComboBox *pBox, bool bClear=true) |
Printer * | ImplPrnDlgListBoxSelect (weld::ComboBox const *pBox, weld::Button *pPropBtn, Printer const *pPrinter, Printer *pTempPrinter) |
Printer * | ImplPrnDlgUpdatePrinter (Printer const *pPrinter, Printer *pTempPrinter) |
void | ImplPrnDlgUpdateQueueInfo (weld::ComboBox const *pBox, QueueInfo &rInfo) |
OUString | ImplPrnDlgGetStatusText (const QueueInfo &rInfo) |
#define IMPL_PRINTDLG_STATUS_UPDATE 15000 |
Definition at line 68 of file prnsetup.hxx.
void ImplFillPrnDlgListBox | ( | const Printer * | pPrinter, |
weld::ComboBox * | pBox, | ||
weld::Button * | pPropBtn | ||
) |
Definition at line 33 of file prnsetup.cxx.
References weld::ComboBox::append_text(), Printer::GetName(), Printer::GetPrinterQueues(), Printer::HasSupport(), i, ImplFreePrnDlgListBox(), nCount, weld::ComboBox::set_active_text(), weld::Widget::set_sensitive(), and weld::Widget::set_visible().
Referenced by IMPL_LINK(), and PrinterSetupDialog::run().
void ImplFreePrnDlgListBox | ( | weld::ComboBox * | pBox, |
bool | bClear = true |
||
) |
Definition at line 52 of file prnsetup.cxx.
References weld::ComboBox::clear().
Referenced by ImplFillPrnDlgListBox(), and PrinterSetupDialog::~PrinterSetupDialog().
OUString ImplPrnDlgGetStatusText | ( | const QueueInfo & | rInfo | ) |
Definition at line 143 of file prnsetup.cxx.
References aStr, Printer::GetDefaultPrinterName(), QueueInfo::GetJobs(), QueueInfo::GetPrinterName(), QueueInfo::GetStatus(), ImplPrnDlgAddResString(), ImplPrnDlgAddString(), QUEUE_JOBS_DONTKNOW, and SvtResId().
Referenced by IMPL_LINK_NOARG(), and PrinterSetupDialog::ImplSetInfo().
Printer * ImplPrnDlgListBoxSelect | ( | weld::ComboBox const * | pBox, |
weld::Button * | pPropBtn, | ||
Printer const * | pPrinter, | ||
Printer * | pTempPrinter | ||
) |
Definition at line 59 of file prnsetup.cxx.
References VclPtr< class reference_type >::Create(), VclPtr< class reference_type >::disposeAndClear(), weld::ComboBox::get_active(), weld::ComboBox::get_active_text(), QueueInfo::GetDriver(), Printer::GetDriverName(), Printer::GetJobSetup(), Printer::GetName(), QueueInfo::GetPrinterName(), Printer::GetQueueInfo(), and weld::Widget::set_sensitive().
Referenced by IMPL_LINK_NOARG().
Definition at line 98 of file prnsetup.cxx.
References VclPtr< class reference_type >::Create(), VclPtr< class reference_type >::disposeAndClear(), Printer::GetName(), and Printer::GetQueueInfo().
Referenced by IMPL_LINK().
void ImplPrnDlgUpdateQueueInfo | ( | weld::ComboBox const * | pBox, |
QueueInfo & | rInfo | ||
) |
Definition at line 117 of file prnsetup.cxx.
References weld::ComboBox::get_active(), weld::ComboBox::get_active_text(), and Printer::GetQueueInfo().
Referenced by IMPL_LINK_NOARG().