00001 //LabPlot : PruneListDialog.h 00002 00003 #ifndef PRUNELISTDIALOG_H 00004 #define PRUNELISTDIALOG_H 00005 00006 #include "ListDialog.h" 00007 00008 class PruneListDialog : public ListDialog 00009 { 00010 Q_OBJECT 00011 public: 00012 PruneListDialog(MainWin *mw, const char *name); 00013 public slots: 00014 void setNumber(int n) { nni->setValue(n); } 00015 void setNrPoints(int n) { setNumber(n); } 00016 int Apply() { return apply_clicked(); } 00017 private: 00018 KIntNumInput *nni; 00019 private slots: 00020 void saveSettings(); 00021 int apply_clicked(); 00022 }; 00023 00024 #endif // PRUNELISTDIALOG_H