KDevelop API Documentation

CloserPart Class Reference

Part for closing selected windows. More...

#include <closer_part.h>

Inheritance diagram for CloserPart:

KDevPlugin QObject KXMLGUIClient List of all members.

Public Slots

void openDialog ()

Public Member Functions

 CloserPart (QObject *parent, const char *name, const QStringList &)
 ~CloserPart ()

Private Member Functions

KURL::List openFiles ()
void closeFiles (KURL::List const &fileList)
KParts::ReadOnlyPartpartForURL (KURL const &url)

Detailed Description

Part for closing selected windows.

This is a very simple plugin, the only purpose of which is to display a dialog showing the currenly open files and offering to close them.

Author(s):
Jens Dagerbo aka teatime

Definition at line 21 of file closer_part.h.


Constructor & Destructor Documentation

CloserPart::CloserPart QObject parent,
const char *  name,
const QStringList
 

CloserPart::~CloserPart  ) 
 

Definition at line 50 of file closer_part.cpp.


Member Function Documentation

void CloserPart::closeFiles KURL::List const &  fileList  )  [private]
 

Definition at line 80 of file closer_part.cpp.

References closeFiles(), KDevPartController::closePartForWidget(), KDevPlugin::partController(), partForURL(), and KParts::Part::widget().

Referenced by closeFiles(), and openDialog().

void CloserPart::openDialog  )  [slot]
 

Definition at line 53 of file closer_part.cpp.

References closeFiles(), CloserDialogImpl::getCheckedFiles(), and openFiles().

KURL::List CloserPart::openFiles  )  [private]
 

Definition at line 62 of file closer_part.cpp.

References KDevPlugin::partController(), KParts::PartManager::parts(), and KParts::ReadOnlyPart::url().

Referenced by openDialog().

KParts::ReadOnlyPart * CloserPart::partForURL KURL const &  url  )  [private]
 

Definition at line 94 of file closer_part.cpp.

References KDevPlugin::partController(), and KParts::ReadOnlyPart::url().


The documentation for this class was generated from the following files:
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:39:21 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003