00001 //LabPlot : ImportDialog.h 00002 00003 #ifndef IMPORTDIALOG_H 00004 #define IMPORTDIALOG_H 00005 00006 #include "Dialog.h" 00007 00009 class ImportDialog: public Dialog 00010 { 00011 Q_OBJECT 00012 public: 00013 ImportDialog(MainWin *mw, QString filename="", const char *name=0); 00014 private slots : 00015 int agree(); 00016 public slots : 00017 void OK() { if (!agree()) accept(); } 00018 }; 00019 #endif //IMPORTDIALOG_H