libkonq
#include <konq_nameandurlinputdialog.h>

Public Member Functions | |
| KonqNameAndUrlInputDialog (const QString &nameLabel, const QString &urlLabel, const KUrl &startDir, QWidget *parent) | |
| virtual | ~KonqNameAndUrlInputDialog () |
| QString | name () const |
| void | setSuggestedName (const QString &name) |
| void | setSuggestedUrl (const KUrl &url) |
| KUrl | url () const |
Detailed Description
Dialog to ask for a name (e.g.
filename) and a URL Basically a merge of KLineEditDlg and KUrlRequesterDlg ;)
- Since
- 4.4
- Deprecated:
- since 4.5, use KNameAndUrlInputDialog from kdelibs/kfile instead.
Definition at line 39 of file konq_nameandurlinputdialog.h.
Constructor & Destructor Documentation
| KonqNameAndUrlInputDialog::KonqNameAndUrlInputDialog | ( | const QString & | nameLabel, |
| const QString & | urlLabel, | ||
| const KUrl & | startDir, | ||
| QWidget * | parent | ||
| ) |
- Parameters
-
nameLabel label for the name field urlLabel label for the URL requester startDir start directory for the URL requester (optional) parent parent widget
Definition at line 53 of file konq_nameandurlinputdialog.cpp.
|
virtual |
Destructor.
Definition at line 95 of file konq_nameandurlinputdialog.cpp.
Member Function Documentation
| QString KonqNameAndUrlInputDialog::name | ( | ) | const |
- Returns
- the name the user entered Empty if the dialog was cancelled.
Definition at line 109 of file konq_nameandurlinputdialog.cpp.
| void KonqNameAndUrlInputDialog::setSuggestedName | ( | const QString & | name | ) |
Pre-fill the name lineedit.
Definition at line 146 of file konq_nameandurlinputdialog.cpp.
| void KonqNameAndUrlInputDialog::setSuggestedUrl | ( | const KUrl & | url | ) |
Pre-fill the URL requester.
Definition at line 152 of file konq_nameandurlinputdialog.cpp.
| KUrl KonqNameAndUrlInputDialog::url | ( | ) | const |
- Returns
- the URL the user entered Empty if the dialog was cancelled.
Definition at line 100 of file konq_nameandurlinputdialog.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:07:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference