00001 #ifndef importbibtex_h 00002 #define importbibtex_h 00003 #include "importbase.h" 00004 #include <qstring.h> 00005 #include <btparse.h> 00006 00007 class ImportFile; 00008 class QString; 00009 00010 class ImportBibTex: public ImportBase { 00011 00012 public: 00013 ImportBibTex(QWidget *parent); 00014 QWidget *customDlg(); 00015 int count(); 00016 void process(); 00017 00018 protected: 00019 int c; 00020 bool processFile(QString filename); 00021 QString extractComponent(char *comp, bt_name *name, int part, char *tail); 00022 void fillDict(AST * entry); 00023 ImportFile *view; 00024 }; 00025 #endif