KDE 4.5 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

KAbstractFileModule Class Reference

from PyKDE4.kio import *

Inherits: QObject

Detailed Description

Interface to the module that contains the file widget.

libkfilemodule returns an object that derives from KAbstractFileModule.

This is internal to KFileDialog.


Methods

 __init__ (self, QObject parent)
QWidget createFileWidget (self, KUrl startDir, QWidget parent)
KUrl getStartUrl (self, KUrl startDir, QString recentDirClass)
KUrl selectDirectory (self, KUrl startDir, bool localOnly, QWidget parent, QString caption)
 setStartDir (self, KUrl directory)

Method Documentation

__init__ (  self,
QObject  parent
)
QWidget createFileWidget (  self,
KUrl  startDir,
QWidget  parent
)
Abstract method:
This method is abstract and can be overridden but not called directly.
KUrl getStartUrl (  self,
KUrl  startDir,
QString  recentDirClass
)
Abstract method:
This method is abstract and can be overridden but not called directly.
KUrl selectDirectory (  self,
KUrl  startDir,
bool  localOnly,
QWidget  parent,
QString  caption
)
Abstract method:
This method is abstract and can be overridden but not called directly.

Creates a modal file dialog and returns the selected directory or an empty string if none was chosen.

setStartDir (  self,
KUrl  directory
)
Abstract method:
This method is abstract and can be overridden but not called directly.
  • Full Index

Modules

  • akonadi
  • dnssd
  • kdecore
  • kdeui
  • khtml
  • kio
  • knewstuff
  • kparts
  • kutils
  • nepomuk
  • phonon
  • plasma
  • polkitqt
  • solid
  • soprano
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal