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

kdeprint

  • kdeprint
driverview.h
1 /*
2  * This file is part of the KDE libraries
3  * Copyright (c) 2001 Michael Goffioul <kdeprint@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 DRIVERVIEW_H
22 #define DRIVERVIEW_H
23 
24 #include <tqwidget.h>
25 #include <klistview.h>
26 #include <tqmap.h>
27 
28 #include <kdelibs_export.h>
29 
30 class DrOptionView;
31 class DrMain;
32 
33 class KDEPRINT_EXPORT DrListView : public KListView
34 {
35 public:
36  DrListView(TQWidget *parent = 0, const char *name = 0);
37 };
38 
39 class KDEPRINT_EXPORT DriverView : public TQWidget
40 {
41  Q_OBJECT
42 public:
43  DriverView(TQWidget *parent = 0, const char *name = 0);
44  ~DriverView();
45 
46  void setDriver(DrMain*);
47  void setOptions(const TQMap<TQString,TQString>& opts);
48  void getOptions(TQMap<TQString,TQString>& opts, bool incldef = false);
49  void setAllowFixed(bool on);
50  bool hasConflict() const { return (m_conflict != 0); }
51 
52 protected slots:
53  void slotChanged();
54 
55 private:
56  DrListView *m_view;
57  DrOptionView *m_optview;
58  DrMain *m_driver;
59  int m_conflict;
60 };
61 
62 #endif

kdeprint

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

kdeprint

Skip menu "kdeprint"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdeprint by doxygen 1.8.8
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |