KDevelop API Documentation

buildtools/autotools/autodetailsview.h

Go to the documentation of this file.
00001 /*************************************************************************** 00002 ------------------- 00003 begin : 19.01.2003 00004 copyright : (C) 2002 by Victor Rder 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 AUTODETAILSVIEW_H 00018 #define AUTODETAILSVIEW_H 00019 00020 #include <qwidget.h> 00021 00022 #include <klistview.h> 00023 00024 #include "domutil.h" 00025 00026 class KAction; 00027 00028 class AutoProjectPart; 00029 class AutoProjectWidget; 00030 00031 class AutoDetailsView : public KListView 00032 { 00033 friend class RemoveFileDialog; 00034 Q_OBJECT 00035 00036 public: 00037 AutoDetailsView(AutoProjectWidget* widget, AutoProjectPart* part, QWidget *parent, const char *name); 00038 virtual ~AutoDetailsView(); 00039 00040 QString getUiFileLink(const QString &path, const QString& filename); 00041 00042 protected: 00043 void initActions (); 00044 00045 private slots: 00046 void slotDetailsExecuted(QListViewItem *item); 00047 void slotDetailsContextMenu(KListView *, QListViewItem *item, const QPoint &p); 00048 00049 void slotTargetOptions (); 00050 void slotAddNewFile(); 00051 void slotAddExistingFile(); 00052 void slotAddIcon(); 00053 void slotBuildTarget(); 00054 void slotRemoveDetail(); 00055 void slotSetActiveTarget(); 00056 00057 private: 00058 AutoProjectWidget* m_widget; 00059 AutoProjectPart* m_part; 00060 00061 DomUtil::PairList m_subclasslist; 00062 00063 KAction* targetOptionsAction; 00064 KAction* addNewFileAction; 00065 KAction* addExistingFileAction; 00066 KAction* addIconAction; 00067 KAction* buildTargetAction; 00068 KAction* setActiveTargetAction; 00069 KAction* removeDetailAction; 00070 00071 }; 00072 00073 #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 Tue Oct 19 08:01:36 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003