KDevelop API Documentation

buildtools/autotools/autosubprojectview.h

Go to the documentation of this file.
00001 /*************************************************************************** 00002 ------------------- 00003 begin : 19.01.2003 00004 copyright : (C) 2002 by Victor Röder 00005 email : victor_roeder@gmx.de 00006 ***************************************************************************/ 00007 00008 /*************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 00017 #ifndef AUTOSUBPROJECTVIEW_H 00018 #define AUTOSUBPROJECTVIEW_H 00019 00020 #include <qwidget.h> 00021 00022 #include <klistview.h> 00023 00024 00025 class KAction; 00026 00027 class AutoProjectWidget; 00028 class AutoProjectPart; 00029 class TargetItem; 00030 class SubprojectItem; 00031 00032 namespace AutoProjectPrivate 00033 { 00034 bool isHeader( const QString& fileName ); 00035 } 00036 00037 00038 class AutoSubprojectView : public KListView 00039 { 00040 Q_OBJECT 00041 00042 public: 00043 AutoSubprojectView(AutoProjectWidget* widget, AutoProjectPart* part, QWidget *parent, const char *name); 00044 virtual ~AutoSubprojectView(); 00045 00046 public: 00047 void loadMakefileams ( const QString& dir ); 00048 00049 void parse(SubprojectItem *item); 00050 00051 TargetItem *findNoinstHeaders(SubprojectItem *item); 00052 00053 protected: 00054 void initActions (); 00055 00056 void parseKDEDOCS(SubprojectItem *item, 00057 const QString &lhs, const QString &rhs); 00058 void parseKDEICON(SubprojectItem *item, 00059 const QString &lhs, const QString &rhs); 00060 void parsePrimary(SubprojectItem *item, 00061 const QString &lhs, const QString &rhs); 00062 void parsePrefix(SubprojectItem *item, 00063 const QString &lhs, const QString &rhs); 00064 void parseSUBDIRS(SubprojectItem *item, 00065 const QString &lhs, const QString &rhs); 00066 00067 private: 00068 AutoProjectWidget* m_widget; 00069 AutoProjectPart* m_part; 00070 QStringList headers; 00071 00072 bool m_kdeMode; 00073 00074 KAction* addApplicationAction; 00075 KAction* subProjectOptionsAction; 00076 KAction* addSubprojectAction; 00077 KAction* addExistingSubprojectAction; 00078 KAction* addTargetAction; 00079 KAction* addServiceAction; 00080 KAction* buildSubprojectAction; 00081 KAction* removeSubprojectAction; 00082 KAction* cleanSubprojectAction; 00083 KAction* forceReeditSubprojectAction; 00084 KAction* installSubprojectAction; 00085 KAction* installSuSubprojectAction; 00086 00087 private slots: 00088 void slotContextMenu(KListView *, QListViewItem *item, const QPoint &p); 00089 // void slotSubprojectExecuted(QListViewItem* item); 00090 00091 void slotAddApplication(); 00092 void slotSubprojectOptions(); 00093 void slotAddSubproject(); 00094 void slotAddExistingSubproject(); 00095 void slotAddTarget(); 00096 void slotAddService(); 00097 void slotBuildSubproject(); 00098 void slotRemoveSubproject(); 00099 void slotForceReeditSubproject(); 00100 void slotInstallSubproject(); 00101 void slotInstallSuSubproject(); 00102 void slotCleanSubproject(); 00103 }; 00104 00105 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:38:53 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003