parts/appwizard/appwizardpart.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2001 by Bernd Gehrmann * 00003 * bernd@kdevelop.org * 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 ***************************************************************************/ 00011 00012 #ifndef _APPWIZARDPART_H_ 00013 #define _APPWIZARDPART_H_ 00014 00015 #include <qguardedptr.h> 00016 #include "kdevplugin.h" 00017 #include <qstring.h> 00018 #include <qstringlist.h> 00019 00020 class AppWizardDialog; 00021 00022 00023 class AppWizardPart : public KDevPlugin 00024 { 00025 Q_OBJECT 00026 00027 public: 00028 AppWizardPart( QObject *parent, const char *name, const QStringList & ); 00029 ~AppWizardPart(); 00030 00031 private slots: 00032 void slotNewProject(); 00033 void slotImportProject(); 00034 void slotCommandFinished(const QString &command); 00035 00036 private: 00038 void openSpecifiedFiles(); 00039 AppWizardDialog *m_dialog; 00040 QStringList m_openFilesAfterGeneration; 00041 QString m_creationCommand; 00042 QString m_projectFileName; 00043 QString m_projectLocation; 00044 }; 00045 00046 #endif