• Skip to content
  • Skip to link menu
KDE 4.7 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

KIO

Public Member Functions
KAbstractFileModule Class Reference

#include <kabstractfilemodule.h>

Inheritance diagram for KAbstractFileModule:
Inheritance graph
[legend]

List of all members.

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:
  • kabstractfilemodule.h
  • kabstractfilemodule.cpp

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal