buildtools/autotools/addservicedlg.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 _ADDSERVICEDLG_H_ 00013 #define _ADDSERVICEDLG_H_ 00014 00015 #include "addservicedlgbase.h" 00016 00017 class AutoProjectWidget; 00018 class SubprojectItem; 00019 class TargetItem; 00020 00021 00022 class AddServiceDialog : public AddServiceDialogBase 00023 { 00024 Q_OBJECT 00025 00026 public: 00027 AddServiceDialog( AutoProjectWidget *widget, SubprojectItem *spitem, 00028 QWidget *parent=0, const char *name=0 ); 00029 ~AddServiceDialog(); 00030 00031 protected: 00032 virtual void iconClicked(); 00033 virtual void addTypeClicked(); 00034 virtual void removeTypeClicked(); 00035 virtual void propertyExecuted(QListViewItem *item); 00036 virtual void accept(); 00037 00038 private: 00039 void updateProperties(); 00040 00041 AutoProjectWidget *m_widget; 00042 SubprojectItem *subProject; 00043 QString iconName; 00044 }; 00045 00046 #endif