• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdefile
 

tdeio/tdefile

Public Member Functions | Static Public Member Functions | List of all members
KURLRequesterDlg Class Reference

#include <kurlrequesterdlg.h>

Inherits KDialogBase.

Public Member Functions

 KURLRequesterDlg (const TQString &url, TQWidget *parent, const char *name, bool modal=true)
 
 KURLRequesterDlg (const TQString &url, const TQString &text, TQWidget *parent, const char *name, bool modal=true)
 
 ~KURLRequesterDlg ()
 
KURL selectedURL () const
 
KFileDialog * fileDialog ()
 
KURLRequester * urlRequester ()
 

Static Public Member Functions

static KURL getURL (const TQString &url=TQString::null, TQWidget *parent=0, const TQString &caption=TQString::null)
 

Detailed Description

Dialog in which a user can enter a filename or url.

It is a dialog encapsulating KURLRequester. The API is derived from KFileDialog.

Simple dialog to enter a filename/url.

Author
Wilco Greven greve.nosp@m.n@kd.nosp@m.e.org

Definition at line 38 of file kurlrequesterdlg.h.

Constructor & Destructor Documentation

◆ KURLRequesterDlg() [1/2]

KURLRequesterDlg::KURLRequesterDlg ( const TQString &  url,
TQWidget *  parent,
const char *  name,
bool  modal = true 
)

Constructs a KURLRequesterDlg.

Parameters
urlThe url of the directory to start in. Use TQString::null to start in the current working directory, or the last directory where a file has been selected.
parentThe parent object of this widget.
nameThe name of this widget.
modalSpecifies whether the dialog should be opened as modal or not.

Definition at line 42 of file kurlrequesterdlg.cpp.

◆ KURLRequesterDlg() [2/2]

KURLRequesterDlg::KURLRequesterDlg ( const TQString &  url,
const TQString &  text,
TQWidget *  parent,
const char *  name,
bool  modal = true 
)

Constructs a KURLRequesterDlg.

Parameters
urlThe url of the directory to start in. Use TQString::null to start in the current working directory, or the last directory where a file has been selected.
textText of the label
parentThe parent object of this widget.
nameThe name of this widget.
modalSpecifies whether the dialog should be opened as modal or not.

Definition at line 50 of file kurlrequesterdlg.cpp.

◆ ~KURLRequesterDlg()

KURLRequesterDlg::~KURLRequesterDlg ( )

Destructs the dialog.

Definition at line 57 of file kurlrequesterdlg.cpp.

Member Function Documentation

◆ fileDialog()

KFileDialog * KURLRequesterDlg::fileDialog ( )

Returns a pointer to the file dialog used by the KURLRequester.

Definition at line 123 of file kurlrequesterdlg.cpp.

◆ getURL()

KURL KURLRequesterDlg::getURL ( const TQString &  url = TQString::null,
TQWidget *  parent = 0,
const TQString &  caption = TQString::null 
)
static

Creates a modal dialog, executes it and returns the selected URL.

Parameters
urlThis specifies the initial path of the input line.
parentThe widget the dialog will be centered on initially.
captionThe caption to use for the dialog.

Definition at line 107 of file kurlrequesterdlg.cpp.

◆ selectedURL()

KURL KURLRequesterDlg::selectedURL ( ) const

Returns the fully qualified filename.

Definition at line 98 of file kurlrequesterdlg.cpp.

◆ urlRequester()

KURLRequester * KURLRequesterDlg::urlRequester ( )

Returns a pointer to the KURLRequester.

Definition at line 128 of file kurlrequesterdlg.cpp.


The documentation for this class was generated from the following files:
  • kurlrequesterdlg.h
  • kurlrequesterdlg.cpp

tdeio/tdefile

Skip menu "tdeio/tdefile"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdeio/tdefile

Skip menu "tdeio/tdefile"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdefile by doxygen 1.9.4
This website is maintained by Timothy Pearson.