20 #ifndef KPFILTERPAGE_H
21 #define KPFILTERPAGE_H
23 #include "kprintdialogpage.h"
26 #include <tqstringlist.h>
38 KPFilterPage(TQWidget *parent = 0,
const char *name = 0);
41 void setOptions(
const TQMap<TQString,TQString>& opts);
42 void getOptions(TQMap<TQString,TQString>& opts,
bool incldef =
false);
46 void slotAddClicked();
47 void slotRemoveClicked();
49 void slotDownClicked();
50 void slotConfigureClicked();
51 void slotItemSelected(TQListViewItem*);
54 KXmlCommand* currentFilter();
55 void checkFilterChain();
57 TQStringList activeList();
61 TQStringList m_filters;
62 TQDict<KXmlCommand> m_activefilters;
63 TQToolButton *m_add, *m_remove, *m_up, *m_down, *m_configure;
65 TQTextBrowser *m_info;