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

tdeprint

  • tdeprint
kmuimanager.h
1 /*
2  * This file is part of the KDE libraries
3  * Copyright (c) 2001 Michael Goffioul <tdeprint@swing.be>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License version 2 as published by the Free Software Foundation.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public License
15  * along with this library; see the file COPYING.LIB. If not, write to
16  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18  **/
19 
20 #ifndef KMUIMANAGER_H
21 #define KMUIMANAGER_H
22 
23 #include <tqobject.h>
24 #include <tqptrlist.h>
25 
26 #include "kprinter.h"
27 
28 class KMPropertyPage;
29 class KMWizard;
30 class KPrintDialogPage;
31 class KPrintDialog;
32 class KPrinterPropertyDialog;
33 class KMConfigDialog;
34 class TQListView;
35 
36 class TDEPRINT_EXPORT KMUiManager : public TQObject
37 {
38  Q_OBJECT
39 public:
40  enum PrintDialogFlagType
41  {
42  Properties = 0x0001,
43  Default = 0x0002,
44  Preview = 0x0004,
45  OutputToFile = 0x0008,
46  PrintCommand = 0x0020,
47  Persistent = 0x0040,
48  PrintDialogAll = 0x001F
49  };
50  enum CopyFlagType
51  {
52  Current = 0x001,
53  Range = 0x002,
54  Collate = 0x004,
55  Order = 0x008,
56  PageSet = 0x010,
57  CopyAll = 0x0FF,
58  PSSelect = Range|Order|PageSet,
59  NoAutoCollate = 0x100
60  };
61 
62  KMUiManager(TQObject *parent = 0, const char *name = 0);
63  virtual ~KMUiManager();
64 
65  // print management
66  virtual void setupPropertyPages(KMPropertyPage*);
67  virtual void setupWizard(KMWizard*);
68  virtual void setupConfigDialog(KMConfigDialog*);
69 
70  // print dialog
71  void addPrintDialogPage(KPrintDialogPage *page) { m_printdialogpages.append(page); }
72  int copyFlags(KPrinter *pr = 0, bool usePlugin = true);
73  int dialogFlags();
74  void setupPrintDialog(KPrintDialog*);
75  virtual void setupPrintDialogPages(TQPtrList<KPrintDialogPage>*);
76 
77  // printer property dialog
78  void setupPropertyDialog(KPrinterPropertyDialog*);
79  virtual void setupPrinterPropertyDialog(KPrinterPropertyDialog*);
80 
81  // page processing capabilities
82  int systemPageCap();
83  virtual int pluginPageCap();
84  int pageCap();
85 
86  // job management
87  virtual void setupJobViewer(TQListView*);
88 
89 protected:
90  int m_printdialogflags;
91  TQPtrList<KPrintDialogPage> m_printdialogpages;
92 };
93 
94 #endif
KPrinter
This class is the main interface to access the TDE print framework.
Definition: kprinter.h:88
KPrintDialogPage
This class is intended to be used as base class for customized print dialog page. ...
Definition: kprintdialogpage.h:90

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
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeprint by doxygen 1.8.8
This website is maintained by Timothy Pearson.