KAbstractFileModule Class Reference
#include <kabstractfilemodule.h>
Inheritance diagram for KAbstractFileModule:

Public Member Functions | |
| KAbstractFileModule (QObject *parent) | |
| virtual QWidget * | createFileWidget (const KUrl &startDir, QWidget *parent)=0 |
| virtual KUrl | getStartUrl (const KUrl &startDir, QString &recentDirClass)=0 |
| virtual KUrl | selectDirectory (const KUrl &startDir, bool localOnly, QWidget *parent, const QString &caption)=0 |
| virtual void | setStartDir (const KUrl &directory)=0 |
Detailed Description
Interface to the module that contains the file widget.
libkfilemodule returns an object that derives from KAbstractFileModule.
This is internal to KFileDialog.
Constructor & Destructor Documentation
| KAbstractFileModule::KAbstractFileModule | ( | QObject * | parent | ) |
Definition at line 22 of file kabstractfilemodule.cpp.
Member Function Documentation
| virtual QWidget* KAbstractFileModule::createFileWidget | ( | const KUrl & | startDir, |
| QWidget * | parent | ||
| ) | [pure virtual] |
the returned widget implements the KAbstractFileWidget interface
| virtual KUrl KAbstractFileModule::getStartUrl | ( | const KUrl & | startDir, |
| QString & | recentDirClass | ||
| ) | [pure virtual] |
| virtual KUrl KAbstractFileModule::selectDirectory | ( | const KUrl & | startDir, |
| bool | localOnly, | ||
| QWidget * | parent, | ||
| const QString & | caption | ||
| ) | [pure virtual] |
Creates a modal file dialog and returns the selected directory or an empty string if none was chosen.
| virtual void KAbstractFileModule::setStartDir | ( | const KUrl & | directory | ) | [pure virtual] |
The documentation for this class was generated from the following files:
KDE 4.7 API Reference