• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeprint
 

tdeprint

  • tdeprint
kpgeneralpage.h
1/*
2 * This file is part of the KDE libraries
3 * Copyright (c) 2001 Michael Goffioul <tdeprint@swing.be>
4 *
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License version 2 as published by the Free Software Foundation.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 **/
20
21#ifndef KPGENERALPAGE_H
22#define KPGENERALPAGE_H
23
24#include "kprintdialogpage.h"
25
26class TQComboBox;
27class TQButtonGroup;
28class TQGroupBox;
29class TQLabel;
30
31class TDEPRINT_EXPORT KPGeneralPage : public KPrintDialogPage
32{
33 TQ_OBJECT
34public:
35 KPGeneralPage(KMPrinter *pr, DrMain *dr, TQWidget *parent = 0, const char *name = 0);
36 ~KPGeneralPage();
37
38 void setOptions(const TQMap<TQString,TQString>& opts);
39 void getOptions(TQMap<TQString,TQString>& opts, bool incldef = false);
40
41protected:
42 void initialize();
43
44protected slots:
45 void slotOrientationChanged(int);
46 void slotDuplexChanged(int);
47 void slotNupChanged(int);
48
49protected:
50 TQComboBox *m_pagesize, *m_papertype, *m_inputslot;
51 TQComboBox *m_startbanner, *m_endbanner;
52 TQButtonGroup *m_orientbox, *m_duplexbox, *m_nupbox;
53 TQGroupBox *m_bannerbox;
54 TQLabel *m_orientpix, *m_duplexpix, *m_nuppix;
55};
56
57#endif
KPrintDialogPage
This class is intended to be used as base class for customized print dialog page.
Definition: kprintdialogpage.h:91
KPrintDialogPage::getOptions
virtual void getOptions(TQMap< TQString, TQString > &opts, bool incldef=false)
This function is called to fill the structure opts with the selected options from this dialog page.
Definition: kprintdialogpage.cpp:41
KPrintDialogPage::setOptions
virtual void setOptions(const TQMap< TQString, TQString > &opts)
This function is called to update the current page with the options contained in opts.
Definition: kprintdialogpage.cpp:37

tdeprint

Skip menu "tdeprint"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdeprint

Skip menu "tdeprint"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeprint by doxygen 1.9.4
This website is maintained by Timothy Pearson.