• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

libkonq

Public Member Functions | List of all members
KonqNameAndUrlInputDialog Class Reference

#include <konq_nameandurlinputdialog.h>

Inheritance diagram for KonqNameAndUrlInputDialog:
Inheritance graph
[legend]

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
Author
David Faure faure.nosp@m.@kde.nosp@m..org
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
nameLabellabel for the name field
urlLabellabel for the URL requester
startDirstart directory for the URL requester (optional)
parentparent widget

Definition at line 53 of file konq_nameandurlinputdialog.cpp.

KonqNameAndUrlInputDialog::~KonqNameAndUrlInputDialog ( )
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:
  • konq_nameandurlinputdialog.h
  • konq_nameandurlinputdialog.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkonq

Skip menu "libkonq"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Applications
  •   Libraries
  •     libkonq
  • Konsole

Search



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