lpqhelper.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifndef LPQHELPER_H
00021 #define LPQHELPER_H
00022 
00023 #include <qobject.h>
00024 #include <qptrlist.h>
00025 
00026 class KMJob;
00027 
00028 class LpqHelper : public QObject
00029 {
00030 public:
00031     LpqHelper(QObject *parent = 0, const char *name = 0);
00032     ~LpqHelper();
00033 
00034     void listJobs(QPtrList<KMJob>& jobs, const QString& prname, int limit = 0);
00035 
00036 protected:
00037     KMJob* parseLineLpr(const QString&);
00038     KMJob* parseLineLPRng(const QString&);
00039 
00040 private:
00041     QString     m_exepath;
00042 };
00043 
00044 #endif
 
This file is part of the documentation for kdeprint Library Version 3.2.0.