kmspecialmanager.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifndef KMSPECIALMANAGER_H
00021 #define KMSPECIALMANAGER_H
00022 
00023 #include <qobject.h>
00024 #include <qmap.h>
00025 
00026 class KMPrinter;
00027 class KMManager;
00028 class KXmlCommand;
00029 class DrMain;
00030 
00031 class KMSpecialManager : public QObject
00032 {
00033 public:
00034     KMSpecialManager(KMManager *parent, const char *name = 0);
00035 
00036     bool loadPrinters();
00037     bool savePrinters();
00038     void refresh();
00039     KXmlCommand* loadCommand(KMPrinter*);
00040     KXmlCommand* loadCommand(const QString& cmd);
00041     DrMain* loadDriver(KMPrinter*);
00042     QString setupCommand(const QString& cmd, const QMap<QString,QString>& opts);
00043 
00044 protected:
00045     bool loadDesktopFile(const QString&);
00046 
00047 private:
00048     KMManager   *m_mgr;
00049     bool        m_loaded;
00050 };
00051 
00052 #endif
 
This file is part of the documentation for kdeprint Library Version 3.2.0.