kdevcustomimporter.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Alexander Dymo * 00003 * cloudtemple@mksat.net * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 ***************************************************************************/ 00010 #ifndef KDEVCUSTOMIMPORTER_H 00011 #define KDEVCUSTOMIMPORTER_H 00012 00013 #include "kdevpcsimporter.h" 00014 00015 #include <qguardedptr.h> 00016 00017 class SettingsDialog; 00018 00019 class KDevCustomImporter : public KDevPCSImporter 00020 { 00021 Q_OBJECT 00022 public: 00023 KDevCustomImporter(QObject* parent = 0, const char* name = 0, const QStringList &args = QStringList()); 00024 00025 ~KDevCustomImporter(); 00026 00027 virtual QString dbName() const; 00028 virtual QStringList fileList(); 00029 virtual QStringList includePaths(); 00030 virtual QWidget* createSettingsPage(QWidget* parent, const char* name); 00031 00032 protected: 00033 QStringList fileList( const QString& path ); 00034 void processDir(const QString path, QStringList &files ); 00035 00036 private: 00037 QGuardedPtr<SettingsDialog> m_settings; 00038 }; 00039 00040 #endif