KDevelop API Documentation

buildtools/qmake/filepropertydlg.h

Go to the documentation of this file.
00001 /*************************************************************************** 00002 * Copyright (C) 2002 by Jakob Simon-Gaarde * 00003 * jsgaarde@tdcspace.dk * 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 FILEPROPERTYDLG_H 00013 #define FILEPROPERTYDLG_H 00014 00015 #include "trollprojectwidget.h" 00016 #include "filepropertybase.h" 00017 00018 class QCheckListItem; 00019 class QListViewItem; 00020 class FilePropertyBase; 00021 class FileItem; 00022 class SubqmakeprojectItem; 00023 class GroupItem; 00024 00025 class ScopeItem : public QCheckListItem 00026 { 00027 public: 00028 ScopeItem(QCheckListItem *parent,const QString &text,QStringList *excludeList,bool initialMode); 00029 ScopeItem(QListView *parent,const QString &text,QStringList *excludeList,bool initialMode); 00030 QString& getScopeString() {return m_scopeString;} 00031 void setScopeString(const QString &scopeString) {m_scopeString = scopeString;} 00032 void excludeFromScope(const QString &fileName,bool b); 00033 bool isDirty(); 00034 00035 private: 00036 QStringList *m_excludeList; // pointer all the way into the right SubqmakeprojectItem excludelist 00037 QString m_scopeString; 00038 bool m_initialMode; 00039 }; 00040 00041 class FilePropertyDlg : public FilePropertyBase 00042 { 00043 public: 00044 FilePropertyDlg(SubqmakeprojectItem *spitem, int grtype,FileItem *fitem, 00045 QStringList &dirtyScopes,QWidget *parent=0, 00046 const char* name = 0,bool modal = FALSE, WFlags fl = 0); 00047 00048 private: 00049 void createScopeTree(SubqmakeprojectItem *spitem,ScopeItem *sitem=0); 00050 GroupItem* getInstallRoot(SubqmakeprojectItem *spitem); 00051 GroupItem* getInstallObject(SubqmakeprojectItem *spitem,const QString& objectname); 00052 QStringList* getExcludeList(SubqmakeprojectItem *spitem); 00053 QStringList getExcludedScopes(ScopeItem *sitem=0); 00054 FileItem *m_fileItem; 00055 SubqmakeprojectItem *m_subProjectItem; 00056 QStringList &m_dirtyScopes; 00057 QStringList m_dummy; 00058 QString m_installObjectName; 00059 int m_gtype; 00060 00061 public slots: 00062 virtual void updateFileProperties(); 00063 }; 00064 00065 #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:55 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003