mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-01 05:25:55 +00:00
795225e72d
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2092 a592a061-630c-0410-9148-cb99ea01b6c8
62 lines
1.2 KiB
C++
62 lines
1.2 KiB
C++
/**
|
|
* \file printdlgimpl.h
|
|
* Copyright 2001 LyX Team
|
|
* see the file COPYING
|
|
*
|
|
* \author John Levon, moz@compsoc.man.ac.uk
|
|
* \author Edwin Leuven, leuven@fee.uva.nl
|
|
*/
|
|
|
|
#ifndef PRINTDLGIMPL_H
|
|
#define PRINTDLGIMPL_H
|
|
|
|
#include <config.h>
|
|
|
|
#include "printdlg.h"
|
|
#include "lyxrc.h"
|
|
#include "PrinterParams.h"
|
|
|
|
class FormPrint;
|
|
|
|
class PrintDlgImpl : public PrintDlg
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
PrintDlgImpl( FormPrint *f, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
|
|
~PrintDlgImpl();
|
|
|
|
// FIXME: these should return std::string !
|
|
const char * getFrom();
|
|
const char * getTo();
|
|
const char * getPrinter();
|
|
const char * getFile();
|
|
const char * getCount();
|
|
PrinterParams::Target getTarget();
|
|
PrinterParams::WhichPages getWhichPages();
|
|
bool getReverse();
|
|
bool getSort();
|
|
void setFrom(const char *);
|
|
void setTo(const char *);
|
|
void setPrinter(const char *);
|
|
void setFile(const char *);
|
|
void setCount(int);
|
|
void setTarget(PrinterParams::Target);
|
|
void setWhichPages(PrinterParams::WhichPages);
|
|
void setReverse(bool);
|
|
void setSort(bool);
|
|
|
|
|
|
protected slots:
|
|
void cancel_adaptor();
|
|
void browse_file();
|
|
void print();
|
|
void set_collate(int);
|
|
|
|
private:
|
|
FormPrint * form_;
|
|
|
|
};
|
|
|
|
#endif // PRINTDLGIMPL_H
|