matichelper.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #include "matichelper.h"
00021 #include "printcapentry.h"
00022 #include "driver.h"
00023
00024 QString maticFile(PrintcapEntry *entry)
00025 {
00026 QString s(entry->field("af"));
00027 if (s.isEmpty())
00028 {
00029 s = entry->field("filter_options");
00030 if (!s.isEmpty())
00031 {
00032 int p = s.findRev(' ');
00033 if (p != -1)
00034 s = s.mid(p+1);
00035 }
00036 }
00037 return s;
00038 }
This file is part of the documentation for kdeprint Library Version 3.2.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Mar 4 22:45:15 2004 by
doxygen 1.3.6-20040222 written by
Dimitri van Heesch, © 1997-2003