KDevelop API Documentation

ChooseTargetDialog Class Reference

#include <choosetargetdialog.h>

Inheritance diagram for ChooseTargetDialog:

Inheritance graph
[legend]
Collaboration diagram for ChooseTargetDialog:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ChooseTargetDialog (AutoProjectWidget *widget, AutoProjectPart *part, QStringList fileList, QWidget *parent=0, const char *name=0)
 ~ChooseTargetDialog ()
TargetItemchoosenTarget ()
SubprojectItemchoosenSubproject ()

Protected Member Functions

virtual void accept ()

Private Slots

void slotActiveTargetToggled (bool)
void slotChooseTargetToggled (bool)
void slotSubprojectChanged (const QString &)
void slotTargetChanged (const QString &)
void slotSubprojectTextChanged (const QString &)
void slotTargetTextChanged (const QString &)

Private Attributes

AutoProjectWidgetm_widget
AutoProjectPartm_part
QStringList m_fileList
QPtrList< SubprojectItemm_subprojectList
SubprojectItemm_choosenSubproject
TargetItemm_choosenTarget

Constructor & Destructor Documentation

ChooseTargetDialog::ChooseTargetDialog AutoProjectWidget widget,
AutoProjectPart part,
QStringList  fileList,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 46 of file choosetargetdialog.cpp.

References AutoProjectWidget::activeSubproject(), AutoProjectWidget::activeTarget(), AutoProjectWidget::allSubprojectItems(), m_choosenSubproject, m_choosenTarget, m_fileList, m_part, m_subprojectList, m_widget, TargetItem::name, SubprojectItem::path, TargetItem::primary, AutoProjectPart::projectDirectory(), KComboBox::setAutoCompletion(), KComboBox::setCurrentItem(), slotActiveTargetToggled(), slotChooseTargetToggled(), slotSubprojectChanged(), slotTargetChanged(), SubprojectItem::subdir, and SubprojectItem::targets.

ChooseTargetDialog::~ChooseTargetDialog  ) 
 

Definition at line 133 of file choosetargetdialog.cpp.


Member Function Documentation

void ChooseTargetDialog::accept  )  [protected, virtual]
 

a quick hack to prevent adding header files to _SOURCES and display them in noinst_HEADERS

Definition at line 249 of file choosetargetdialog.cpp.

References AutoProjectWidget::activeSubproject(), AutoProjectWidget::activeTarget(), AutoProjectTool::canonicalize(), AutoProjectWidget::createFileItem(), AutoProjectWidget::emitAddedFiles(), KMessageBox::error(), AutoSubprojectView::findNoinstHeaders(), AutoProjectWidget::getSubprojectView(), AutoProjectPrivate::isHeader(), kdDebug(), m_choosenSubproject, m_choosenTarget, m_fileList, m_part, m_widget, AutoProjectTool::modifyMakefileam(), TargetItem::name, FileItem::name, SubprojectItem::path, TargetItem::primary, AutoProjectPart::projectDirectory(), KShellProcess::quote(), TargetItem::sources, KShellProcess::start(), SubprojectItem::subdir, and SubprojectItem::variables.

SubprojectItem * ChooseTargetDialog::choosenSubproject  ) 
 

Definition at line 357 of file choosetargetdialog.cpp.

TargetItem * ChooseTargetDialog::choosenTarget  ) 
 

Definition at line 352 of file choosetargetdialog.cpp.

void ChooseTargetDialog::slotActiveTargetToggled bool   )  [private, virtual, slot]
 

Reimplemented from ChooseTargetDlgBase.

Definition at line 213 of file choosetargetdialog.cpp.

Referenced by ChooseTargetDialog().

void ChooseTargetDialog::slotChooseTargetToggled bool   )  [private, virtual, slot]
 

Reimplemented from ChooseTargetDlgBase.

Definition at line 231 of file choosetargetdialog.cpp.

Referenced by ChooseTargetDialog().

void ChooseTargetDialog::slotSubprojectChanged const QString  )  [private, virtual, slot]
 

Reimplemented from ChooseTargetDlgBase.

Definition at line 137 of file choosetargetdialog.cpp.

References AutoProjectWidget::activeTarget(), m_choosenSubproject, m_choosenTarget, m_part, m_subprojectList, m_widget, TargetItem::name, SubprojectItem::path, TargetItem::primary, AutoProjectPart::projectDirectory(), KComboBox::setCurrentItem(), SubprojectItem::subdir, and SubprojectItem::targets.

Referenced by ChooseTargetDialog().

void ChooseTargetDialog::slotSubprojectTextChanged const QString  )  [private, slot]
 

Definition at line 362 of file choosetargetdialog.cpp.

References text().

void ChooseTargetDialog::slotTargetChanged const QString  )  [private, virtual, slot]
 

Reimplemented from ChooseTargetDlgBase.

Definition at line 194 of file choosetargetdialog.cpp.

References m_choosenSubproject, m_choosenTarget, m_part, TargetItem::name, SubprojectItem::path, AutoProjectPart::projectDirectory(), and SubprojectItem::targets.

Referenced by ChooseTargetDialog().

void ChooseTargetDialog::slotTargetTextChanged const QString  )  [private, slot]
 


Member Data Documentation

SubprojectItem* ChooseTargetDialog::m_choosenSubproject [private]
 

Definition at line 41 of file choosetargetdialog.h.

Referenced by accept(), ChooseTargetDialog(), slotSubprojectChanged(), and slotTargetChanged().

TargetItem* ChooseTargetDialog::m_choosenTarget [private]
 

Definition at line 42 of file choosetargetdialog.h.

Referenced by accept(), ChooseTargetDialog(), slotSubprojectChanged(), and slotTargetChanged().

QStringList ChooseTargetDialog::m_fileList [private]
 

Definition at line 39 of file choosetargetdialog.h.

Referenced by accept(), and ChooseTargetDialog().

AutoProjectPart* ChooseTargetDialog::m_part [private]
 

Definition at line 38 of file choosetargetdialog.h.

Referenced by accept(), ChooseTargetDialog(), slotSubprojectChanged(), and slotTargetChanged().

QPtrList<SubprojectItem> ChooseTargetDialog::m_subprojectList [private]
 

Definition at line 40 of file choosetargetdialog.h.

Referenced by ChooseTargetDialog(), and slotSubprojectChanged().

AutoProjectWidget* ChooseTargetDialog::m_widget [private]
 

Definition at line 37 of file choosetargetdialog.h.

Referenced by accept(), ChooseTargetDialog(), and slotSubprojectChanged().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:37:46 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003