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

KFile

  • sources
  • kde-4.14
  • kdelibs
  • kfile
knameandurlinputdialog.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 1998, 2008, 2009 David Faure <faure@kde.org>
3 
4  This library is free software; you can redistribute it and/or modify
5  it under the terms of the GNU Lesser General Public License as published by
6  the Free Software Foundation; either version 2 of the License or ( at
7  your option ) version 3 or, at the discretion of KDE e.V. ( which shall
8  act as a proxy as in section 14 of the GPLv3 ), any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef KNAMEANDURLINPUTDIALOG_H
22 #define KNAMEANDURLINPUTDIALOG_H
23 
24 #include <kfile_export.h>
25 #include <kdialog.h>
26 class KLineEdit;
27 class KUrlRequester;
28 class KNameAndUrlInputDialogPrivate;
29 
36 class KFILE_EXPORT KNameAndUrlInputDialog : public KDialog
37 {
38  Q_OBJECT
39 public:
46  KNameAndUrlInputDialog(const QString& nameLabel, const QString& urlLabel, const KUrl& startDir, QWidget *parent);
47 
51  virtual ~KNameAndUrlInputDialog();
52 
56  void setSuggestedName(const QString& name);
60  void setSuggestedUrl(const KUrl& url);
61 
66  QString name() const;
71  KUrl url() const;
72 
73 private:
74  Q_PRIVATE_SLOT(d, void _k_slotNameTextChanged(const QString&))
75  Q_PRIVATE_SLOT(d, void _k_slotURLTextChanged(const QString&))
76 
77  KNameAndUrlInputDialogPrivate* const d;
78 };
79 
80 #endif
kdialog.h
QWidget
KUrlRequester
name
const char * name(StandardAction id)
KDialog
KUrl
KNameAndUrlInputDialog
Dialog to ask for a name (e.g.
Definition: knameandurlinputdialog.h:36
QObject::name
const char * name() const
QString
KLineEdit
kfile_export.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KFile

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

kdelibs API Reference

Skip menu "kdelibs 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

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