• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kig

KigFileDialog Class Reference

#include <kigfiledialog.h>

Inheritance diagram for KigFileDialog:

Inheritance graph
[legend]

List of all members.


Detailed Description

This file dialog is pretty like KFileDialog, but allow us to make an option widget popup to the user.

Definition at line 27 of file kigfiledialog.h.


Public Member Functions

 KigFileDialog (const QString &startDir, const QString &filter, const QString &caption, QWidget *parent)
void setOptionCaption (const QString &caption)
void setOptionsWidget (QWidget *w)

Protected Slots

virtual void accept ()

Constructor & Destructor Documentation

KigFileDialog::KigFileDialog ( const QString &  startDir,
const QString &  filter,
const QString &  caption,
QWidget *  parent 
)

Construct a new KigFileDialog.

Parameters:
startDir the start dir of the file dialog. Consult the documentation of KFileDialog for more help about this
filter the filter for the file dialog
caption the caption of this file dialog
parent the parent for this file dialog

Definition at line 26 of file kigfiledialog.cc.


Member Function Documentation

void KigFileDialog::accept (  )  [protected, virtual, slot]

Definition at line 42 of file kigfiledialog.cc.

void KigFileDialog::setOptionCaption ( const QString &  caption  ) 

Set the caption of the option dialog.

Parameters:
caption the caption of the option dialog

Definition at line 75 of file kigfiledialog.cc.

void KigFileDialog::setOptionsWidget ( QWidget *  w  ) 

Use this to set the widget containing the options of eg an export filter.

The option widget will be popped up in a dialog right after the user presses OK and before the dialog is closed.

You can construct the option widget with no parent, as it will be reparented.

Parameters:
w the option widget

Definition at line 37 of file kigfiledialog.cc.


The documentation for this class was generated from the following files:
  • kigfiledialog.h
  • kigfiledialog.cc

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
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