21 #ifndef KPRINTDIALOGPAGE_H
22 #define KPRINTDIALOGPAGE_H
27 #include <tdelibs_export.h>
101 KPrintDialogPage(KMPrinter *pr, DrMain *dr = 0, TQWidget *parent = 0,
const char *name = 0);
115 virtual void getOptions(TQMap<TQString,TQString>& opts,
bool incldef =
false);
121 virtual void setOptions(
const TQMap<TQString,TQString>& opts);
129 virtual bool isValid(TQString& msg);
135 int id()
const {
return m_ID; }
147 QString
title()
const {
return m_title; }
154 void setTitle(
const TQString& txt) { m_title = txt; }
183 KMPrinter *m_printer;
QString title() const
Get the page title.
This class is intended to be used as base class for customized print dialog page.
void setTitle(const TQString &txt)
Set the page title.
int id() const
Get the ID of the page.
void setOnlyRealPrinters(bool on=true)
Change the page state when a non real printer is selected in the print dialog.
DrMain * driver()
For internal use only.
void setId(int ID)
Set the ID of the page.
bool onlyRealPrinters() const
Tell wether or not the page should be disable if a non real printer (special printer) is selected in ...
KMPrinter * printer()
For internal use only.