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

KIO

Public Member Functions | List of all members
KAbstractFileModule Class Referenceabstract

#include <kabstractfilemodule.h>

Inheritance diagram for KAbstractFileModule:
QObject

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.

Definition at line 35 of file kabstractfilemodule.h.

Constructor & Destructor Documentation

◆ KAbstractFileModule()

KAbstractFileModule::KAbstractFileModule ( QObject *  parent)

Definition at line 22 of file kabstractfilemodule.cpp.

Member Function Documentation

◆ createFileWidget()

virtual QWidget * KAbstractFileModule::createFileWidget ( const KUrl &  startDir,
QWidget *  parent 
)
pure virtual

the returned widget implements the KAbstractFileWidget interface

◆ getStartUrl()

virtual KUrl KAbstractFileModule::getStartUrl ( const KUrl &  startDir,
QString &  recentDirClass 
)
pure virtual

◆ selectDirectory()

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.

◆ setStartDir()

virtual void KAbstractFileModule::setStartDir ( const KUrl &  directory)
pure virtual

The documentation for this class was generated from the following files:
  • kabstractfilemodule.h
  • kabstractfilemodule.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • 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
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal