KDevelop API Documentation

BugList Class Reference

#include <buglist.h>

Inheritance diagram for BugList:

Inheritance graph
[legend]
Collaboration diagram for BugList:

Collaboration graph
[legend]
List of all members.

Public Slots

void slotCloseClicked ()
void slotCancelClicked ()

Signals

void signalDeactivate ()

Public Member Functions

 BugList (QWidget *parent, const char *name, QString FileName, QString Initials, QString UserName, QString UserEMail)
 ~BugList ()
void resizeEvent (QResizeEvent *)
void ParseFile ()
void WriteXMLFile ()
 Write out an XML file from our dictionary object.
void InsertBug (Bug *)

Public Attributes

QString m_FileName
QString m_Initials
QString m_UserName
QString m_UserEMail

Protected Attributes

QListViewpMainBugList
QDict< BugBugDictionary
QDict< BugCounterDevelopers

Private Slots

void slotAddClicked ()
void slotEditClicked ()
void slotListDoubleClicked (QListViewItem *)
void slotRemoveClicked ()
void slotCompletedClicked ()
void slotAddBug (Bug *)
void slotUpdateBug (Bug *)
void slotFilter ()
void slotOwnership ()

Private Attributes

QHBoxpExitBox
QHBoxpMaintenanceBox
QHBoxpBugListBox
int MyCounter
bool Dirty

Constructor & Destructor Documentation

BugList::BugList QWidget parent,
const char *  name,
QString  FileName,
QString  Initials,
QString  UserName,
QString  UserEMail
 

Definition at line 41 of file buglist.cpp.

References BugDictionary, Developers, Dirty, BugCounter::Initials, BugCounter::LastBugNumber, m_FileName, m_Initials, m_UserEMail, m_UserName, ParseFile(), pBugListBox, pExitBox, pMainBugList, pMaintenanceBox, slotAddClicked(), slotCancelClicked(), slotCloseClicked(), slotCompletedClicked(), slotEditClicked(), slotFilter(), slotListDoubleClicked(), slotOwnership(), and slotRemoveClicked().

BugList::~BugList  ) 
 

Definition at line 163 of file buglist.cpp.


Member Function Documentation

void BugList::InsertBug Bug  ) 
 

Definition at line 516 of file buglist.cpp.

References Bug::AssignedTo, BugDictionary, Bug::BugID, Bug::Description, Bug::Package, pMainBugList, Bug::Priority, Bug::ReportDate, and Bug::Severity.

Referenced by StructureParser::endElement(), ParseFile(), and slotAddBug().

void BugList::ParseFile  ) 
 

Definition at line 168 of file buglist.cpp.

References Bug::AssignedDate, Bug::AssignedEMail, Bug::AssignedTo, Bug::BugClass, Bug::BugID, Bug::Description, Developers, file, Bug::FixScheduled, BugCounter::Initials, InsertBug(), kdDebug(), BugCounter::LastBugNumber, Bug::Location, m_FileName, Bug::Notes, Bug::Package, Bug::Priority, Bug::Repeat, Bug::ReportDate, Bug::ReportEMail, Bug::ReportUserName, Bug::Severity, Bug::SysInfo, Bug::VersionNo, and Bug::Workaround.

Referenced by BugList().

void BugList::resizeEvent QResizeEvent  ) 
 

Definition at line 780 of file buglist.cpp.

References pBugListBox, pExitBox, and pMaintenanceBox.

void BugList::signalDeactivate  )  [signal]
 

Referenced by slotCancelClicked(), and slotCloseClicked().

void BugList::slotAddBug Bug  )  [private, slot]
 

Definition at line 545 of file buglist.cpp.

References Dirty, and InsertBug().

Referenced by slotAddClicked().

void BugList::slotAddClicked  )  [private, slot]
 

Definition at line 592 of file buglist.cpp.

References Bug::BugID, Developers, BugCounter::GetNextID(), BugCounter::Initials, BugCounter::LastBugNumber, and slotAddBug().

Referenced by BugList().

void BugList::slotCancelClicked  )  [slot]
 

Definition at line 755 of file buglist.cpp.

References signalDeactivate().

Referenced by BugList().

void BugList::slotCloseClicked  )  [slot]
 

Definition at line 722 of file buglist.cpp.

References signalDeactivate(), and WriteXMLFile().

Referenced by BugList(), and BugListComponent::slotProjectSpaceClosed().

void BugList::slotCompletedClicked  )  [private, slot]
 

Definition at line 702 of file buglist.cpp.

References BugDictionary, Dirty, and pMainBugList.

Referenced by BugList().

void BugList::slotEditClicked  )  [private, slot]
 

Definition at line 635 of file buglist.cpp.

References BugDictionary, pMainBugList, and slotUpdateBug().

Referenced by BugList(), and slotListDoubleClicked().

void BugList::slotFilter  )  [private, slot]
 

Definition at line 795 of file buglist.cpp.

Referenced by BugList().

void BugList::slotListDoubleClicked QListViewItem  )  [private, slot]
 

Definition at line 660 of file buglist.cpp.

References slotEditClicked().

Referenced by BugList().

void BugList::slotOwnership  )  [private, slot]
 

Definition at line 803 of file buglist.cpp.

References Bug::AssignedDate, Bug::AssignedEMail, Bug::AssignedTo, BugDictionary, pMainBugList, and slotUpdateBug().

Referenced by BugList().

void BugList::slotRemoveClicked  )  [private, slot]
 

Definition at line 668 of file buglist.cpp.

References BugDictionary, Dirty, and pMainBugList.

Referenced by BugList().

void BugList::slotUpdateBug Bug  )  [private, slot]
 

Definition at line 555 of file buglist.cpp.

References Bug::AssignedTo, Bug::Description, Dirty, LST_AGE, LST_ASSIGNEDTO, LST_DESC, LST_PACKAGE, LST_PRIORITY, LST_SEVERITY, Bug::Package, pMainBugList, Bug::Priority, Bug::ReportDate, and Bug::Severity.

Referenced by slotEditClicked(), and slotOwnership().

void BugList::WriteXMLFile  ) 
 

Write out an XML file from our dictionary object.

Because the dictionary objects aren't sorted, I have to do a sort on their indexes before writing out the data. The reason for this is to give CVS a fighting chance of merging the file changes everyone makes.

Definition at line 313 of file buglist.cpp.

References Bug::AssignedDate, Bug::AssignedEMail, Bug::AssignedTo, Bug::BugClass, BugDictionary, Bug::BugID, Bug::Description, Developers, file, Bug::FixScheduled, BugCounter::Initials, BugCounter::LastBugNumber, Bug::Location, m_FileName, Bug::Notes, Bug::Package, Bug::Priority, Bug::Repeat, Bug::ReportDate, Bug::ReportEMail, Bug::ReportUserName, s, Bug::Severity, Bug::SysInfo, Bug::VersionNo, and Bug::Workaround.

Referenced by slotCloseClicked().


Member Data Documentation

QDict<Bug> BugList::BugDictionary [protected]
 

Definition at line 78 of file buglist.h.

Referenced by BugList(), InsertBug(), slotCompletedClicked(), slotEditClicked(), slotOwnership(), slotRemoveClicked(), and WriteXMLFile().

QDict<BugCounter> BugList::Developers [protected]
 

Definition at line 79 of file buglist.h.

Referenced by StructureParser::AddDeveloper(), BugList(), ParseFile(), slotAddClicked(), and WriteXMLFile().

bool BugList::Dirty [private]
 

Definition at line 86 of file buglist.h.

Referenced by BugList(), slotAddBug(), slotCompletedClicked(), slotRemoveClicked(), and slotUpdateBug().

QString BugList::m_FileName
 

Definition at line 90 of file buglist.h.

Referenced by BugList(), ParseFile(), BugListComponent::slotProjectSpaceOpened(), and WriteXMLFile().

QString BugList::m_Initials
 

Definition at line 91 of file buglist.h.

Referenced by BugList(), and BugListComponent::slotProjectSpaceOpened().

QString BugList::m_UserEMail
 

Definition at line 93 of file buglist.h.

Referenced by BugList(), and BugListComponent::slotProjectSpaceOpened().

QString BugList::m_UserName
 

Definition at line 92 of file buglist.h.

Referenced by BugList(), and BugListComponent::slotProjectSpaceOpened().

int BugList::MyCounter [private]
 

Definition at line 85 of file buglist.h.

QHBox* BugList::pBugListBox [private]
 

Definition at line 84 of file buglist.h.

Referenced by BugList(), and resizeEvent().

QHBox* BugList::pExitBox [private]
 

Definition at line 82 of file buglist.h.

Referenced by BugList(), and resizeEvent().

QListView* BugList::pMainBugList [protected]
 

Definition at line 77 of file buglist.h.

Referenced by BugList(), InsertBug(), slotCompletedClicked(), slotEditClicked(), slotOwnership(), slotRemoveClicked(), slotUpdateBug(), and StructureParser::startDocument().

QHBox* BugList::pMaintenanceBox [private]
 

Definition at line 83 of file buglist.h.

Referenced by BugList(), and resizeEvent().


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:19 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003